Commit 90e9ee6c by Alan Lehotsky Committed by Richard Henderson

emit-rtl-c (gen_lowpart_common): Accept non-paradoxical SUBREG when UNITS_PER_WORD is small.

        * emit-rtl-c (gen_lowpart_common): Accept non-paradoxical SUBREG when
        UNITS_PER_WORD is small.

From-SVN: r36625
parent be544957
2000-09-24 Alan Lehotsky <alehotsky@cygnus.com>
* emit-rtl-c (gen_lowpart_common): Accept non-paradoxical SUBREG when
UNITS_PER_WORD is small.
2000-09-25 Joseph S. Myers <jsm28@cam.ac.uk>
* c-common.c (format_char_info): Add flags2; update comments.
......
......@@ -707,7 +707,8 @@ gen_lowpart_common (mode, x)
return gen_rtx_fmt_e (GET_CODE (x), mode, XEXP (x, 0));
}
else if (GET_CODE (x) == SUBREG
&& (GET_MODE_SIZE (mode) <= UNITS_PER_WORD
&& (GET_MODE_SIZE (mode) <= GET_MODE_SIZE (GET_MODE (SUBREG_REG (x)))
|| GET_MODE_SIZE (mode) <= UNITS_PER_WORD
|| GET_MODE_SIZE (mode) == GET_MODE_UNIT_SIZE (GET_MODE (x))))
return (GET_MODE (SUBREG_REG (x)) == mode && SUBREG_WORD (x) == 0
? SUBREG_REG (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