wdenk | 4a55170 | 2003-10-08 23:26:14 +0000 | [diff] [blame] | 1 | #define BITS_PER_UNIT 8 |
| 2 | |
Wolfgang Denk | 53677ef | 2008-05-20 16:00:29 +0200 | [diff] [blame] | 3 | typedef int HItype __attribute__ ((mode (HI))); |
wdenk | 4a55170 | 2003-10-08 23:26:14 +0000 | [diff] [blame] | 4 | typedef unsigned int UHItype __attribute__ ((mode (HI))); |
| 5 | |
| 6 | typedef int SItype __attribute__ ((mode (SI))); |
| 7 | typedef unsigned int USItype __attribute__ ((mode (SI))); |
| 8 | |
| 9 | typedef int word_type __attribute__ ((mode (__word__))); |
| 10 | |
| 11 | struct SIstruct {HItype low, high;}; |
| 12 | |
| 13 | typedef union { |
| 14 | struct SIstruct s; |
| 15 | SItype ll; |
| 16 | } SIunion; |