aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2018-07-14 02:05:08 +0000
committerCraig Topper <craig.topper@intel.com>2018-07-14 02:05:08 +0000
commitf0b164415c383be9d20031d52cf5db9ae71cded8 (patch)
tree26beee3fa7ce875eab5f2aa1d6b23cab85871f70 /llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp
parent70993d37e8dd2031b623071372d7aebefb18c74c (diff)
downloadllvm-f0b164415c383be9d20031d52cf5db9ae71cded8.zip
llvm-f0b164415c383be9d20031d52cf5db9ae71cded8.tar.gz
llvm-f0b164415c383be9d20031d52cf5db9ae71cded8.tar.bz2
[X86] Prefer blendi over movss/sd when avx512 is enabled unless optimizing for size.
AVX512 doesn't have an immediate controlled blend instruction. But blend throughput is still better than movss/sd on SKX. This commit changes AVX512 to use the AVX blend instructions instead of MOVSS/MOVSD. This constrains the register allocation since it won't be able to use XMM16-31, but hopefully the increased throughput and reduced port 5 pressure makes up for that. llvm-svn: 337083
Diffstat (limited to 'llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp')
0 files changed, 0 insertions, 0 deletions