forked from OSchip/llvm-project
[X86] Add AVX and SSE2 version of MOVSDmr to execution domain fixing table. AVX-512 already did this for the EVEX version.
llvm-svn: 293607
This commit is contained in:
parent
779e4c5bb4
commit
797e32dd98
|
@ -8628,6 +8628,7 @@ static const uint16_t ReplaceableInstrs[][3] = {
|
|||
{ X86::MOVUPSmr, X86::MOVUPDmr, X86::MOVDQUmr },
|
||||
{ X86::MOVUPSrm, X86::MOVUPDrm, X86::MOVDQUrm },
|
||||
{ X86::MOVLPSmr, X86::MOVLPDmr, X86::MOVPQI2QImr },
|
||||
{ X86::MOVSDmr, X86::MOVSDmr, X86::MOVPQI2QImr },
|
||||
{ X86::MOVSSmr, X86::MOVSSmr, X86::MOVPDI2DImr },
|
||||
{ X86::MOVSDrm, X86::MOVSDrm, X86::MOVQI2PQIrm },
|
||||
{ X86::MOVSSrm, X86::MOVSSrm, X86::MOVDI2PDIrm },
|
||||
|
@ -8647,6 +8648,7 @@ static const uint16_t ReplaceableInstrs[][3] = {
|
|||
{ X86::VMOVUPSmr, X86::VMOVUPDmr, X86::VMOVDQUmr },
|
||||
{ X86::VMOVUPSrm, X86::VMOVUPDrm, X86::VMOVDQUrm },
|
||||
{ X86::VMOVLPSmr, X86::VMOVLPDmr, X86::VMOVPQI2QImr },
|
||||
{ X86::VMOVSDmr, X86::VMOVSDmr, X86::VMOVPQI2QImr },
|
||||
{ X86::VMOVSSmr, X86::VMOVSSmr, X86::VMOVPDI2DImr },
|
||||
{ X86::VMOVSDrm, X86::VMOVSDrm, X86::VMOVQI2PQIrm },
|
||||
{ X86::VMOVSSrm, X86::VMOVSSrm, X86::VMOVDI2PDIrm },
|
||||
|
|
|
@ -152,7 +152,7 @@ entry:
|
|||
; X32: retl
|
||||
;
|
||||
; X64-LABEL: TestFPTruncF128_F64:
|
||||
; X64: movapd vf128(%rip), %xmm0
|
||||
; X64: movaps vf128(%rip), %xmm0
|
||||
; X64-NEXT: callq __trunctfdf2
|
||||
; X64-NEXT: movsd %xmm0, vf64(%rip)
|
||||
; X64: retq
|
||||
|
|
Loading…
Reference in New Issue