[PATCH] D125753: [AMDGPU][MC][GFX10] Add missing s_scratch_load tests.
Ivan Kosarev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 18 03:11:58 PDT 2022
This revision was automatically updated to reflect the committed changes.
Closed by commit rG140ad30b24fa: [AMDGPU][MC][GFX10] Add missing s_scratch_load tests. (authored by kosarev).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D125753/new/
https://reviews.llvm.org/D125753
Files:
llvm/test/MC/AMDGPU/gfx10_asm_smem.s
llvm/test/MC/Disassembler/AMDGPU/gfx10_dasm_all.txt
Index: llvm/test/MC/Disassembler/AMDGPU/gfx10_dasm_all.txt
===================================================================
--- llvm/test/MC/Disassembler/AMDGPU/gfx10_dasm_all.txt
+++ llvm/test/MC/Disassembler/AMDGPU/gfx10_dasm_all.txt
@@ -18089,6 +18089,9 @@
# GFX10: s_scratch_load_dwordx2 s[10:11], s[2:3], 0x1 glc ; encoding: [0x81,0x02,0x19,0xf4,0x01,0x00,0x00,0xfa]
0x81,0x02,0x19,0xf4,0x01,0x00,0x00,0xfa
+# GFX10: s_scratch_load_dwordx2 s[10:11], s[2:3], s0 offset:0x12345 glc ; encoding: [0x81,0x02,0x19,0xf4,0x45,0x23,0x01,0x00]
+0x81,0x02,0x19,0xf4,0x45,0x23,0x01,0x00
+
# GFX10: s_scratch_load_dwordx4 s[20:23], s[4:5], s0 ; encoding: [0x02,0x05,0x1c,0xf4,0x00,0x00,0x00,0x00]
0x02,0x05,0x1c,0xf4,0x00,0x00,0x00,0x00
Index: llvm/test/MC/AMDGPU/gfx10_asm_smem.s
===================================================================
--- llvm/test/MC/AMDGPU/gfx10_asm_smem.s
+++ llvm/test/MC/AMDGPU/gfx10_asm_smem.s
@@ -920,6 +920,9 @@
s_scratch_load_dwordx2 s[10:11], s[2:3], 0x1 glc
// GFX10: encoding: [0x81,0x02,0x19,0xf4,0x01,0x00,0x00,0xfa]
+s_scratch_load_dwordx2 s[10:11], s[2:3], s0 offset:0x12345 glc
+// GFX10: encoding: [0x81,0x02,0x19,0xf4,0x45,0x23,0x01,0x00]
+
s_scratch_load_dwordx4 s[20:23], s[4:5], s0
// GFX10: encoding: [0x02,0x05,0x1c,0xf4,0x00,0x00,0x00,0x00]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125753.430307.patch
Type: text/x-patch
Size: 1308 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220518/5bfab413/attachment.bin>
More information about the llvm-commits
mailing list