mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-09 11:25:55 +00:00
fconsts and fconstd are obviously re-materializable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85410 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -431,6 +431,7 @@ def FMSTAT : VFPAI<(outs), (ins), VFPMiscFrm, IIC_fpSTAT, "fmstat", "",
|
|||||||
|
|
||||||
|
|
||||||
// Materialize FP immediates. VFP3 only.
|
// Materialize FP immediates. VFP3 only.
|
||||||
|
let isReMaterializable = 1 in
|
||||||
def FCONSTS : VFPAI<(outs SPR:$dst), (ins vfp_f32imm:$imm),
|
def FCONSTS : VFPAI<(outs SPR:$dst), (ins vfp_f32imm:$imm),
|
||||||
VFPMiscFrm, IIC_VMOVImm,
|
VFPMiscFrm, IIC_VMOVImm,
|
||||||
"fconsts", "\t$dst, $imm",
|
"fconsts", "\t$dst, $imm",
|
||||||
@@ -442,6 +443,7 @@ def FCONSTS : VFPAI<(outs SPR:$dst), (ins vfp_f32imm:$imm),
|
|||||||
let Inst{7-4} = 0b0000;
|
let Inst{7-4} = 0b0000;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
let isReMaterializable = 1 in
|
||||||
def FCONSTD : VFPAI<(outs DPR:$dst), (ins vfp_f64imm:$imm),
|
def FCONSTD : VFPAI<(outs DPR:$dst), (ins vfp_f64imm:$imm),
|
||||||
VFPMiscFrm, IIC_VMOVImm,
|
VFPMiscFrm, IIC_VMOVImm,
|
||||||
"fconstd", "\t$dst, $imm",
|
"fconstd", "\t$dst, $imm",
|
||||||
|
Reference in New Issue
Block a user