diff options
Diffstat (limited to 'gas')
-rw-r--r-- | gas/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gas/testsuite/gas/s390/s390.exp | 1 | ||||
-rw-r--r-- | gas/testsuite/gas/s390/zarch-z9-109-err.l | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/s390/zarch-z9-109-err.s | 3 |
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 |