diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1993-10-11 07:39:02 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1993-10-11 07:39:02 -0400 |
commit | 85c0a55631f8cf5fd8e44d506d150f725327b02d (patch) | |
tree | 1473f7475b5e930db2bc4b6b3a20138f9fca87f4 | |
parent | 5541136b1b679a183fa09a72608b771315dec4ed (diff) | |
download | gcc-85c0a55631f8cf5fd8e44d506d150f725327b02d.zip gcc-85c0a55631f8cf5fd8e44d506d150f725327b02d.tar.gz gcc-85c0a55631f8cf5fd8e44d506d150f725327b02d.tar.bz2 |
(simplify_binary_operation): Test value of SHIFT_COUNT_TRUNCATED if it
is defined.
From-SVN: r5731
-rw-r--r-- | gcc/cse.c | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -3409,7 +3409,8 @@ simplify_binary_operation (code, mode, op0, op1) case ASHIFT: case LSHIFT: case ROTATE: case ROTATERT: #ifdef SHIFT_COUNT_TRUNCATED - l2 &= (GET_MODE_BITSIZE (mode) - 1), h2 = 0; + if (SHIFT_COUNT_TRUNCATED) + l2 &= (GET_MODE_BITSIZE (mode) - 1), h2 = 0; #endif if (h2 != 0 || l2 < 0 || l2 >= GET_MODE_BITSIZE (mode)) @@ -3840,7 +3841,8 @@ simplify_binary_operation (code, mode, op0, op1) return 0; #ifdef SHIFT_COUNT_TRUNCATED - arg1 &= (BITS_PER_WORD - 1); + if (SHIFT_COUNT_TRUNCATED) + arg1 &= (BITS_PER_WORD - 1); #endif if (arg1 >= width) @@ -3855,7 +3857,8 @@ simplify_binary_operation (code, mode, op0, op1) return 0; #ifdef SHIFT_COUNT_TRUNCATED - arg1 &= (BITS_PER_WORD - 1); + if (SHIFT_COUNT_TRUNCATED) + arg1 &= (BITS_PER_WORD - 1); #endif if (arg1 >= width) @@ -3869,7 +3872,8 @@ simplify_binary_operation (code, mode, op0, op1) return 0; #ifdef SHIFT_COUNT_TRUNCATED - arg1 &= (BITS_PER_WORD - 1); + if (SHIFT_COUNT_TRUNCATED) + arg1 &= (BITS_PER_WORD - 1); #endif if (arg1 >= width) |