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-03-10 13:21:10 +00:00
2014-03-04 09:23:33 +00:00
2014-03-04 10:07:28 +00:00
2014-03-21 10:35:14 +00:00
2013-12-11 00:30:57 +00:00
2014-02-14 19:16:39 +00:00
2013-12-10 05:39:34 +00:00
2014-03-20 10:41:37 +00:00
2014-01-21 15:03:52 +00:00
2014-03-20 10:41:37 +00:00
2014-03-07 06:08:31 +00:00
2013-10-29 19:29:03 +00:00
2014-02-14 19:16:39 +00:00
2014-03-04 10:07:28 +00:00
2014-02-14 19:16:39 +00:00
2014-03-02 12:27:27 +00:00
2013-12-06 00:13:50 +00:00
2014-01-23 10:31:31 +00:00
2014-03-04 11:45:46 +00:00
2014-03-04 10:07:28 +00:00
2014-02-05 23:15:53 +00:00
2014-03-12 08:00:24 +00:00
2014-03-20 11:51:58 +00:00
2013-11-28 15:26:33 +00:00
2014-03-20 11:51:58 +00:00
2014-02-28 10:00:38 +00:00
2014-03-02 09:09:27 +00:00
2014-02-07 17:16:40 +00:00
2014-01-07 11:48:04 +00:00
2014-01-21 11:28:03 +00:00
2014-03-04 10:30:26 +00:00
2014-03-10 20:34:23 +00:00
2014-03-20 11:51:58 +00:00
2014-02-05 17:19:30 +00:00
2013-11-19 00:57:56 +00:00
2013-11-19 00:57:56 +00:00
2014-03-20 11:51:58 +00:00
2014-03-04 11:45:46 +00:00
2014-03-03 14:31:21 +00:00
2014-03-20 11:51:58 +00:00
2014-03-20 10:18:24 +00:00
2014-03-02 12:27:27 +00:00
2014-03-04 11:26:31 +00:00
2014-01-07 21:19:40 +00:00
2013-10-29 16:24:21 +00:00
2014-02-10 12:05:17 +00:00
2014-03-12 11:54:00 +00:00
2014-01-07 11:48:04 +00:00
2014-03-12 08:00:24 +00:00
2014-03-20 11:51:58 +00:00
2014-03-20 11:51:58 +00:00
2014-03-07 06:08:31 +00:00
2013-10-29 19:29:03 +00:00
2014-03-20 10:18:24 +00:00
2014-03-13 23:12:04 +00:00
2014-03-03 14:31:21 +00:00
2014-03-21 16:56:51 +00:00
2014-03-02 09:09:27 +00:00
2014-03-12 08:00:24 +00:00
2014-03-20 11:51:58 +00:00
2014-03-20 11:51:58 +00:00
2014-03-10 16:31:25 +00:00
2014-02-08 14:53:28 +00:00
2014-03-02 09:09:27 +00:00
2014-03-20 09:44:49 +00:00
2014-03-12 11:54:00 +00:00