forked from OSchip/llvm-project
Remove alignment requirements from (V)EXTRACTPS. This instruction does 32-bit stores which aren't required to be aligned on SSE or AVX.
llvm-svn: 171080
This commit is contained in:
parent
30e95a8ebb
commit
d09a9af9b6
|
@ -297,7 +297,7 @@ X86InstrInfo::X86InstrInfo(X86TargetMachine &tm)
|
|||
{ X86::DIV32r, X86::DIV32m, TB_FOLDED_LOAD },
|
||||
{ X86::DIV64r, X86::DIV64m, TB_FOLDED_LOAD },
|
||||
{ X86::DIV8r, X86::DIV8m, TB_FOLDED_LOAD },
|
||||
{ X86::EXTRACTPSrr, X86::EXTRACTPSmr, TB_FOLDED_STORE | TB_ALIGN_16 },
|
||||
{ X86::EXTRACTPSrr, X86::EXTRACTPSmr, TB_FOLDED_STORE },
|
||||
{ X86::FsMOVAPDrr, X86::MOVSDmr, TB_FOLDED_STORE | TB_NO_REVERSE },
|
||||
{ X86::FsMOVAPSrr, X86::MOVSSmr, TB_FOLDED_STORE | TB_NO_REVERSE },
|
||||
{ X86::IDIV16r, X86::IDIV16m, TB_FOLDED_LOAD },
|
||||
|
@ -355,7 +355,7 @@ X86InstrInfo::X86InstrInfo(X86TargetMachine &tm)
|
|||
{ X86::TEST64ri32, X86::TEST64mi32, TB_FOLDED_LOAD },
|
||||
{ X86::TEST8ri, X86::TEST8mi, TB_FOLDED_LOAD },
|
||||
// AVX 128-bit versions of foldable instructions
|
||||
{ X86::VEXTRACTPSrr,X86::VEXTRACTPSmr, TB_FOLDED_STORE | TB_ALIGN_16 },
|
||||
{ X86::VEXTRACTPSrr,X86::VEXTRACTPSmr, TB_FOLDED_STORE },
|
||||
{ X86::FsVMOVAPDrr, X86::VMOVSDmr, TB_FOLDED_STORE | TB_NO_REVERSE },
|
||||
{ X86::FsVMOVAPSrr, X86::VMOVSSmr, TB_FOLDED_STORE | TB_NO_REVERSE },
|
||||
{ X86::VEXTRACTF128rr, X86::VEXTRACTF128mr, TB_FOLDED_STORE | TB_ALIGN_16 },
|
||||
|
|
Loading…
Reference in New Issue