mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-21 19:32:16 +00:00
Add some missing predicates.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121445 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
78ceb3a415
commit
d191751f0e
@ -712,7 +712,8 @@ def VCVTSD2SSrm : I<0x5A, MRMSrcMem, (outs FR32:$dst),
|
|||||||
"vcvtsd2ss\t{$src2, $src1, $dst|$dst, $src1, $src2}",
|
"vcvtsd2ss\t{$src2, $src1, $dst|$dst, $src1, $src2}",
|
||||||
[]>, XD, Requires<[HasAVX, OptForSize]>, VEX_4V;
|
[]>, XD, Requires<[HasAVX, OptForSize]>, VEX_4V;
|
||||||
}
|
}
|
||||||
def : Pat<(f32 (fround FR64:$src)), (VCVTSD2SSrr FR64:$src, FR64:$src)>;
|
def : Pat<(f32 (fround FR64:$src)), (VCVTSD2SSrr FR64:$src, FR64:$src)>,
|
||||||
|
Requires<[HasAVX]>;
|
||||||
|
|
||||||
def CVTSD2SSrr : SDI<0x5A, MRMSrcReg, (outs FR32:$dst), (ins FR64:$src),
|
def CVTSD2SSrr : SDI<0x5A, MRMSrcReg, (outs FR32:$dst), (ins FR64:$src),
|
||||||
"cvtsd2ss\t{$src, $dst|$dst, $src}",
|
"cvtsd2ss\t{$src, $dst|$dst, $src}",
|
||||||
@ -741,7 +742,8 @@ def VCVTSS2SDrm : I<0x5A, MRMSrcMem, (outs FR64:$dst),
|
|||||||
"vcvtss2sd\t{$src2, $src1, $dst|$dst, $src1, $src2}",
|
"vcvtss2sd\t{$src2, $src1, $dst|$dst, $src1, $src2}",
|
||||||
[]>, XS, VEX_4V, Requires<[HasAVX, OptForSize]>;
|
[]>, XS, VEX_4V, Requires<[HasAVX, OptForSize]>;
|
||||||
}
|
}
|
||||||
def : Pat<(f64 (fextend FR32:$src)), (VCVTSS2SDrr FR32:$src, FR32:$src)>;
|
def : Pat<(f64 (fextend FR32:$src)), (VCVTSS2SDrr FR32:$src, FR32:$src)>,
|
||||||
|
Requires<[HasAVX]>;
|
||||||
|
|
||||||
def CVTSS2SDrr : I<0x5A, MRMSrcReg, (outs FR64:$dst), (ins FR32:$src),
|
def CVTSS2SDrr : I<0x5A, MRMSrcReg, (outs FR64:$dst), (ins FR32:$src),
|
||||||
"cvtss2sd\t{$src, $dst|$dst, $src}",
|
"cvtss2sd\t{$src, $dst|$dst, $src}",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user