aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/alpha
diff options
context:
space:
mode:
authorUros Bizjak <uros@gcc.gnu.org>2009-11-23 17:59:47 +0100
committerUros Bizjak <uros@gcc.gnu.org>2009-11-23 17:59:47 +0100
commite0d909dba9125aa925e6c6058ac8f571ac99ecf8 (patch)
treea29fd6abc271d63041d78f2b0940ae3650a54c3f /gcc/config/alpha
parent2f951ef47fd92e5a2b4415ac8f3d525bd324a845 (diff)
downloadgcc-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/config/alpha')
-rw-r--r--gcc/config/alpha/alpha.md4
1 files changed, 2 insertions, 2 deletions
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