aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2013-05-24 17:13:49 +0000
committerRichard Sandiford <rdsandiford@googlemail.com>2013-05-24 17:13:49 +0000
commita3dcb6c598f20585aabfcaaee2d6054dc54d0d1c (patch)
tree364ccb012412aa0ce387534020101e92f0bbc11e /gas
parent8f56dad4bb60fea7282951a7945c4c98fc0e8379 (diff)
downloadgdb-a3dcb6c598f20585aabfcaaee2d6054dc54d0d1c.zip
gdb-a3dcb6c598f20585aabfcaaee2d6054dc54d0d1c.tar.gz
gdb-a3dcb6c598f20585aabfcaaee2d6054dc54d0d1c.tar.bz2
opcodes/
* s390-opc.txt (flogr): Require a register pair destination. gas/testsuite/ * gas/s390/zarch-z9-109-err.s, gas/s390/zarch-z9-109-err.l: New test. * gas/s390/s390.exp: Run it.
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/ChangeLog5
-rw-r--r--gas/testsuite/gas/s390/s390.exp1
-rw-r--r--gas/testsuite/gas/s390/zarch-z9-109-err.l2
-rw-r--r--gas/testsuite/gas/s390/zarch-z9-109-err.s3
4 files changed, 11 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index faa07c1..f71d45c 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2013-05-24 Richard Sandiford <rsandifo@linux.vnet.ibm.com>
+
+ * gas/s390/zarch-z9-109-err.s, gas/s390/zarch-z9-109-err.l: New test.
+ * gas/s390/s390.exp: Run it.
+
2013-05-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* gas/s390/zarch-zEC12.d: Adjust length operands for cdzt, cxzt,
diff --git a/gas/testsuite/gas/s390/s390.exp b/gas/testsuite/gas/s390/s390.exp
index 5f02afe..8dee249 100644
--- a/gas/testsuite/gas/s390/s390.exp
+++ b/gas/testsuite/gas/s390/s390.exp
@@ -22,6 +22,7 @@ if [expr [istarget "s390-*-*"] || [istarget "s390x-*-*"]] then {
run_dump_test "zarch-z900" "{as -m64}"
run_dump_test "zarch-z990" "{as -m64} {as -march=z990}"
run_dump_test "zarch-z9-109" "{as -m64} {as -march=z9-109}"
+ run_list_test "zarch-z9-109-err" "-march=z9-109"
run_dump_test "zarch-z9-ec" "{as -m64} {as -march=z9-ec}"
run_dump_test "zarch-z10" "{as -m64} {as -march=z10}"
run_dump_test "zarch-z196" "{as -m64} {as -march=z196}"
diff --git a/gas/testsuite/gas/s390/zarch-z9-109-err.l b/gas/testsuite/gas/s390/zarch-z9-109-err.l
new file mode 100644
index 0000000..1b06f93
--- /dev/null
+++ b/gas/testsuite/gas/s390/zarch-z9-109-err.l
@@ -0,0 +1,2 @@
+.*: Assembler messages:
+.*:3: Fatal error: odd numbered general purpose register specified as register pair
diff --git a/gas/testsuite/gas/s390/zarch-z9-109-err.s b/gas/testsuite/gas/s390/zarch-z9-109-err.s
new file mode 100644
index 0000000..6a94cb0
--- /dev/null
+++ b/gas/testsuite/gas/s390/zarch-z9-109-err.s
@@ -0,0 +1,3 @@
+.text
+foo:
+ flogr %r7,%r8