mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-03 13:31:05 +00:00
implement fadds, faddd, fmuls and fmuld
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30801 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
783d45ef14
commit
d9ae778125
@ -187,3 +187,21 @@ def FSITOS : InstARM<(ops FPRegs:$dst, FPRegs:$src),
|
||||
|
||||
def FSITOD : InstARM<(ops DFPRegs:$dst, FPRegs:$src),
|
||||
"fsitod $dst, $src", [(set DFPRegs:$dst, (armfsitod FPRegs:$src))]>;
|
||||
|
||||
|
||||
// Floating Point Arithmetic
|
||||
def FADDS : InstARM<(ops FPRegs:$dst, FPRegs:$a, FPRegs:$b),
|
||||
"fadds $dst, $a, $b",
|
||||
[(set FPRegs:$dst, (fadd FPRegs:$a, FPRegs:$b))]>;
|
||||
|
||||
def FADDD : InstARM<(ops DFPRegs:$dst, DFPRegs:$a, DFPRegs:$b),
|
||||
"faddd $dst, $a, $b",
|
||||
[(set DFPRegs:$dst, (fadd DFPRegs:$a, DFPRegs:$b))]>;
|
||||
|
||||
def FMULS : InstARM<(ops FPRegs:$dst, FPRegs:$a, FPRegs:$b),
|
||||
"fmuls $dst, $a, $b",
|
||||
[(set FPRegs:$dst, (fmul FPRegs:$a, FPRegs:$b))]>;
|
||||
|
||||
def FMULD : InstARM<(ops DFPRegs:$dst, DFPRegs:$a, DFPRegs:$b),
|
||||
"fmuld $dst, $a, $b",
|
||||
[(set DFPRegs:$dst, (fmul DFPRegs:$a, DFPRegs:$b))]>;
|
||||
|
Loading…
Reference in New Issue
Block a user