From 8bfee9a109b8a39fbc62dce0fc4ffe1044fce567 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 17 Oct 2003 22:45:29 +0000 Subject: [PATCH] * gas/arm/iwmmxt-bad.s: New file. * gas/arm/iwmmxt-bad.l: New file. * gas/arm/arm.exp: Run new test. --- gas/testsuite/ChangeLog | 6 ++++++ gas/testsuite/gas/arm/arm.exp | 1 + gas/testsuite/gas/arm/iwmmxt-bad.l | 9 +++++++++ gas/testsuite/gas/arm/iwmmxt-bad.s | 8 ++++++++ 4 files changed, 24 insertions(+) create mode 100644 gas/testsuite/gas/arm/iwmmxt-bad.l create mode 100644 gas/testsuite/gas/arm/iwmmxt-bad.s diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index b09f482291..22f356393c 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2003-10-17 Ian Lance Taylor + + * 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 * 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 0db080bfb1..720121d566 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 0000000000..66144aa875 --- /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 0000000000..0c30af10f5 --- /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]