diff options
| author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2015-04-06 18:39:00 +0000 |
|---|---|---|
| committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2015-04-06 18:39:00 +0000 |
| commit | 49ba9b8e2ffcbe78de5971074a76a60191d59d86 (patch) | |
| tree | 3992764d1f169dcd21c9df44e36188936bafb049 /llvm/lib/Target/TargetMachine.cpp | |
| parent | 7431fb0257a7c7921f3928a8699adb97b4e22936 (diff) | |
| download | bcm5719-llvm-49ba9b8e2ffcbe78de5971074a76a60191d59d86.tar.gz bcm5719-llvm-49ba9b8e2ffcbe78de5971074a76a60191d59d86.zip | |
[X86][SSE] Use (V)PINSRB for direct byte insertion in 16i8 buildvector on SSE4.1 targets
This patch allows SSE4.1 targets to use (V)PINSRB to create 16i8 vectors by inserting i8 scalars directly into a XMM register instead of merging pairs of i8 scalars into a i16 and using the SSE2 PINSRW instruction.
This allows folding of byte loads and reduces scalar register usage as well.
Differential Revision: http://reviews.llvm.org/D8839
llvm-svn: 234193
Diffstat (limited to 'llvm/lib/Target/TargetMachine.cpp')
0 files changed, 0 insertions, 0 deletions

