mirror of
https://github.com/intel/llvm.git
synced 2026-01-18 16:50:51 +08:00
[AMDGPU][MC][GFX10] Add missing s_scratch_load tests.
Completes https://reviews.llvm.org/D125117 Reviewed By: dp, arsenm Differential Revision: https://reviews.llvm.org/D125753
This commit is contained in:
@@ -920,6 +920,9 @@ s_scratch_load_dwordx2 s[100:101], s[2:3], s0
|
||||
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]
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user