projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
85c0a55
)
Define SHIFT_COUNT_TRUNCATED to have a value of 1.
author
Richard Kenner
<kenner@gcc.gnu.org>
Mon, 11 Oct 1993 11:43:24 +0000
(07:43 -0400)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Mon, 11 Oct 1993 11:43:24 +0000
(07:43 -0400)
From-SVN: r5732
gcc/config/a29k/a29k.h
patch
|
blob
|
history
gcc/config/alpha/alpha.h
patch
|
blob
|
history
gcc/config/fx80/fx80.h
patch
|
blob
|
history
gcc/config/i960/i960.h
patch
|
blob
|
history
gcc/config/mips/mips.h
patch
|
blob
|
history
gcc/config/pa/pa.h
patch
|
blob
|
history
gcc/config/pyr/pyr.h
patch
|
blob
|
history
gcc/config/rs6000/rs6000.h
patch
|
blob
|
history
gcc/config/sparc/sparc.h
patch
|
blob
|
history
gcc/config/tahoe/tahoe.h
patch
|
blob
|
history
gcc/config/we32k/we32k.h
patch
|
blob
|
history
diff --git
a/gcc/config/a29k/a29k.h
b/gcc/config/a29k/a29k.h
index d7b600054c3dd0aacb630bebaefe3232c1798eaf..1ee727aaf6e79f8bf91fcabf9fe5ee748db9ccc8 100644
(file)
--- 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
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. */
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
/* 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 3b76cd0cb26642867c7a4e6cf0a0708a63253479..4a6756d998a6df56463145c0816929cbe78ebe19 100644
(file)
--- 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 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. */
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
/* 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 68033985d0c844fe14e07568560013b73c73f2f4..8c9ba725e7521c85666c8533f2912a49287d8d41 100644
(file)
--- 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
/* 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. */
/* 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 f1e5d76b97a75efac9e916bbdf3cfad4c2e6abf8..d95e8c09207567be594b13cec55237f6a942c817 100644
(file)
--- 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 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. */
/* 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 59af3dabc959594c5fcb556e02d10474795923b8..80314f45b8bbbe5d4c0d326d6e6fe230ce60546e 100644
(file)
--- 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 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. */
/* 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 7d5f4d4b89bf80e65a9c64f6146a8b60a3e7d270..74aca47798473d988c0b908a22cad9d5cc6aa643 100644
(file)
--- 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
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. */
few bits. */
-#define SHIFT_COUNT_TRUNCATED
+#define SHIFT_COUNT_TRUNCATED
1
/* Use atexit for static constructors/destructors, instead of defining
our own exit function. */
/* 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 78f0705907b89c445c922f4b352677d88003344b..e9f9bbd4d80c9fcdd248f91c4ca8c983a4b3c9f5 100644
(file)
--- 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
/* 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. */
/* 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 7e5a9742c07f69eee0b3060b7c3d855b5fe7212d..deed036450e210236f55bff362ef590a3793b153 100644
(file)
--- 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
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. */
few bits. */
-#define SHIFT_COUNT_TRUNCATED
+#define SHIFT_COUNT_TRUNCATED
1
/* Use atexit for static constructors/destructors, instead of defining
our own exit function. */
/* 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 853f8120b063ea0f278a6d7d536d345eb86148c2..a60f80b563910f753079afaa10e11482bdf1767f 100644
(file)
--- 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
/* 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. */
/* 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 2f32ddeb1f46bbc5497f8e0c6106cf033f06babe..607c98824a2c3282ac89b8c5ebd8c6a0066ccb6e 100644
(file)
--- 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 */
/* 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 */
/* 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 42457fd3e730e44a14ca31ba6c9492618938f338..a48e052e6a8ca58d82236ca766159ff9de99978f 100644
(file)
--- 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
/* 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. */
/* Value is 1 if truncating an integer of INPREC bits to OUTPREC bits
is done just by pretending it is already truncated. */