diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1992-01-04 17:39:21 -0500 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1992-01-04 17:39:21 -0500 |
commit | 4a39a91800be2599ec3358a6adc0066277f7ef24 (patch) | |
tree | 16d5374e1014656d7e03a1d1cb812832f6ffdc19 /gcc/machmode.h | |
parent | 6434da253184ad038fef9a6e90c25fe33f13fad9 (diff) | |
download | gcc-4a39a91800be2599ec3358a6adc0066277f7ef24.zip gcc-4a39a91800be2599ec3358a6adc0066277f7ef24.tar.gz gcc-4a39a91800be2599ec3358a6adc0066277f7ef24.tar.bz2 |
*** empty log message ***
From-SVN: r163
Diffstat (limited to 'gcc/machmode.h')
-rw-r--r-- | gcc/machmode.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/gcc/machmode.h b/gcc/machmode.h index c61a23f..4f88de0 100644 --- a/gcc/machmode.h +++ b/gcc/machmode.h @@ -59,7 +59,7 @@ extern char *mode_name[]; #define GET_MODE_NAME(MODE) (mode_name[(int)(MODE)]) enum mode_class { MODE_RANDOM, MODE_INT, MODE_FLOAT, MODE_PARTIAL_INT, MODE_CC, - MODE_COMPLEX_INT, MODE_COMPLEX_FLOAT }; + MODE_COMPLEX_INT, MODE_COMPLEX_FLOAT, MAX_MODE_CLASS}; /* Get the general kind of object that mode MODE represents (integer, floating, complex, etc.) */ @@ -108,4 +108,15 @@ extern enum machine_mode get_best_mode (); MIN (BIGGEST_ALIGNMENT, \ MAX (1, (GET_MODE_UNIT_SIZE (MODE) * BITS_PER_UNIT))) +/* For each class, get the narrowest mode in that class. */ + +extern enum machine_mode class_narrowest_mode[]; +#define GET_CLASS_NARROWEST_MODE(CLASS) class_narrowest_mode[(int)(CLASS)] + +/* Define the integer modes whose sizes are BITS_PER_UNIT + and BITS_PER_WORD. */ + +extern enum machine_mode byte_mode; +extern enum machine_mode word_mode; + #endif /* not HAVE_MACHINE_MODES */ |