aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/riscv/zcmt-fail.l
diff options
context:
space:
mode:
Diffstat (limited to 'gas/testsuite/gas/riscv/zcmt-fail.l')
-rw-r--r--gas/testsuite/gas/riscv/zcmt-fail.l13
1 files changed, 13 insertions, 0 deletions
diff --git a/gas/testsuite/gas/riscv/zcmt-fail.l b/gas/testsuite/gas/riscv/zcmt-fail.l
new file mode 100644
index 0000000..f67ac3e
--- /dev/null
+++ b/gas/testsuite/gas/riscv/zcmt-fail.l
@@ -0,0 +1,13 @@
+.*: Assembler messages:
+.*: Error: bad index value for cm.jt, range: \[0, 31\]
+.*: Error: illegal operands `cm.jt -1'
+.*: Error: bad index value for cm.jt, range: \[0, 31\]
+.*: Error: illegal operands `cm.jt 256'
+.*: Error: bad index value for cm.jt, range: \[0, 31\]
+.*: Error: illegal operands `cm.jt x0'
+.*: Error: bad index value for cm.jalt, range: \[32, 255\]
+.*: Error: illegal operands `cm.jalt -1'
+.*: Error: bad index value for cm.jalt, range: \[32, 255\]
+.*: Error: illegal operands `cm.jalt 256'
+.*: Error: bad index value for cm.jalt, range: \[32, 255\]
+.*: Error: illegal operands `cm.jalt x0'