summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/Disassembler
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2018-09-07 21:54:46 +0000
committerThomas Lively <tlively@google.com>2018-09-07 21:54:46 +0000
commita0d25815a063bc825d0962dfd93e225242599795 (patch)
treecea4a07bfd972b9f9f7fd4c756f82dbe099260b8 /llvm/test/MC/Disassembler
parent3a406e5a744b836b1e170a3c7f9cff4893b5d3f1 (diff)
downloadbcm5719-llvm-a0d25815a063bc825d0962dfd93e225242599795.tar.gz
bcm5719-llvm-a0d25815a063bc825d0962dfd93e225242599795.zip
[WebAssembly] v8x16.shuffle
Summary: Since the shuffle mask is not exposed as an operand in the native ISel DAG, create a new WebAssembly ISD node exposing the mask. The mask is lowered as sixteen immediate byte indices no matter what type the original vector shuffle was operating on. This CL depends on D51656 Reviewers: aheejin, dschuff Subscribers: sbc100, jgravelle-google, sunfish, llvm-commits Differential Revision: https://reviews.llvm.org/D51659 llvm-svn: 341718
Diffstat (limited to 'llvm/test/MC/Disassembler')
-rw-r--r--llvm/test/MC/Disassembler/WebAssembly/wasm.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/test/MC/Disassembler/WebAssembly/wasm.txt b/llvm/test/MC/Disassembler/WebAssembly/wasm.txt
index 99cd7daa984..785c57826a2 100644
--- a/llvm/test/MC/Disassembler/WebAssembly/wasm.txt
+++ b/llvm/test/MC/Disassembler/WebAssembly/wasm.txt
@@ -34,3 +34,6 @@
# v128.const is arbitrarily disassembled as v16i8
# CHECK: v128.const 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
0xFD 0x00 0x00 0x01 0x02 0x03 0x04 0x05 0x06 0x07 0x08 0x09 0x0A 0x0B 0x0C 0x0D 0x0E 0x0F
+
+# CHECK: v8x16.shuffle 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
+0xFD 0x17 0x00 0x01 0x02 0x03 0x04 0x05 0x06 0x07 0x08 0x09 0x0A 0x0B 0x0C 0x0D 0x0E 0x0F
OpenPOWER on IntegriCloud