aboutsummaryrefslogtreecommitdiff
path: root/gcc/machmode.h
diff options
context:
space:
mode:
authorZack Weinberg <zack@gcc.gnu.org>2003-10-11 00:18:02 +0000
committerZack Weinberg <zack@gcc.gnu.org>2003-10-11 00:18:02 +0000
commit3ef996b01be078477fff39569b70b9777c604f22 (patch)
tree5269637c07816870a919120837e9ac717724d3fe /gcc/machmode.h
parent129c1f79ed4e7c1c06051973591d253f703cc1fd (diff)
downloadgcc-3ef996b01be078477fff39569b70b9777c604f22.zip
gcc-3ef996b01be078477fff39569b70b9777c604f22.tar.gz
gcc-3ef996b01be078477fff39569b70b9777c604f22.tar.bz2
gengenrtl.c (find_formats, genheader): Make i an unsigned int, remove cast of NUM_RTX_CODE.
* gengenrtl.c (find_formats, genheader): Make i an unsigned int, remove cast of NUM_RTX_CODE. * machmode.h: Make the HAVE_MACHINE_MODES #ifdef encompass the entire file. Remove the #ifs on GET_MODE_MASK etc and GET_MODE_WIDER_MODE etc. From-SVN: r72321
Diffstat (limited to 'gcc/machmode.h')
-rw-r--r--gcc/machmode.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/gcc/machmode.h b/gcc/machmode.h
index 4c4086c..04b2de1 100644
--- a/gcc/machmode.h
+++ b/gcc/machmode.h
@@ -97,10 +97,6 @@ extern const unsigned char mode_unit_size[NUM_MACHINE_MODES];
extern const unsigned short mode_bitsize[NUM_MACHINE_MODES];
#define GET_MODE_BITSIZE(MODE) mode_bitsize[MODE]
-#endif /* not HAVE_MACHINE_MODES */
-
-#if defined HOST_WIDE_INT && ! defined GET_MODE_MASK
-
/* Get a bitmask containing 1 for all bits in a word
that fit within mode MODE. */
@@ -114,11 +110,6 @@ extern const unsigned char mode_inner[NUM_MACHINE_MODES];
#define GET_MODE_INNER(MODE) mode_inner[MODE]
-#endif /* defined (HOST_WIDE_INT) && ! defined GET_MODE_MASK */
-
-#if ! defined GET_MODE_WIDER_MODE || ! defined GET_MODE_ALIGNMENT \
- || ! defined GET_CLASS_NARROWEST_MODE
-
/* Get the next wider natural mode (eg, QI -> HI -> SI -> DI -> TI). */
extern const unsigned char mode_wider[NUM_MACHINE_MODES];
@@ -166,5 +157,4 @@ extern enum machine_mode byte_mode;
extern enum machine_mode word_mode;
extern enum machine_mode ptr_mode;
-#endif /* ! defined GET_MODE_WIDER_MODE || ! defined GET_MODE_ALIGNMENT
- || ! defined GET_CLASS_NARROWEST_MODE */
+#endif /* not HAVE_MACHINE_MODES */