summaryrefslogtreecommitdiff
path: root/test/MC/AMDGPU/sopc.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/AMDGPU/sopc.s')
-rw-r--r--test/MC/AMDGPU/sopc.s9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/MC/AMDGPU/sopc.s b/test/MC/AMDGPU/sopc.s
new file mode 100644
index 00000000000..0899c1a2eed
--- /dev/null
+++ b/test/MC/AMDGPU/sopc.s
@@ -0,0 +1,9 @@
+// RUN: llvm-mc -arch=amdgcn -show-encoding %s | FileCheck %s
+// RUN: llvm-mc -arch=amdgcn -show-encoding %s | FileCheck %s
+
+//===----------------------------------------------------------------------===//
+// Instructions
+//===----------------------------------------------------------------------===//
+
+s_cmp_eq_i32 s1, s2
+// CHECK: s_cmp_eq_i32 s1, s2 ; encoding: [0x01,0x02,0x00,0xbf]