Commit 729a2bc6 by Alasdair Baird Committed by Jeff Law

* combine.c (simplify_comparison): Apply SUBREG_REG to SUBREGs.

From-SVN: r20887
parent e54c4883
Thu Jul 2 01:53:32 1998 Alasdair Baird <alasdair@wildcat.demon.co.uk>
* combine.c (simplify_comparison): Apply SUBREG_REG to SUBREGs.
Wed Jul 1 23:06:03 1998 Richard Henderson <rth@cygnus.com> Wed Jul 1 23:06:03 1998 Richard Henderson <rth@cygnus.com>
* i386.h (HARD_REGNO_MODE_OK): Kill spurrious test. * i386.h (HARD_REGNO_MODE_OK): Kill spurrious test.
......
...@@ -9471,10 +9471,10 @@ simplify_comparison (code, pop0, pop1) ...@@ -9471,10 +9471,10 @@ simplify_comparison (code, pop0, pop1)
> GET_MODE_SIZE (GET_MODE (SUBREG_REG (inner_op0)))) > GET_MODE_SIZE (GET_MODE (SUBREG_REG (inner_op0))))
&& (GET_MODE (SUBREG_REG (inner_op0)) && (GET_MODE (SUBREG_REG (inner_op0))
== GET_MODE (SUBREG_REG (inner_op1))) == GET_MODE (SUBREG_REG (inner_op1)))
&& (GET_MODE_BITSIZE (GET_MODE (SUBREG_REG (op0))) && (GET_MODE_BITSIZE (GET_MODE (SUBREG_REG (inner_op0)))
<= HOST_BITS_PER_WIDE_INT) <= HOST_BITS_PER_WIDE_INT)
&& (0 == ((~c0) & nonzero_bits (SUBREG_REG (inner_op0), && (0 == ((~c0) & nonzero_bits (SUBREG_REG (inner_op0),
GET_MODE (SUBREG_REG (op0))))) GET_MODE (SUBREG_REG (inner_op0)))))
&& (0 == ((~c1) & nonzero_bits (SUBREG_REG (inner_op1), && (0 == ((~c1) & nonzero_bits (SUBREG_REG (inner_op1),
GET_MODE (SUBREG_REG (inner_op1)))))) GET_MODE (SUBREG_REG (inner_op1))))))
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment