Commit 0d8e4dac by Richard Henderson Committed by Richard Henderson

s390: Use VOIDmode with gen_rtx_SET

	* config/s390/s390.c (s390_expand_insv): Use VOIDmode in gen_rtx_SET.

From-SVN: r190281
parent 4e1ffb63
2012-08-09 Richard Henderson <rth@redhat.com> 2012-08-09 Richard Henderson <rth@redhat.com>
* config/s390/s390.c (s390_expand_insv): Use VOIDmode in gen_rtx_SET.
* config/s390/s390.c (s390_expand_cs_hqi): Copy val to a temp before * config/s390/s390.c (s390_expand_cs_hqi): Copy val to a temp before
performing the compare for the restart loop. performing the compare for the restart loop.
......
...@@ -4684,9 +4684,8 @@ s390_expand_insv (rtx dest, rtx op1, rtx op2, rtx src) ...@@ -4684,9 +4684,8 @@ s390_expand_insv (rtx dest, rtx op1, rtx op2, rtx src)
src = gen_lowpart (mode, src); src = gen_lowpart (mode, src);
} }
op = gen_rtx_SET (mode, op = gen_rtx_ZERO_EXTRACT (mode, dest, op1, op2),
gen_rtx_ZERO_EXTRACT (mode, dest, op1, op2), op = gen_rtx_SET (VOIDmode, op, src);
src);
clobber = gen_rtx_CLOBBER (VOIDmode, gen_rtx_REG (CCmode, CC_REGNUM)); clobber = gen_rtx_CLOBBER (VOIDmode, gen_rtx_REG (CCmode, CC_REGNUM));
emit_insn (gen_rtx_PARALLEL (VOIDmode, gen_rtvec (2, op, clobber))); emit_insn (gen_rtx_PARALLEL (VOIDmode, gen_rtvec (2, op, clobber)));
......
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