diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1993-10-11 07:43:24 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1993-10-11 07:43:24 -0400 |
commit | d969caf8295b75420b532a7c9ebe89eb38194f1b (patch) | |
tree | a1f98e8f57a97ff13679fc0d68831da5aa703070 | |
parent | 85c0a55631f8cf5fd8e44d506d150f725327b02d (diff) | |
download | gcc-d969caf8295b75420b532a7c9ebe89eb38194f1b.zip gcc-d969caf8295b75420b532a7c9ebe89eb38194f1b.tar.gz gcc-d969caf8295b75420b532a7c9ebe89eb38194f1b.tar.bz2 |
Define SHIFT_COUNT_TRUNCATED to have a value of 1.
From-SVN: r5732
-rw-r--r-- | gcc/config/a29k/a29k.h | 4 | ||||
-rw-r--r-- | gcc/config/alpha/alpha.h | 4 | ||||
-rw-r--r-- | gcc/config/fx80/fx80.h | 7 | ||||
-rw-r--r-- | gcc/config/i960/i960.h | 7 | ||||
-rw-r--r-- | gcc/config/mips/mips.h | 10 | ||||
-rw-r--r-- | gcc/config/pa/pa.h | 4 | ||||
-rw-r--r-- | gcc/config/pyr/pyr.h | 7 | ||||
-rw-r--r-- | gcc/config/rs6000/rs6000.h | 4 | ||||
-rw-r--r-- | gcc/config/sparc/sparc.h | 7 | ||||
-rw-r--r-- | gcc/config/tahoe/tahoe.h | 2 | ||||
-rw-r--r-- | gcc/config/we32k/we32k.h | 7 |
11 files changed, 27 insertions, 36 deletions
diff --git a/gcc/config/a29k/a29k.h b/gcc/config/a29k/a29k.h index d7b6000..1ee727a 100644 --- a/gcc/config/a29k/a29k.h +++ b/gcc/config/a29k/a29k.h @@ -1276,9 +1276,9 @@ extern char *a29k_function_name; but a CALL with constant address is cheap. */ #define NO_FUNCTION_CSE -/* Define this if shift instructions ignore all but the low-order +/* Define this to be nonzero if shift instructions ignore all but the low-order few bits. */ -#define SHIFT_COUNT_TRUNCATED +#define SHIFT_COUNT_TRUNCATED 1 /* Compute the cost of computing a constant rtl expression RTX whose rtx-code is CODE. The body of this macro is a portion diff --git a/gcc/config/alpha/alpha.h b/gcc/config/alpha/alpha.h index 3b76cd0..4a6756d 100644 --- a/gcc/config/alpha/alpha.h +++ b/gcc/config/alpha/alpha.h @@ -1279,9 +1279,9 @@ extern char *current_function_name; #define NO_FUNCTION_CSE -/* Define this if shift instructions ignore all but the low-order +/* Define this to be nonzero if shift instructions ignore all but the low-order few bits. */ -#define SHIFT_COUNT_TRUNCATED +#define SHIFT_COUNT_TRUNCATED 1 /* Compute the cost of computing a constant rtl expression RTX whose rtx-code is CODE. The body of this macro is a portion diff --git a/gcc/config/fx80/fx80.h b/gcc/config/fx80/fx80.h index 6803398..8c9ba72 100644 --- a/gcc/config/fx80/fx80.h +++ b/gcc/config/fx80/fx80.h @@ -841,10 +841,9 @@ extern enum reg_class regno_reg_class[]; /* Nonzero if access to memory by bytes is slow and undesirable. */ #define SLOW_BYTE_ACCESS 0 -/* Define if shifts truncate the shift count - which implies one can omit a sign-extension or zero-extension - of a shift count. */ -#define SHIFT_COUNT_TRUNCATED +/* Define this to be nonzero if shift instructions ignore all but the low-order + few bits. */ +#define SHIFT_COUNT_TRUNCATED 1 /* Value is 1 if truncating an integer of INPREC bits to OUTPREC bits is done just by pretending it is already truncated. */ diff --git a/gcc/config/i960/i960.h b/gcc/config/i960/i960.h index f1e5d76..d95e8c0 100644 --- a/gcc/config/i960/i960.h +++ b/gcc/config/i960/i960.h @@ -1075,10 +1075,9 @@ extern struct rtx_def *legitimize_address (); #define STORE_FLAG_VALUE 1 -/* Define if shifts truncate the shift count - which implies one can omit a sign-extension or zero-extension - of a shift count. */ -#define SHIFT_COUNT_TRUNCATED +/* Define this to be nonzero if shift instructions ignore all but the low-order + few bits. */ +#define SHIFT_COUNT_TRUNCATED 1 /* Value is 1 if truncating an integer of INPREC bits to OUTPREC bits is done just by pretending it is already truncated. */ diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h index 59af3da..80314f4 100644 --- a/gcc/config/mips/mips.h +++ b/gcc/config/mips/mips.h @@ -2389,13 +2389,9 @@ while (0) /* Define this if zero-extension is slow (more than one real instruction). */ #define SLOW_ZERO_EXTEND -/* Define if shifts truncate the shift count - which implies one can omit a sign-extension or zero-extension - of a shift count. - - Only 5 bits are used in SLLV and SRLV */ - -#define SHIFT_COUNT_TRUNCATED +/* Define this to be nonzero if shift instructions ignore all but the low-order + few bits. */ +#define SHIFT_COUNT_TRUNCATED 1 /* Value is 1 if truncating an integer of INPREC bits to OUTPREC bits is done just by pretending it is already truncated. */ diff --git a/gcc/config/pa/pa.h b/gcc/config/pa/pa.h index 7d5f4d4..74aca47 100644 --- a/gcc/config/pa/pa.h +++ b/gcc/config/pa/pa.h @@ -1427,9 +1427,9 @@ while (0) but a CALL with constant address is cheap. */ #define NO_FUNCTION_CSE -/* Define this if shift instructions ignore all but the low-order +/* Define this to be nonzero if shift instructions ignore all but the low-order few bits. */ -#define SHIFT_COUNT_TRUNCATED +#define SHIFT_COUNT_TRUNCATED 1 /* Use atexit for static constructors/destructors, instead of defining our own exit function. */ diff --git a/gcc/config/pyr/pyr.h b/gcc/config/pyr/pyr.h index 78f0705..e9f9bbd 100644 --- a/gcc/config/pyr/pyr.h +++ b/gcc/config/pyr/pyr.h @@ -1029,10 +1029,9 @@ extern int current_function_calls_alloca; /* 1 if byte access requires more than one instruction */ #define SLOW_BYTE_ACCESS 0 -/* Define if shifts truncate the shift count - which implies one can omit a sign-extension or zero-extension - of a shift count. */ -#define SHIFT_COUNT_TRUNCATED +/* Define this to be nonzero if shift instructions ignore all but the low-order + few bits. */ +#define SHIFT_COUNT_TRUNCATED 1 /* Value is 1 if truncating an integer of INPREC bits to OUTPREC bits is done just by pretending it is already truncated. */ diff --git a/gcc/config/rs6000/rs6000.h b/gcc/config/rs6000/rs6000.h index 7e5a974..deed036 100644 --- a/gcc/config/rs6000/rs6000.h +++ b/gcc/config/rs6000/rs6000.h @@ -1341,9 +1341,9 @@ struct rs6000_args {int words, fregno, nargs_prototype; }; but a CALL with constant address is cheap. */ #define NO_FUNCTION_CSE -/* Define this if shift instructions ignore all but the low-order +/* Define this to be nonzero if shift instructions ignore all but the low-order few bits. */ -#define SHIFT_COUNT_TRUNCATED +#define SHIFT_COUNT_TRUNCATED 1 /* Use atexit for static constructors/destructors, instead of defining our own exit function. */ diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h index 853f812..a60f80b 100644 --- a/gcc/config/sparc/sparc.h +++ b/gcc/config/sparc/sparc.h @@ -1383,10 +1383,9 @@ extern struct rtx_def *legitimize_pic_address (); /* When a prototype says `char' or `short', really pass an `int'. */ #define PROMOTE_PROTOTYPES -/* Define if shifts truncate the shift count - which implies one can omit a sign-extension or zero-extension - of a shift count. */ -#define SHIFT_COUNT_TRUNCATED +/* Define this to be nonzero if shift instructions ignore all but the low-order + few bits. */ +#define SHIFT_COUNT_TRUNCATED 1 /* Value is 1 if truncating an integer of INPREC bits to OUTPREC bits is done just by pretending it is already truncated. */ diff --git a/gcc/config/tahoe/tahoe.h b/gcc/config/tahoe/tahoe.h index 2f32dde..607c988 100644 --- a/gcc/config/tahoe/tahoe.h +++ b/gcc/config/tahoe/tahoe.h @@ -621,7 +621,7 @@ enum reg_class {NO_REGS,GENERAL_REGS,FPP_REG,ALL_REGS,LIM_REG_CLASSES}; /* any bits higher than the low 4 are ignored in the shift count */ /* so don't bother zero extending or sign extending them */ -#define SHIFT_COUNT_TRUNCATED +#define SHIFT_COUNT_TRUNCATED 1 /* we don't need to officially convert from one fixed type to another */ /* in order to use it as that type. We can just assume it's the same */ diff --git a/gcc/config/we32k/we32k.h b/gcc/config/we32k/we32k.h index 42457fd..a48e052 100644 --- a/gcc/config/we32k/we32k.h +++ b/gcc/config/we32k/we32k.h @@ -647,10 +647,9 @@ enum reg_class { NO_REGS, GENERAL_REGS, /* Nonzero if access to memory by bytes is slow and undesirable. */ #define SLOW_BYTE_ACCESS 0 -/* Define if shifts truncate the shift count - which implies one can omit a sign-extension or zero-extension - of a shift count. */ -#define SHIFT_COUNT_TRUNCATED +/* Define this to be nonzero if shift instructions ignore all but the low-order + few bits. */ +#define SHIFT_COUNT_TRUNCATED 1 /* Value is 1 if truncating an integer of INPREC bits to OUTPREC bits is done just by pretending it is already truncated. */ |