struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / cpp / gcc / insn-modes.h
blob80bcc1153611e7417149cccbb626b0fbaeda515e
1 #ifndef GCC_INSN_MODES_H
2 #define GCC_INSN_MODES_H
4 // sdcpp hacks
5 #define BITS_PER_UNIT 8
6 #define MAX_BITSIZE_MODE_ANY_INT (64*BITS_PER_UNIT)
7 #define NUM_INT_N_ENTS 1
10 enum machine_mode
12 E_VOIDmode, /* machmode.def:193 */
13 #define HAVE_VOIDmode
14 #ifdef USE_ENUM_MODES
15 #define VOIDmode E_VOIDmode
16 #else
17 #define VOIDmode ((void) 0, E_VOIDmode)
18 #endif
19 E_BLKmode, /* machmode.def:197 */
20 #define HAVE_BLKmode
21 #ifdef USE_ENUM_MODES
22 #define BLKmode E_BLKmode
23 #else
24 #define BLKmode ((void) 0, E_BLKmode)
25 #endif
26 MAX_MACHINE_MODE,
27 E_HFmode, /* config/i386/i386-modes.def:26 */
28 E_TFmode, /* config/i386/i386-modes.def:25 */
29 E_SDmode, /* machmode.def:271 */
30 E_TDmode, /* machmode.def:273 */
31 MIN_MODE_DECIMAL_FLOAT = E_SDmode,
32 MAX_MODE_DECIMAL_FLOAT = E_TDmode,
33 MIN_MODE_FLOAT = E_HFmode,
34 MAX_MODE_FLOAT = E_TFmode,
35 NUM_MACHINE_MODES = MAX_MACHINE_MODE
38 // sdcpp insn-modes ..
39 #define NUM_MODE_FLOAT (MAX_MODE_FLOAT - MIN_MODE_FLOAT + 1)
40 #define NUM_MODE_DECIMAL_FLOAT (MAX_MODE_DECIMAL_FLOAT - MIN_MODE_DECIMAL_FLOAT + 1)
43 #endif