Debian Codegraph @

gcc/config/avr/avr-modes.def

raw
1 /* Extra machine modes for AVR 8-bit microcontrollers.
2 Copyright (C) 2012-2025 Free Software Foundation, Inc.
3
4 This file is part of GCC.
5
6 GCC is free software; you can redistribute it and/or modify it under
7 the terms of the GNU General Public License as published by the Free
8 Software Foundation; either version 3, or (at your option) any later
9 version.
10
11 GCC is distributed in the hope that it will be useful, but WITHOUT ANY
12 WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with GCC; see the file COPYING3. If not see
18 <http://www.gnu.org/licenses/>. */
19
20 FRACTIONAL_INT_MODE (PSI, 24, 3);
21 INT_N (PSI, 24);
22
23 /* Used when the N (and Z) flag(s) of SREG are set.
24 The N flag indicates whether the value is negative.
25 The Z flag indicates whether the value is zero. */
26 CC_MODE (CCN);
27 CC_MODE (CCZN);
28
29 /* Make TA and UTA 64 bits wide.
30 128 bit wide modes would be insane on a 8-bit machine.
31 This needs special treatment in avr.cc and avr-lib.h. */
32
33 ADJUST_BYTESIZE (TA, 8);
34 ADJUST_ALIGNMENT (TA, 1);
35 ADJUST_IBIT (TA, 16);
36 ADJUST_FBIT (TA, 47);
37
38 ADJUST_BYTESIZE (UTA, 8);
39 ADJUST_ALIGNMENT (UTA, 1);
40 ADJUST_IBIT (UTA, 16);
41 ADJUST_FBIT (UTA, 48);