diff options
author | Ian Lance Taylor <ian@airs.com> | 2003-10-17 22:45:29 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 2003-10-17 22:45:29 +0000 |
commit | 8bfee9a109b8a39fbc62dce0fc4ffe1044fce567 (patch) | |
tree | 6d13a5c8ff5cf1b5b161dcd6dc1fc7a7fd49693d | |
parent | 8db32d44ca88f0560e8a81aec6889fd1f8c7d348 (diff) | |
download | gdb-8bfee9a109b8a39fbc62dce0fc4ffe1044fce567.zip gdb-8bfee9a109b8a39fbc62dce0fc4ffe1044fce567.tar.gz gdb-8bfee9a109b8a39fbc62dce0fc4ffe1044fce567.tar.bz2 |
* gas/arm/iwmmxt-bad.s: New file.
* gas/arm/iwmmxt-bad.l: New file.
* gas/arm/arm.exp: Run new test.
-rw-r--r-- | gas/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gas/testsuite/gas/arm/arm.exp | 1 | ||||
-rw-r--r-- | gas/testsuite/gas/arm/iwmmxt-bad.l | 9 | ||||
-rw-r--r-- | gas/testsuite/gas/arm/iwmmxt-bad.s | 8 |
4 files changed, 24 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index b09f482..22f3563 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2003-10-17 Ian Lance Taylor <ian@wasabisystems.com> + + * gas/arm/iwmmxt-bad.s: New file. + * gas/arm/iwmmxt-bad.l: New file. + * gas/arm/arm.exp: Run new test. + 2003-10-16 Ian Lance Taylor <ian@wasabisystems.com> * gas/arm/iwmmxt.d: Add -miwmmxt to #objdump line, to get the diff --git a/gas/testsuite/gas/arm/arm.exp b/gas/testsuite/gas/arm/arm.exp index 0db080b..720121d 100644 --- a/gas/testsuite/gas/arm/arm.exp +++ b/gas/testsuite/gas/arm/arm.exp @@ -83,4 +83,5 @@ if [istarget arm-*-pe] { if [istarget xscale-*] { run_dump_test "iwmmxt" + run_errors_test "iwmmxt-bad" "-mcpu=iwmmxt" "iWMMXt errors" } diff --git a/gas/testsuite/gas/arm/iwmmxt-bad.l b/gas/testsuite/gas/arm/iwmmxt-bad.l new file mode 100644 index 0000000..66144aa --- /dev/null +++ b/gas/testsuite/gas/arm/iwmmxt-bad.l @@ -0,0 +1,9 @@ +[^:]*: Assembler messages: +[^:]*:1: Error: conditional execution not supported with control register +[^:]*:2: Error: non-word size not supported with control register +[^:]*:3: Error: non-word size not supported with control register +[^:]*:4: Error: non-word size not supported with control register +[^:]*:5: Error: conditional execution not supported with control register +[^:]*:6: Error: non-word size not supported with control register +[^:]*:7: Error: non-word size not supported with control register +[^:]*:8: Error: non-word size not supported with control register diff --git a/gas/testsuite/gas/arm/iwmmxt-bad.s b/gas/testsuite/gas/arm/iwmmxt-bad.s new file mode 100644 index 0000000..0c30af1 --- /dev/null +++ b/gas/testsuite/gas/arm/iwmmxt-bad.s @@ -0,0 +1,8 @@ + wldrwgt wcgr0,[r1] + wldrb wcgr0,[r1] + wldrh wcgr0,[r1] + wldrd wcgr0,[r1] + wstrwgt wcgr0,[r1] + wstrb wcgr0,[r1] + wstrh wcgr0,[r1] + wstrd wcgr0,[r1] |