Skip to content

Commit ce0e9f0

Browse files
committedSep 1, 2016
[X86][SSE] Dropped (V)CVTPD2PS intrinsic patterns now that its bound to X86vfpround
It now uses X86vfpround patterns directly instead. Followup to D23797 llvm-svn: 280376
1 parent d59509e commit ce0e9f0

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed
 

‎llvm/lib/Target/X86/X86InstrSSE.td

+4-11
Original file line numberDiff line numberDiff line change
@@ -2239,17 +2239,14 @@ let Predicates = [HasSSE2] in {
22392239
// Provide other assembly rr and rm forms to address this explicitly.
22402240
def VCVTPD2PSrr : VPDI<0x5A, MRMSrcReg, (outs VR128:$dst), (ins VR128:$src),
22412241
"cvtpd2ps\t{$src, $dst|$dst, $src}",
2242-
[(set VR128:$dst, (int_x86_sse2_cvtpd2ps VR128:$src))],
2243-
IIC_SSE_CVT_PD_RR>, VEX, Sched<[WriteCvtF2F]>;
2242+
[], IIC_SSE_CVT_PD_RR>, VEX, Sched<[WriteCvtF2F]>;
22442243

22452244
// XMM only
22462245
def : InstAlias<"vcvtpd2psx\t{$src, $dst|$dst, $src}",
22472246
(VCVTPD2PSrr VR128:$dst, VR128:$src), 0>;
22482247
def VCVTPD2PSXrm : VPDI<0x5A, MRMSrcMem, (outs VR128:$dst), (ins f128mem:$src),
22492248
"cvtpd2psx\t{$src, $dst|$dst, $src}",
2250-
[(set VR128:$dst,
2251-
(int_x86_sse2_cvtpd2ps (loadv2f64 addr:$src)))],
2252-
IIC_SSE_CVT_PD_RM>, VEX, Sched<[WriteCvtF2FLd]>;
2249+
[], IIC_SSE_CVT_PD_RM>, VEX, Sched<[WriteCvtF2FLd]>;
22532250

22542251
// YMM only
22552252
def VCVTPD2PSYrr : VPDI<0x5A, MRMSrcReg, (outs VR128:$dst), (ins VR256:$src),
@@ -2267,14 +2264,10 @@ def : InstAlias<"vcvtpd2ps\t{$src, $dst|$dst, $src}",
22672264

22682265
def CVTPD2PSrr : PDI<0x5A, MRMSrcReg, (outs VR128:$dst), (ins VR128:$src),
22692266
"cvtpd2ps\t{$src, $dst|$dst, $src}",
2270-
[(set VR128:$dst, (int_x86_sse2_cvtpd2ps VR128:$src))],
2271-
IIC_SSE_CVT_PD_RR>, Sched<[WriteCvtF2F]>;
2267+
[], IIC_SSE_CVT_PD_RR>, Sched<[WriteCvtF2F]>;
22722268
def CVTPD2PSrm : PDI<0x5A, MRMSrcMem, (outs VR128:$dst), (ins f128mem:$src),
22732269
"cvtpd2ps\t{$src, $dst|$dst, $src}",
2274-
[(set VR128:$dst,
2275-
(int_x86_sse2_cvtpd2ps (memopv2f64 addr:$src)))],
2276-
IIC_SSE_CVT_PD_RM>, Sched<[WriteCvtF2FLd]>;
2277-
2270+
[], IIC_SSE_CVT_PD_RM>, Sched<[WriteCvtF2FLd]>;
22782271

22792272
// AVX 256-bit register conversion intrinsics
22802273
// FIXME: Migrate SSE conversion intrinsics matching to use patterns as below

0 commit comments

Comments
 (0)
Please sign in to comment.