Dinar Temirbulatov
aead31a36f
[X86] SET0 to use XMM registers where possible PR26018 PR32862
...
Differential Revision: https://reviews.llvm.org/D35839
llvm-svn: 309298
2017-07-27 17:47:01 +00:00
Simon Pilgrim
f9ea0959d9
[X86][AVX] Regenerate tests with constant broadcast comments
...
llvm-svn: 308110
2017-07-15 21:17:35 +00:00
Simon Pilgrim
b9fa16bc53
[X86][AVX2] Dropped -mcpu from avx2 arithmetic/intrinsics tests
...
Use triple and attribute only for consistency
llvm-svn: 306531
2017-06-28 10:54:54 +00:00
Simon Pilgrim
935beac173
[X86][AVX2] Regenerate arithmetic tests
...
Fixed missing checks for tests that used a '-' in the name, which was messing with update_llc_test_checks.py
llvm-svn: 291363
2017-01-07 20:38:36 +00:00
Simon Pilgrim
d0d90fb9b2
[X86][AVX2] Regenerate and add 32-bit tests to core tests
...
llvm-svn: 283666
2016-10-08 18:36:57 +00:00
Simon Pilgrim
4f683c264a
[X86][SSE] Add v16i8/v32i8 multiplication support
...
Patch to allow int8 vectors to be multiplied on the SSE unit instead of being scalarized.
The patch sign extends the i8 lanes to i16, uses the SSE2 pmullw multiplication instruction, then packs the lower byte from each result.
Differential Revision: http://reviews.llvm.org/D9115
llvm-svn: 235837
2015-04-27 07:55:46 +00:00
Benjamin Kramer
d443e4a080
DAGCombiner: Don't fold vector muls with constants that look like a splat of a power of 2 but differ in bit width.
...
PR17283.
llvm-svn: 191000
2013-09-19 13:28:20 +00:00
Stephen Lin
98cbca2e4d
Disambiguate function names in some CodeGen tests. (Some tests were using function names that also were names of instructions and/or doing other unusual things that were making the test not amenable to otherwise scriptable pattern matching.) No functionality change.
...
llvm-svn: 186621
2013-07-18 22:29:15 +00:00
Stephen Lin
f799e3f944
Convert CodeGen/*/*.ll tests to use the new CHECK-LABEL for easier debugging. No functionality change and all tests pass after conversion.
...
This was done with the following sed invocation to catch label lines demarking function boundaries:
sed -i '' "s/^;\( *\)\([A-Z0-9_]*\):\( *\)test\([A-Za-z0-9_-]*\):\( *\)$/;\1\2-LABEL:\3test\4:\5/g" test/CodeGen/*/*.ll
which was written conservatively to avoid false positives rather than false negatives. I scanned through all the changes and everything looks correct.
llvm-svn: 186258
2013-07-13 20:38:47 +00:00
Elena Demikhovsky
6769c50d9e
Optimized integer vector multiplication operation by replacing it with shift/xor/sub when it is possible. Fixed a bug in SDIV, where the const operand is not a splat constant vector.
...
llvm-svn: 184931
2013-06-26 10:55:03 +00:00
Craig Topper
8c8a431057
Add AVX2 instruction lowering for add, sub, and mul.
...
llvm-svn: 144174
2011-11-09 07:28:55 +00:00