aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Lenharth <andrewl@lenharth.org>2005-01-27 07:58:15 +0000
committerAndrew Lenharth <andrewl@lenharth.org>2005-01-27 07:58:15 +0000
commit10b400705dcdef25754b3c3c765c40c6513df1b1 (patch)
tree53a086e8ef55800ec00d7cce6e30346ac187970d
parentd2bb960d8cc1c76ddb2c5be400b9c25bbfa6c501 (diff)
Floating point instructions like Floating point registers
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19856 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/Alpha/AlphaISelPattern.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/Alpha/AlphaISelPattern.cpp b/lib/Target/Alpha/AlphaISelPattern.cpp
index b9abf4661b..bae321edaa 100644
--- a/lib/Target/Alpha/AlphaISelPattern.cpp
+++ b/lib/Target/Alpha/AlphaISelPattern.cpp
@@ -333,7 +333,7 @@ unsigned ISel::SelectExpr(SDOperand N) {
if (ConstantFPSDNode *CN = dyn_cast<ConstantFPSDNode>(N)) {
if (CN->isExactlyValue(+0.0) ||
CN->isExactlyValue(-0.0)) {
- BuildMI(BB, Alpha::CPYS, 2, Result).addReg(R31).addReg(R31);
+ BuildMI(BB, Alpha::CPYS, 2, Result).addReg(Alpha::F31).addReg(Alpha::F31);
} else {
abort();
}