aboutsummaryrefslogtreecommitdiff
path: root/test/MC/Disassembler/AMDGPU/smem_vi.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/Disassembler/AMDGPU/smem_vi.txt')
-rw-r--r--test/MC/Disassembler/AMDGPU/smem_vi.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/MC/Disassembler/AMDGPU/smem_vi.txt b/test/MC/Disassembler/AMDGPU/smem_vi.txt
new file mode 100644
index 000000000000..d98597b7fcb7
--- /dev/null
+++ b/test/MC/Disassembler/AMDGPU/smem_vi.txt
@@ -0,0 +1,10 @@
+# RUN: llvm-mc -arch=amdgcn -mcpu=tonga -disassemble -show-encoding < %s | FileCheck %s -check-prefix=VI
+
+# VI: s_dcache_wb ; encoding: [0x00,0x00,0x84,0xc0,0x00,0x00,0x00,0x00]
+0x00 0x00 0x84 0xc0 0x00 0x00 0x00 0x00
+
+# VI: s_dcache_wb_vol ; encoding: [0x00,0x00,0x8c,0xc0,0x00,0x00,0x00,0x00]
+0x00 0x00 0x8c 0xc0 0x00 0x00 0x00 0x00
+
+# VI: s_memrealtime s[4:5] ; encoding: [0x00,0x01,0x94,0xc0,0x00,0x00,0x00,0x00]
+0x00 0x01 0x94 0xc0 0x00 0x00 0x00 0x00