mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-21 18:31:36 +00:00
Add comment to explain a non-obvious setting; NFC.
This is paraphrased from Simon Pilgrim's comment in: http://reviews.llvm.org/D7492 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229566 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ef23f042ce
commit
0be02ef5b1
@ -657,6 +657,12 @@ X86InstrInfo::X86InstrInfo(X86Subtarget &STI)
|
||||
{ X86::VTESTPSYrr, X86::VTESTPSYrm, 0 },
|
||||
|
||||
// AVX2 foldable instructions
|
||||
|
||||
// VBROADCASTS{SD}rr register instructions were an AVX2 addition while the
|
||||
// VBROADCASTS{SD}rm memory instructions were available from AVX1.
|
||||
// TB_NO_REVERSE prevents unfolding from introducing an illegal instruction
|
||||
// on AVX1 targets. The VPBROADCAST instructions are all AVX2 instructions
|
||||
// so they don't need an equivalent limitation.
|
||||
{ X86::VBROADCASTSSrr, X86::VBROADCASTSSrm, TB_NO_REVERSE },
|
||||
{ X86::VBROADCASTSSYrr, X86::VBROADCASTSSYrm, TB_NO_REVERSE },
|
||||
{ X86::VBROADCASTSDYrr, X86::VBROADCASTSDYrm, TB_NO_REVERSE },
|
||||
|
Loading…
x
Reference in New Issue
Block a user