alpha.md (*cmp_sadd_sidi): Use gen_lowpart instead of gen_rtx_REG to generate operand 5.

* config/alpha/alpha.md (*cmp_sadd_sidi): Use gen_lowpart instead
	of gen_rtx_REG to generate operand 5.
	(*cmp_ssub_sidi): Ditto.

From-SVN: r154455
This commit is contained in:
Uros Bizjak 2009-11-23 17:59:47 +01:00
parent 2f951ef47f
commit e0d909dba9
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2009-11-23 Uros Bizjak <ubizjak@gmail.com>
* config/alpha/alpha.md (*cmp_sadd_sidi): Use gen_lowpart instead
of gen_rtx_REG to generate operand 5.
(*cmp_ssub_sidi): Ditto.
2009-11-23 Richard Henderson <rth@redhat.com>
* config/i386/i386.c (avx_vpermilp_parallel): Fix sign compare
@ -28,7 +34,7 @@
2009-11-22 Richard Earnshaw <rearnsha@arm.com>
* opts.c (decode_options): Don't enable flag_schedule_insns
* opts.c (decode_options): Don't enable flag_schedule_insns
when optimizing for size.
* doc/invoke.texi: Document change.

View File

@ -4225,7 +4225,7 @@
if (can_create_pseudo_p ())
operands[5] = gen_reg_rtx (SImode);
else if (reg_overlap_mentioned_p (operands[5], operands[4]))
operands[5] = gen_rtx_REG (SImode, REGNO (operands[0]));
operands[5] = gen_lowpart (SImode, operands[0]);
})
(define_insn_and_split "*cmp_ssub_di"
@ -4301,7 +4301,7 @@
if (can_create_pseudo_p ())
operands[5] = gen_reg_rtx (SImode);
else if (reg_overlap_mentioned_p (operands[5], operands[4]))
operands[5] = gen_rtx_REG (SImode, REGNO (operands[0]));
operands[5] = gen_lowpart (SImode, operands[0]);
})
;; Here are the CALL and unconditional branch insns. Calls on NT and OSF