diff options
author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-02-21 18:41:48 +0000 |
---|---|---|
committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-02-21 18:41:48 +0000 |
commit | 98de49b378a80c03c3f7d3d61ccf15c223dac11f (patch) | |
tree | 60efc7ad585a3a2b23b41180fd391ad6d60e8cdf /gcc/simplify-rtx.c | |
parent | 155184c9ae58a0930f1ee41719cbac514ef6a428 (diff) | |
download | gcc-98de49b378a80c03c3f7d3d61ccf15c223dac11f.tar.gz |
* combine.c (SHIFT_COUNT_TRUNCATED): Remove.
* defaults.h (SHIFT_COUNT_TRUNCATED): Provide the default.
* expmed.c: Assume SHIFT_COUNT_TRUNCATED is always defined.
* fold-const.c: Likewise.
* simplify-rtx.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78230 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/simplify-rtx.c')
-rw-r--r-- | gcc/simplify-rtx.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/gcc/simplify-rtx.c b/gcc/simplify-rtx.c index dda7dd47365..5133a4aa75e 100644 --- a/gcc/simplify-rtx.c +++ b/gcc/simplify-rtx.c @@ -1369,10 +1369,8 @@ simplify_binary_operation (enum rtx_code code, enum machine_mode mode, case LSHIFTRT: case ASHIFTRT: case ASHIFT: case ROTATE: case ROTATERT: -#ifdef SHIFT_COUNT_TRUNCATED if (SHIFT_COUNT_TRUNCATED) l2 &= (GET_MODE_BITSIZE (mode) - 1), h2 = 0; -#endif if (h2 != 0 || l2 >= GET_MODE_BITSIZE (mode)) return 0; @@ -2152,10 +2150,8 @@ simplify_binary_operation (enum rtx_code code, enum machine_mode mode, if (arg1 < 0) return 0; -#ifdef SHIFT_COUNT_TRUNCATED if (SHIFT_COUNT_TRUNCATED) arg1 %= width; -#endif val = ((unsigned HOST_WIDE_INT) arg0) >> arg1; break; @@ -2164,10 +2160,8 @@ simplify_binary_operation (enum rtx_code code, enum machine_mode mode, if (arg1 < 0) return 0; -#ifdef SHIFT_COUNT_TRUNCATED if (SHIFT_COUNT_TRUNCATED) arg1 %= width; -#endif val = ((unsigned HOST_WIDE_INT) arg0) << arg1; break; @@ -2176,10 +2170,8 @@ simplify_binary_operation (enum rtx_code code, enum machine_mode mode, if (arg1 < 0) return 0; -#ifdef SHIFT_COUNT_TRUNCATED if (SHIFT_COUNT_TRUNCATED) arg1 %= width; -#endif val = arg0s >> arg1; |