diff options
author | Richard Henderson <rth@redhat.com> | 2001-09-06 16:33:56 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2001-09-06 16:33:56 -0700 |
commit | 0615ed3659681961b717f70850dd62b0b846a34c (patch) | |
tree | 88dbe9dc64b11589685ee2d34e51b138388c0f9d /gcc | |
parent | 72d7fa184af0e054f0403ad10187d2498ee267cb (diff) | |
download | gcc-0615ed3659681961b717f70850dd62b0b846a34c.zip gcc-0615ed3659681961b717f70850dd62b0b846a34c.tar.gz gcc-0615ed3659681961b717f70850dd62b0b846a34c.tar.bz2 |
* simplify-rtx.c (simplify_binary_operation): Revert last change.
From-SVN: r45456
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/simplify-rtx.c | 22 |
2 files changed, 4 insertions, 22 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 16c65e2..4d81bca 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2001-09-06 Richard Henderson <rth@redhat.com> + * simplify-rtx.c (simplify_binary_operation): Revert last change. + +2001-09-06 Richard Henderson <rth@redhat.com> + * simplify-rtx.c (simplify_binary_operation): Simplify contents of CONST. diff --git a/gcc/simplify-rtx.c b/gcc/simplify-rtx.c index 7f358d3..ea1cc6d 100644 --- a/gcc/simplify-rtx.c +++ b/gcc/simplify-rtx.c @@ -1275,28 +1275,6 @@ simplify_binary_operation (code, mode, op0, op1) return simplify_gen_binary (AND, mode, op0, gen_rtx_NOT (mode, XEXP (op1, 0))); } - - /* Simplify operations with constants containing embedded offsets. */ - if (GET_CODE (op0) == CONST) - { - tem = simplify_binary_operation (code, mode, XEXP (op0, 0), op1); - if (tem) - { - if (CONSTANT_P (op1) && ! CONSTANT_P (tem)) - tem = gen_rtx_CONST (mode, tem); - return tem; - } - } - if (GET_CODE (op1) == CONST) - { - tem = simplify_binary_operation (code, mode, op0, XEXP (op1, 0)); - if (tem) - { - if (CONSTANT_P (op0) && ! CONSTANT_P (tem)) - tem = gen_rtx_CONST (mode, tem); - return tem; - } - } break; case MULT: |