aboutsummaryrefslogtreecommitdiff
path: root/test/MC/Hexagon/reg_altnames.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/Hexagon/reg_altnames.s')
-rw-r--r--test/MC/Hexagon/reg_altnames.s10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/MC/Hexagon/reg_altnames.s b/test/MC/Hexagon/reg_altnames.s
new file mode 100644
index 00000000000..9c7f7e9b0bf
--- /dev/null
+++ b/test/MC/Hexagon/reg_altnames.s
@@ -0,0 +1,10 @@
+# RUN: llvm-mc -triple hexagon -filetype=obj %s | llvm-objdump -d - | FileCheck %s
+
+# CHECK: 11 df 75 f1
+r17 = xor(r21, lr)
+
+# CHECK: 1d df 35 f3
+sp = sub(lr, r21)
+
+# CHECK: 15 c0 3e 71
+fp.l = #21