The vbroadcast family of instructions has 'fallback patterns' in case where the
authorNadav Rotem <nadav.rotem@intel.com>
Wed, 18 Jul 2012 08:14:48 +0000 (08:14 +0000)
committerNadav Rotem <nadav.rotem@intel.com>
Wed, 18 Jul 2012 08:14:48 +0000 (08:14 +0000)
commitfd34c110cf34b0d0734922330dd8d9dbf827e7fa
treee1ac0bd94995e7b05f78eaf614e14d3e192f97c6
parenta0f14afee16ca976fef79c64df9a678e7f26cf43
The vbroadcast family of instructions has 'fallback patterns' in case where the
load source operand is used by multiple nodes. The v2i64 broadcast was emulated
by shuffling the two lower i32 elements to the upper two.
We had a bug in the immediate used for the broadcast.
Replacing 0 to 0x44.
0x44 means [01|00|01|00] which corresponds to the correct lane.

Patch by Michael Kuperstein.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160430 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86InstrSSE.td