aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/ChangeLog6
-rw-r--r--gas/testsuite/gas/arm/arm.exp1
-rw-r--r--gas/testsuite/gas/arm/iwmmxt-bad.l9
-rw-r--r--gas/testsuite/gas/arm/iwmmxt-bad.s8
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]