diff options
author | Uros Bizjak <uros@gcc.gnu.org> | 2009-11-23 17:59:47 +0100 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2009-11-23 17:59:47 +0100 |
commit | e0d909dba9125aa925e6c6058ac8f571ac99ecf8 (patch) | |
tree | a29fd6abc271d63041d78f2b0940ae3650a54c3f /gcc | |
parent | 2f951ef47fd92e5a2b4415ac8f3d525bd324a845 (diff) | |
download | gcc-e0d909dba9125aa925e6c6058ac8f571ac99ecf8.zip gcc-e0d909dba9125aa925e6c6058ac8f571ac99ecf8.tar.gz gcc-e0d909dba9125aa925e6c6058ac8f571ac99ecf8.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 8 | ||||
-rw-r--r-- | gcc/config/alpha/alpha.md | 4 |
2 files changed, 9 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 58ede88..bce5975 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/config/alpha/alpha.md b/gcc/config/alpha/alpha.md index 86bfd74..6a1c43a 100644 --- a/gcc/config/alpha/alpha.md +++ b/gcc/config/alpha/alpha.md @@ -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 |