summaryrefslogtreecommitdiff
path: root/test/MC/SystemZ/insn-bad.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/SystemZ/insn-bad.s')
-rw-r--r--test/MC/SystemZ/insn-bad.s54
1 files changed, 54 insertions, 0 deletions
diff --git a/test/MC/SystemZ/insn-bad.s b/test/MC/SystemZ/insn-bad.s
index 7e76f43253d1..81f6cfed0070 100644
--- a/test/MC/SystemZ/insn-bad.s
+++ b/test/MC/SystemZ/insn-bad.s
@@ -1660,6 +1660,14 @@
la %r0, -1
la %r0, 4096
+#CHECK: error: invalid operand
+#CHECK: lae %r0, -1
+#CHECK: error: invalid operand
+#CHECK: lae %r0, 4096
+
+ lae %r0, -1
+ lae %r0, 4096
+
#CHECK: error: instruction requires: interlocked-access1
#CHECK: laa %r1, %r2, 100(%r3)
laa %r1, %r2, 100(%r3)
@@ -1676,6 +1684,33 @@
#CHECK: laalg %r1, %r2, 100(%r3)
laalg %r1, %r2, 100(%r3)
+#CHECK: error: invalid operand
+#CHECK: laey %r0, -524289
+#CHECK: error: invalid operand
+#CHECK: laey %r0, 524288
+
+ laey %r0, -524289
+ laey %r0, 524288
+
+#CHECK: error: invalid operand
+#CHECK: lam %a0, %a0, 4096
+#CHECK: error: invalid use of indexed addressing
+#CHECK: lam %a0, %a0, 0(%r1,%r2)
+
+ lam %a0, %a0, 4096
+ lam %a0, %a0, 0(%r1,%r2)
+
+#CHECK: error: invalid operand
+#CHECK: lamy %a0, %a0, -524289
+#CHECK: error: invalid operand
+#CHECK: lamy %a0, %a0, 524288
+#CHECK: error: invalid use of indexed addressing
+#CHECK: lamy %a0, %a0, 0(%r1,%r2)
+
+ lamy %a0, %a0, -524289
+ lamy %a0, %a0, 524288
+ lamy %a0, %a0, 0(%r1,%r2)
+
#CHECK: error: instruction requires: interlocked-access1
#CHECK: lan %r1, %r2, 100(%r3)
lan %r1, %r2, 100(%r3)
@@ -3350,6 +3385,25 @@
st %r0, 4096
#CHECK: error: invalid operand
+#CHECK: stam %a0, %a0, 4096
+#CHECK: error: invalid use of indexed addressing
+#CHECK: stam %a0, %a0, 0(%r1,%r2)
+
+ stam %a0, %a0, 4096
+ stam %a0, %a0, 0(%r1,%r2)
+
+#CHECK: error: invalid operand
+#CHECK: stamy %a0, %a0, -524289
+#CHECK: error: invalid operand
+#CHECK: stamy %a0, %a0, 524288
+#CHECK: error: invalid use of indexed addressing
+#CHECK: stamy %a0, %a0, 0(%r1,%r2)
+
+ stamy %a0, %a0, -524289
+ stamy %a0, %a0, 524288
+ stamy %a0, %a0, 0(%r1,%r2)
+
+#CHECK: error: invalid operand
#CHECK: stc %r0, -1
#CHECK: error: invalid operand
#CHECK: stc %r0, 4096