aboutsummaryrefslogtreecommitdiff
path: root/test/MC/Hexagon/v60-misc.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/Hexagon/v60-misc.s')
-rw-r--r--test/MC/Hexagon/v60-misc.s10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/MC/Hexagon/v60-misc.s b/test/MC/Hexagon/v60-misc.s
new file mode 100644
index 00000000000..335f02983c0
--- /dev/null
+++ b/test/MC/Hexagon/v60-misc.s
@@ -0,0 +1,10 @@
+# RUN: llvm-mc -arch=hexagon -mcpu=hexagonv60 -mattr=+hvx -filetype=obj %s | llvm-objdump -arch=hexagon -mcpu=hexagonv60 -mattr=+hvx -d - | FileCheck %s
+
+# CHECK: 1c2eceee { v14 = vxor(v14,{{ *}}v14) }
+v14 = #0
+
+# CHECK: 1c80c0a0 { v1:0.w = vsub(v1:0.w,v1:0.w) }
+v1:0 = #0
+
+# CHECK: 1f42c3e0 { v1:0 = vcombine(v3,v2) }
+v1:0 = v3:2