mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-18 12:29:21 +00:00
Floating point instructions like Floating point registers
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19856 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d2bb960d8c
commit
10b400705d
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user