Commit b1e9c8a9 by Alexandre Oliva Committed by Alexandre Oliva

combine.c (expand_field_assignment): Do not discard SUBREGs while computing nonzero_bits.

* combine.c (expand_field_assignment): Do not discard SUBREGs
while computing nonzero_bits.

From-SVN: r31304
parent 93e1dce9
2000-01-10 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
* combine.c (expand_field_assignment): Do not discard SUBREGs
while computing nonzero_bits.
2000-01-09 Nick Clifton <nickc@cygnus.com>
* config/arm/arm.c: Fix compile time warnings about signed vs
......
......@@ -5656,6 +5656,8 @@ expand_field_assignment (x)
/* A SUBREG between two modes that occupy the same numbers of words
can be done by moving the SUBREG to the source. */
else if (GET_CODE (SET_DEST (x)) == SUBREG
/* We need SUBREGs to compute nonzero_bits properly. */
&& nonzero_sign_valid
&& (((GET_MODE_SIZE (GET_MODE (SET_DEST (x)))
+ (UNITS_PER_WORD - 1)) / UNITS_PER_WORD)
== ((GET_MODE_SIZE (GET_MODE (SUBREG_REG (SET_DEST (x))))
......
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