summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/AMDGPU
diff options
context:
space:
mode:
authorStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>2019-07-24 16:21:18 +0000
committerStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>2019-07-24 16:21:18 +0000
commit5cdacea29719082c4c9ec7c543486c4f81c25bd4 (patch)
tree0b155493c292dd6b2579bca9c63d2c91880c3b07 /llvm/test/MC/AMDGPU
parent0b7f2263118cb108467e3afdb8fda332735c1e12 (diff)
downloadbcm5719-llvm-5cdacea29719082c4c9ec7c543486c4f81c25bd4.tar.gz
bcm5719-llvm-5cdacea29719082c4c9ec7c543486c4f81c25bd4.zip
[AMDGPU] Add all vgpr classes to asm parser
Differential Revision: https://reviews.llvm.org/D65158 llvm-svn: 366917
Diffstat (limited to 'llvm/test/MC/AMDGPU')
-rw-r--r--llvm/test/MC/AMDGPU/gfx9_asm_all.s3
-rw-r--r--llvm/test/MC/AMDGPU/mai-err.s4
2 files changed, 5 insertions, 2 deletions
diff --git a/llvm/test/MC/AMDGPU/gfx9_asm_all.s b/llvm/test/MC/AMDGPU/gfx9_asm_all.s
index fc4d8f438cc..cb800da9ca6 100644
--- a/llvm/test/MC/AMDGPU/gfx9_asm_all.s
+++ b/llvm/test/MC/AMDGPU/gfx9_asm_all.s
@@ -5977,6 +5977,9 @@ image_load v5, v[1:4], s[8:15] dmask:0x1 da
image_load v5, v[1:4], s[8:15] dmask:0x1 d16
// CHECK: [0x00,0x01,0x00,0xf0,0x01,0x05,0x02,0x80]
+image_load v[0:4], v5, s[0:7] dmask:0xf unorm tfe
+// CHECK: [0x00,0x1f,0x01,0xf0,0x05,0x00,0x00,0x00]
+
image_load_mip v5, v[1:4], s[8:15] dmask:0x1
// CHECK: [0x00,0x01,0x04,0xf0,0x01,0x05,0x02,0x00]
diff --git a/llvm/test/MC/AMDGPU/mai-err.s b/llvm/test/MC/AMDGPU/mai-err.s
index 4834b895e37..24d90d61441 100644
--- a/llvm/test/MC/AMDGPU/mai-err.s
+++ b/llvm/test/MC/AMDGPU/mai-err.s
@@ -32,10 +32,10 @@ v_accvgpr_write_b32 a0, v0
// GFX900: error: instruction not supported on this GPU
v_mfma_f32_32x32x1f32 v[0:31], v0, v1, a[1:32]
-// GFX908: error: not a valid operand
+// GFX908: error: invalid operand for instruction
v_mfma_f32_32x32x1f32 a[0:31], v0, v1, v[1:32]
-// GFX908: error: not a valid operand
+// GFX908: error: invalid operand for instruction
v_mfma_f32_32x32x1f32 a[0:31], s0, v1, a[1:32]
// GFX908: error: invalid operand for instruction
OpenPOWER on IntegriCloud