mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
Create an FPOW SDNode opcode def in the target independent .td file rather than in a specific backend.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182450 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6cfed36338
commit
f9c3ea31db
@ -376,6 +376,7 @@ def fsqrt : SDNode<"ISD::FSQRT" , SDTFPUnaryOp>;
|
|||||||
def fsin : SDNode<"ISD::FSIN" , SDTFPUnaryOp>;
|
def fsin : SDNode<"ISD::FSIN" , SDTFPUnaryOp>;
|
||||||
def fcos : SDNode<"ISD::FCOS" , SDTFPUnaryOp>;
|
def fcos : SDNode<"ISD::FCOS" , SDTFPUnaryOp>;
|
||||||
def fexp2 : SDNode<"ISD::FEXP2" , SDTFPUnaryOp>;
|
def fexp2 : SDNode<"ISD::FEXP2" , SDTFPUnaryOp>;
|
||||||
|
def fpow : SDNode<"ISD::FPOW" , SDTFPBinOp>;
|
||||||
def flog2 : SDNode<"ISD::FLOG2" , SDTFPUnaryOp>;
|
def flog2 : SDNode<"ISD::FLOG2" , SDTFPUnaryOp>;
|
||||||
def frint : SDNode<"ISD::FRINT" , SDTFPUnaryOp>;
|
def frint : SDNode<"ISD::FRINT" , SDTFPUnaryOp>;
|
||||||
def ftrunc : SDNode<"ISD::FTRUNC" , SDTFPUnaryOp>;
|
def ftrunc : SDNode<"ISD::FTRUNC" , SDTFPUnaryOp>;
|
||||||
|
@ -65,8 +65,6 @@ def AMDGPUumin : SDNode<"AMDGPUISD::UMIN", SDTIntBinOp,
|
|||||||
// e is rounding error
|
// e is rounding error
|
||||||
def AMDGPUurecip : SDNode<"AMDGPUISD::URECIP", SDTIntUnaryOp>;
|
def AMDGPUurecip : SDNode<"AMDGPUISD::URECIP", SDTIntUnaryOp>;
|
||||||
|
|
||||||
def fpow : SDNode<"ISD::FPOW", SDTFPBinOp>;
|
|
||||||
|
|
||||||
def AMDGPUregister_load : SDNode<"AMDGPUISD::REGISTER_LOAD",
|
def AMDGPUregister_load : SDNode<"AMDGPUISD::REGISTER_LOAD",
|
||||||
SDTypeProfile<1, 2, [SDTCisPtrTy<1>, SDTCisInt<2>]>,
|
SDTypeProfile<1, 2, [SDTCisPtrTy<1>, SDTCisInt<2>]>,
|
||||||
[SDNPHasChain, SDNPMayLoad]>;
|
[SDNPHasChain, SDNPMayLoad]>;
|
||||||
|
Loading…
Reference in New Issue
Block a user