Commit 6cdbaec4 by Richard Kenner

(cse_insn): Correctly check for two modes being the same number of

words.

From-SVN: r7292
parent 95da80ce
......@@ -7128,8 +7128,9 @@ cse_insn (insn, in_libcall_block)
already entered SRC and DEST of the SET in the table. */
if (GET_CODE (dest) == SUBREG
&& (GET_MODE_SIZE (GET_MODE (SUBREG_REG (dest))) / UNITS_PER_WORD
== GET_MODE_SIZE (GET_MODE (dest)) / UNITS_PER_WORD)
&& (((GET_MODE_SIZE (GET_MODE (SUBREG_REG (dest))) - 1)
/ UNITS_PER_WORD)
== (GET_MODE_SIZE (GET_MODE (dest)) - 1)/ UNITS_PER_WORD)
&& (GET_MODE_SIZE (GET_MODE (dest))
>= GET_MODE_SIZE (GET_MODE (SUBREG_REG (dest))))
&& sets[i].src_elt != 0)
......
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