summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/AMDGPU
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2017-02-28 20:15:46 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2017-02-28 20:15:46 +0000
commit781249833bfbcf30bfaa83022481ae54c39c82c0 (patch)
tree3e8131932a315bae08544ec13f9720625920330c /llvm/test/MC/AMDGPU
parentdedc544ac773303e6c68cd9e1c73533a3e4199fe (diff)
downloadbcm5719-llvm-781249833bfbcf30bfaa83022481ae54c39c82c0.tar.gz
bcm5719-llvm-781249833bfbcf30bfaa83022481ae54c39c82c0.zip
AMDGPU: Add ds_nop to assembler
llvm-svn: 296513
Diffstat (limited to 'llvm/test/MC/AMDGPU')
-rw-r--r--llvm/test/MC/AMDGPU/ds.s5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/test/MC/AMDGPU/ds.s b/llvm/test/MC/AMDGPU/ds.s
index 31f29cc57bb..d867b137297 100644
--- a/llvm/test/MC/AMDGPU/ds.s
+++ b/llvm/test/MC/AMDGPU/ds.s
@@ -477,3 +477,8 @@ ds_write_b128 v2, v[4:7]
// NOSI: error: instruction not supported on this GPU
// CI: ds_write_b128 v2, v[4:7] ; encoding: [0x00,0x00,0x7c,0xdb,0x02,0x04,0x00,0x00]
// VI: ds_write_b128 v2, v[4:7] ; encoding: [0x00,0x00,0xbe,0xd9,0x02,0x04,0x00,0x00]
+
+ds_nop
+// NOSI: error: instruction not supported on this GPU
+// CI: ds_nop ; encoding: [0x00,0x00,0x50,0xd8,0x00,0x00,0x00,0x00]
+// VI: ds_nop ; encoding: [0x00,0x00,0x28,0xd8,0x00,0x00,0x00,0x00]
OpenPOWER on IntegriCloud