diff options
| author | Nadav Rotem <nadav.rotem@intel.com> | 2012-04-10 14:33:13 +0000 |
|---|---|---|
| committer | Nadav Rotem <nadav.rotem@intel.com> | 2012-04-10 14:33:13 +0000 |
| commit | 50e64cfe6e250dbe2528fc5bda75c68b04a8bc49 (patch) | |
| tree | 11f8711c3c0c8a1418507063bde7ac8b81a7826f /lib/Target/X86/X86ISelLowering.h | |
| parent | 45fb79bc54159330979bf24e4bfbdbb64bee1e2c (diff) | |
| download | external_llvm-50e64cfe6e250dbe2528fc5bda75c68b04a8bc49.zip external_llvm-50e64cfe6e250dbe2528fc5bda75c68b04a8bc49.tar.gz external_llvm-50e64cfe6e250dbe2528fc5bda75c68b04a8bc49.tar.bz2 | |
Modify the code that lowers shuffles to blends from using blendvXX to vblendXX.
blendv uses a register for the selection while vblend uses an immediate.
On sandybridge they still have the same latency and execute on the same execution ports.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154396 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86ISelLowering.h')
| -rw-r--r-- | lib/Target/X86/X86ISelLowering.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/Target/X86/X86ISelLowering.h b/lib/Target/X86/X86ISelLowering.h index ca8efe6..4e00733 100644 --- a/lib/Target/X86/X86ISelLowering.h +++ b/lib/Target/X86/X86ISelLowering.h @@ -175,9 +175,14 @@ namespace llvm { /// PSIGN - Copy integer sign. PSIGN, - /// BLEND family of opcodes + /// BLENDV - Blend where the selector is an XMM. BLENDV, + /// BLENDxx - Blend where the selector is an immediate. + BLENDPW, + BLENDPS, + BLENDPD, + /// HADD - Integer horizontal add. HADD, |
