Daniel Sanders
e85dd7c26d
[mips] Correct lowering of VECTOR_SHUFFLE to VSHF.
...
Summary:
VECTOR_SHUFFLE concatenates the vectors in an vectorwise fashion.
<0b00, 0b01> + <0b10, 0b11> -> <0b00, 0b01, 0b10, 0b11>
VSHF concatenates the vectors in a bitwise fashion:
<0b00, 0b01> + <0b10, 0b11> ->
0b0100 + 0b1110 -> 0b01001110
<0b10, 0b11, 0b00, 0b01>
We must therefore swap the operands to get the correct result.
The test case that discovered the issue was MultiSource/Benchmarks/nbench.
Reviewers: matheusalmeida
Reviewed By: matheusalmeida
Differential Revision: http://llvm-reviews.chandlerc.com/D3142
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204480 91177308-0d34-0410-b5e6-96231b3b80d8
2014-03-21 16:56:51 +00:00
..
2014-01-29 15:12:02 +00:00
2013-11-15 11:04:16 +00:00
2013-11-15 11:04:16 +00:00
2013-11-15 11:04:16 +00:00
2013-11-15 11:04:16 +00:00
2013-11-15 11:04:16 +00:00
2013-11-15 11:04:16 +00:00
2013-11-15 11:04:16 +00:00
2013-11-15 11:04:16 +00:00
2013-11-15 11:04:16 +00:00
2013-11-15 11:04:16 +00:00
2013-11-15 11:04:16 +00:00
2013-11-15 12:56:49 +00:00
2013-11-15 11:04:16 +00:00
2013-11-15 11:04:16 +00:00
2013-11-15 11:04:16 +00:00
2013-11-15 11:04:16 +00:00
2013-11-15 11:04:16 +00:00
2013-12-10 11:37:00 +00:00
2013-11-15 11:04:16 +00:00
2013-11-15 11:04:16 +00:00
2013-11-15 11:04:16 +00:00
2013-11-15 11:04:16 +00:00
2013-11-15 11:04:16 +00:00
2013-11-15 11:04:16 +00:00
2013-11-15 11:04:16 +00:00
2013-11-15 11:04:16 +00:00
2014-03-03 14:31:21 +00:00
2013-11-15 11:04:16 +00:00
2014-03-04 13:54:30 +00:00
2014-03-03 14:31:21 +00:00
2013-11-15 12:56:49 +00:00
2013-11-15 11:04:16 +00:00
2014-03-12 11:54:00 +00:00
2014-03-12 11:54:00 +00:00
2014-03-12 11:54:00 +00:00
2014-01-29 14:05:28 +00:00
2013-11-15 11:04:16 +00:00
2014-01-31 13:31:20 +00:00
2013-11-15 11:04:16 +00:00
2013-12-10 11:37:00 +00:00
2013-11-15 11:04:16 +00:00
2013-12-09 12:47:12 +00:00
2013-11-15 11:04:16 +00:00
2013-11-15 12:56:49 +00:00
2013-11-15 12:56:49 +00:00
2013-11-15 12:56:49 +00:00
2013-11-15 12:56:49 +00:00
2013-11-15 12:56:49 +00:00
2013-11-15 11:04:16 +00:00
2013-11-15 11:04:16 +00:00
2013-11-12 12:56:01 +00:00
2014-01-24 17:20:08 +00:00
2013-11-15 11:04:16 +00:00
2013-11-15 11:04:16 +00:00
2013-11-15 12:56:49 +00:00
2013-11-15 11:04:16 +00:00
2013-11-22 15:47:18 +00:00
2013-11-22 11:24:50 +00:00
2013-11-21 11:40:14 +00:00
2013-11-21 13:24:49 +00:00
2013-11-25 11:14:43 +00:00
2013-11-15 11:04:16 +00:00
2013-11-15 11:04:16 +00:00
2014-03-03 14:31:21 +00:00
2014-03-21 16:56:51 +00:00
2014-02-10 12:05:17 +00:00
2013-11-15 11:04:16 +00:00
2014-03-12 11:54:00 +00:00
2013-11-15 11:04:16 +00:00