* gas/arm/iwmmxt-bad.s: New file.
authorIan Lance Taylor <ian@airs.com>
Fri, 17 Oct 2003 22:45:29 +0000 (22:45 +0000)
committerIan Lance Taylor <ian@airs.com>
Fri, 17 Oct 2003 22:45:29 +0000 (22:45 +0000)
* gas/arm/iwmmxt-bad.l: New file.
* gas/arm/arm.exp: Run new test.

gas/testsuite/ChangeLog
gas/testsuite/gas/arm/arm.exp
gas/testsuite/gas/arm/iwmmxt-bad.l [new file with mode: 0644]
gas/testsuite/gas/arm/iwmmxt-bad.s [new file with mode: 0644]

index b09f48229117317b61d2f28b229e2929a2babc4c..22f356393cadea4f36a25bc1aba802c731aa73b4 100644 (file)
@@ -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
index 0db080bfb1fa09c54e19c849e2a05b0b46174976..720121d5669b1946d9fc8d2bdea512e8b2791a91 100644 (file)
@@ -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 (file)
index 0000000..66144aa
--- /dev/null
@@ -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 (file)
index 0000000..0c30af1
--- /dev/null
@@ -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]