aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2017-10-18 15:07:36 +0100
committerNick Clifton <nickc@redhat.com>2017-10-18 15:07:36 +0100
commit8ef027f00ba0252e22ce548c3d270db978184b5a (patch)
tree8907e70e779c952024654bfdecba2cc68a06cbb0 /gas
parent94ea37b3e93d4400cb0ae1e97b1241a552a4ab5e (diff)
downloadgdb-8ef027f00ba0252e22ce548c3d270db978184b5a.zip
gdb-8ef027f00ba0252e22ce548c3d270db978184b5a.tar.gz
gdb-8ef027f00ba0252e22ce548c3d270db978184b5a.tar.bz2
Update Cris assembler tests for checks that now pass where they used to fail.
PR gas/22304 * testsuite/gas/cris/range-err-1.s: Remove spurious xfails. * testsuite/gas/cris/cris.exp: Expect the shexpr-1 test to pass.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog6
-rw-r--r--gas/testsuite/gas/cris/cris.exp3
-rw-r--r--gas/testsuite/gas/cris/range-err-1.s6
3 files changed, 9 insertions, 6 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 03ec43c..a38ffa3 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,11 @@
2017-10-18 Nick Clifton <nickc@redhat.com>
+ PR gas/22304
+ * testsuite/gas/cris/range-err-1.s: Remove spurious xfails.
+ * testsuite/gas/cris/cris.exp: Expect the shexpr-1 test to pass.
+
+2017-10-18 Nick Clifton <nickc@redhat.com>
+
* po/sv.po: Updated Swedish translation.
2017-10-16 Sandra Loosemore <sandra@codesourcery.com>
diff --git a/gas/testsuite/gas/cris/cris.exp b/gas/testsuite/gas/cris/cris.exp
index 0a93557..fc48718 100644
--- a/gas/testsuite/gas/cris/cris.exp
+++ b/gas/testsuite/gas/cris/cris.exp
@@ -497,9 +497,6 @@ if [istarget cris-*-*] then {
run_dump_test "nosep"
run_dump_test "labfloat"
run_dump_test "bork"
-
- # This seems like a generic expression evaluation problem.
- setup_xfail "cris-*-*"
run_dump_test "shexpr-1"
# The "@" will be erroneously interpreted as a line-separator in a
diff --git a/gas/testsuite/gas/cris/range-err-1.s b/gas/testsuite/gas/cris/range-err-1.s
index ecced26..6a72b77 100644
--- a/gas/testsuite/gas/cris/range-err-1.s
+++ b/gas/testsuite/gas/cris/range-err-1.s
@@ -26,7 +26,7 @@ start:
movs.b -129,r0 ; { dg-error "Immediate value not in 8 bit range: -129" }
movs.b 128,r0 ; { dg-error "Immediate value not in 8 bit range: 128" "" { xfail *-*-* } }
movs.b -32769,r0 ; { dg-error "Immediate value not in (8|16) bit range: -32769" }
- movs.b 0xffffffff,r0 ; { dg-error "Immediate value not in (8|16) bit range: (4294967295|-1)" "" { xfail *-*-* } }
+ movs.b 0xffffffff,r0 ; { dg-error "Immediate value not in (8|16) bit range: (4294967295|-1)" "" }
movs.w 32768,r0 ; { dg-error "Immediate value not in 16 bit range: 32768" "" { xfail *-*-* } }
movs.w 0x8000,r0 ; { dg-error "Immediate value not in 16 bit range: 32768" "" { xfail *-*-* } }
@@ -35,7 +35,7 @@ start:
movs.w -32769,r0 ; { dg-error "Immediate value not in 16 bit range: -32769" }
movs.w 65536,r0 ; { dg-error "Immediate value not in 16 bit range: 65536" }
movs.w -32769,r0 ; { dg-error "Immediate value not in 16 bit range: -32769" }
- movs.w 0xffffffff,r0 ; { dg-error "Immediate value not in 16 bit range: (4294967295|-1)" "" { xfail *-*-* } }
+ movs.w 0xffffffff,r0 ; { dg-error "Immediate value not in 16 bit range: (4294967295|-1)" "" }
movu.b 256,r0 ; { dg-error "Immediate value not in 8 bit range: 256" }
movu.b 0x100,r0 ; { dg-error "Immediate value not in 8 bit range: 256" }
@@ -47,7 +47,7 @@ start:
movu.w 65536,r0 ; { dg-error "Immediate value not in 16 bit range: 65536" }
movu.w -32769,r0 ; { dg-error "Immediate value not in 16 bit range: -32769" }
movu.w -1,r0 ; { dg-error "Immediate value not in 16 bit unsigned range: -1" "" { xfail *-*-* } }
- movu.w 0xffffffff,r0 ; { dg-error "Immediate value not in 16 bit (unsigned )?range: (4294967295|-1)" "" { xfail *-*-* } }
+ movu.w 0xffffffff,r0 ; { dg-error "Immediate value not in 16 bit (unsigned )?range: (4294967295|-1)" "" }
add.b -129,r5 ; { dg-error "Immediate value not in 8 bit range: -129" }
add.b -255,r5 ; { dg-error "Immediate value not in 8 bit range: -255" }