From 527563502c92f82ceb0427e5c30916244291a2c2 Mon Sep 17 00:00:00 2001 From: "David S. Miller" Date: Wed, 21 Sep 2011 22:29:55 +0000 Subject: [PATCH] Fix sparc testcases when building with 64-bit default. gas/testsuite/ * gas/sparc/imm-plus-rreg.d: Fix address regex for 64-bit. * gas/sparc/save-args.d: Likewise. * gas/sparc/ticc-imm-reg.d: Likewise, add -32 to options. * gas/sparc/v8-movwr-imm.d: Likewise. --- gas/testsuite/ChangeLog | 5 +++++ gas/testsuite/gas/sparc/imm-plus-rreg.d | 2 +- gas/testsuite/gas/sparc/save-args.d | 2 +- gas/testsuite/gas/sparc/ticc-imm-reg.d | 4 ++-- gas/testsuite/gas/sparc/v8-movwr-imm.d | 4 ++-- 5 files changed, 11 insertions(+), 6 deletions(-) diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index da7d3549c7c..ca8f38d0e3f 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -3,6 +3,11 @@ * gas/sparc/hpcvis3.s: Update for fixed fchksum16 mnemonic. * gas/sparc/hpcvis3.d: Likewise. + * gas/sparc/imm-plus-rreg.d: Fix address regex for 64-bit. + * gas/sparc/save-args.d: Likewise. + * gas/sparc/ticc-imm-reg.d: Likewise, add -32 to options. + * gas/sparc/v8-movwr-imm.d: Likewise. + 2011-09-08 Mark Fortescue * gas/sparc/imm-plus-rreg.[sd]: New test. diff --git a/gas/testsuite/gas/sparc/imm-plus-rreg.d b/gas/testsuite/gas/sparc/imm-plus-rreg.d index aed738b8464..4af1f188e63 100644 --- a/gas/testsuite/gas/sparc/imm-plus-rreg.d +++ b/gas/testsuite/gas/sparc/imm-plus-rreg.d @@ -6,7 +6,7 @@ Disassembly of section .text: -00000000 : +0+ : 0: c2 02 20 0a ld \[ %o0 \+ 0xa \], %g1 4: c4 04 a0 0a ld \[ %l2 \+ 0xa \], %g2 8: c4 22 20 0a st %g2, \[ %o0 \+ 0xa \] diff --git a/gas/testsuite/gas/sparc/save-args.d b/gas/testsuite/gas/sparc/save-args.d index ab5b79f09df..19e6d7281ca 100644 --- a/gas/testsuite/gas/sparc/save-args.d +++ b/gas/testsuite/gas/sparc/save-args.d @@ -6,7 +6,7 @@ Disassembly of section .text: -00000000 : +0+ : 0: 81 e0 00 00 save 4: 9d e3 bf a0 save %sp, -96, %sp 8: 9d e3 bf a0 save %sp, -96, %sp diff --git a/gas/testsuite/gas/sparc/ticc-imm-reg.d b/gas/testsuite/gas/sparc/ticc-imm-reg.d index ae2aca9d76c..dddefaf80ca 100644 --- a/gas/testsuite/gas/sparc/ticc-imm-reg.d +++ b/gas/testsuite/gas/sparc/ticc-imm-reg.d @@ -1,4 +1,4 @@ -#as: -Av8 +#as: -32 -Av8 #objdump: -dr #name: software traps @@ -6,7 +6,7 @@ Disassembly of section .text: -00000000 : +0+ : 0: 91 d2 00 00 ta %o0 4: 91 d2 00 0a ta %o0 \+ %o2 8: 91 d4 20 0a ta %l0 \+ 0xa diff --git a/gas/testsuite/gas/sparc/v8-movwr-imm.d b/gas/testsuite/gas/sparc/v8-movwr-imm.d index 961bb68d9d9..e0c1a007fea 100644 --- a/gas/testsuite/gas/sparc/v8-movwr-imm.d +++ b/gas/testsuite/gas/sparc/v8-movwr-imm.d @@ -1,4 +1,4 @@ -#as: -Av8 +#as: -32 -Av8 #objdump: -dr #name: V8 mov/wr aliases @@ -6,7 +6,7 @@ Disassembly of section .text: -00000000 : +0+ : 0: 83 80 00 10 mov %l0, %asr1 4: 81 80 00 10 mov %l0, %y 8: 81 88 00 10 mov %l0, %psr -- 2.30.2