Imported Upstream version 4.8.1
[platform/upstream/gcc48.git] / gcc / config / avr / avr-modes.def
1 /* Copyright (C) 2012-2013 Free Software Foundation, Inc.
2
3    This file is part of GCC.
4
5    GCC is free software; you can redistribute it and/or modify it under
6    the terms of the GNU General Public License as published by the Free
7    Software Foundation; either version 3, or (at your option) any later
8    version.
9
10    GCC is distributed in the hope that it will be useful, but WITHOUT ANY
11    WARRANTY; without even the implied warranty of MERCHANTABILITY or
12    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
13    for more details.
14
15    You should have received a copy of the GNU General Public License
16    along with GCC; see the file COPYING3.  If not see
17    <http://www.gnu.org/licenses/>.  */
18
19 FRACTIONAL_INT_MODE (PSI, 24, 3);
20
21 /* Make TA and UTA 64 bits wide.
22    128 bit wide modes would be insane on a 8-bit machine.
23    This needs special treatment in avr.c and avr-lib.h.  */
24
25 ADJUST_BYTESIZE  (TA, 8);
26 ADJUST_ALIGNMENT (TA, 1);
27 ADJUST_IBIT (TA, 16);
28 ADJUST_FBIT (TA, 47);
29
30 ADJUST_BYTESIZE  (UTA, 8);
31 ADJUST_ALIGNMENT (UTA, 1);
32 ADJUST_IBIT (UTA, 16);
33 ADJUST_FBIT (UTA, 48);