From d9fa356624ec5831478874839149195696d53f34 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Thu, 17 May 2012 07:03:20 +0000 Subject: [PATCH] * gas/ppc/vle.d: Pass -a32 to assembler. * gas/ppc/vle-reloc.d: Likewise. * gas/ppc/vle-simple-1.d: Likewise, also match wider addresses. * gas/ppc/vle-simple-2.d: Likewise. * gas/ppc/vle-simple-3.d: Likewise. * gas/ppc/vle-simple-4.d: Likewise. * gas/ppc/vle-simple-5.d: Likewise. * gas/ppc/vle-simple-6.d: Likewise. --- gas/testsuite/ChangeLog | 11 +++++++++++ gas/testsuite/gas/ppc/vle-reloc.d | 2 +- gas/testsuite/gas/ppc/vle-simple-1.d | 22 +++++++++++----------- gas/testsuite/gas/ppc/vle-simple-2.d | 22 +++++++++++----------- gas/testsuite/gas/ppc/vle-simple-3.d | 4 ++-- gas/testsuite/gas/ppc/vle-simple-4.d | 4 ++-- gas/testsuite/gas/ppc/vle-simple-5.d | 4 ++-- gas/testsuite/gas/ppc/vle-simple-6.d | 4 ++-- gas/testsuite/gas/ppc/vle.d | 2 +- 9 files changed, 43 insertions(+), 32 deletions(-) diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index e90da842ba..15b6cd0d3a 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,14 @@ +2012-05-17 Alan Modra + + * gas/ppc/vle.d: Pass -a32 to assembler. + * gas/ppc/vle-reloc.d: Likewise. + * gas/ppc/vle-simple-1.d: Likewise, also match wider addresses. + * gas/ppc/vle-simple-2.d: Likewise. + * gas/ppc/vle-simple-3.d: Likewise. + * gas/ppc/vle-simple-4.d: Likewise. + * gas/ppc/vle-simple-5.d: Likewise. + * gas/ppc/vle-simple-6.d: Likewise. + 2012-05-16 Meador Inge * gas/arm/stm-ldm.d: STMFD/LDMIA sp!, {reg} don't disassemble to diff --git a/gas/testsuite/gas/ppc/vle-reloc.d b/gas/testsuite/gas/ppc/vle-reloc.d index c272d27ab8..01eba4af9e 100644 --- a/gas/testsuite/gas/ppc/vle-reloc.d +++ b/gas/testsuite/gas/ppc/vle-reloc.d @@ -1,4 +1,4 @@ -#as: -mvle +#as: -a32 -mvle #objdump: -dr -Mvle #name: VLE relocations diff --git a/gas/testsuite/gas/ppc/vle-simple-1.d b/gas/testsuite/gas/ppc/vle-simple-1.d index 669c7030f0..fee4054b06 100644 --- a/gas/testsuite/gas/ppc/vle-simple-1.d +++ b/gas/testsuite/gas/ppc/vle-simple-1.d @@ -1,4 +1,4 @@ -#as: -mvle +#as: -a32 -mvle #objdump: -dr -Mvle #name: VLE Simplified mnemonics 1 @@ -6,34 +6,34 @@ Disassembly of section \.text: -00000000 : +0+0 : 0: e6 03 se_beq 6 -00000002 : +0+2 : 2: e1 03 se_ble 8 -00000004 : - 4: e0 00 se_bge 4 +0+4 : + 4: e0 0+0 se_bge 4 -00000006 : +0+6 : 6: e5 fe se_bgt 2 -00000008 : +0+8 : 8: e1 ff se_ble 6 a: e4 03 se_blt 10 -0000000c : +0+c : c: e2 fb se_bne 2 e: e1 01 se_ble 10 -00000010 : +0+10 : 10: e0 fc se_bge 8 12: e3 fd se_bns c -00000014 : +0+14 : 14: e3 f8 se_bns 4 16: e7 ff se_bso 14 -00000018 : +0+18 : 18: e6 fc se_beq 10 1a: e7 ff se_bso 18 diff --git a/gas/testsuite/gas/ppc/vle-simple-2.d b/gas/testsuite/gas/ppc/vle-simple-2.d index d24ff447b3..291f6eaea1 100644 --- a/gas/testsuite/gas/ppc/vle-simple-2.d +++ b/gas/testsuite/gas/ppc/vle-simple-2.d @@ -1,4 +1,4 @@ -#as: -mvle +#as: -a32 -mvle #objdump: -dr -Mvle #name: VLE Simplified mnemonics 2 @@ -6,27 +6,27 @@ Disassembly of section .text: -00000000 : +0+0 : 0: 7a 20 00 0c e_bdnz c 4: 7a 20 00 09 e_bdnzl c 8: 7a 30 00 10 e_bdz 18 -0000000c : +0+c : c: 7a 30 ff f5 e_bdzl 0 10: 7a 12 ff f0 e_beq 0 14: 7a 16 00 8c e_beq cr1,a0 -00000018 : +0+18 : 18: 7a 12 ff f5 e_beql c 1c: 7a 12 00 4d e_beql 68 20: 7a 01 00 04 e_ble 24 -00000024 : +0+24 : 24: 7a 03 ff dd e_bnsl 0 28: 7a 04 ff e4 e_bge cr1,c 2c: 7a 00 00 24 e_bge 50 -00000030 : +0+30 : 30: 7a 08 ff f5 e_bgel cr2,24 34: 7a 00 ff fd e_bgel 30 38: 7a 11 ff c8 e_bgt 0 @@ -36,7 +36,7 @@ Disassembly of section .text: 48: 7a 0d 00 08 e_ble cr3,50 4c: 7a 01 00 04 e_ble 50 -00000050 : +0+50 : 50: 7a 01 ff e1 e_blel 30 54: 7a 01 ff dd e_blel 30 58: 7a 14 ff cc e_blt cr1,24 @@ -44,7 +44,7 @@ Disassembly of section .text: 60: 7a 10 ff a1 e_bltl 0 64: 7a 14 ff 9d e_bltl cr1,0 -00000068 : +0+68 : 68: 7a 02 00 18 e_bne 80 6c: 7a 06 ff 94 e_bne cr1,0 70: 7a 02 ff e1 e_bnel 50 @@ -52,7 +52,7 @@ Disassembly of section .text: 78: 7a 01 00 48 e_ble c0 7c: 7a 05 ff b4 e_ble cr1,30 -00000080 : +0+80 : 80: 7a 09 ff e9 e_blel cr2,68 84: 7a 01 00 1d e_blel a0 88: 7a 04 ff c8 e_bge cr1,50 @@ -62,7 +62,7 @@ Disassembly of section .text: 98: 7a 03 ff 80 e_bns 18 9c: 7a 03 ff 7c e_bns 18 -000000a0 : +0+a0 : a0: 7a 0b ff 61 e_bnsl cr2,0 a4: 7a 03 ff c5 e_bnsl 68 a8: 7a 07 ff 64 e_bns cr1,c @@ -72,7 +72,7 @@ Disassembly of section .text: b8: 7a 17 ff 78 e_bso cr1,30 bc: 7a 13 ff 74 e_bso 30 -000000c0 : +0+c0 : c0: 7a 13 ff e1 e_bsol a0 c4: 7a 13 ff dd e_bsol a0 c8: 7a 11 ff b8 e_bgt 80 diff --git a/gas/testsuite/gas/ppc/vle-simple-3.d b/gas/testsuite/gas/ppc/vle-simple-3.d index 6bf700efe1..7b3ddb23f0 100644 --- a/gas/testsuite/gas/ppc/vle-simple-3.d +++ b/gas/testsuite/gas/ppc/vle-simple-3.d @@ -1,4 +1,4 @@ -#as: -mvle +#as: -a32 -mvle #objdump: -dr -Mvle #name: VLE Simplified mnemonics 3 @@ -6,7 +6,7 @@ Disassembly of section .text: -00000000 : +0+0 : 0: 7f e0 00 08 trap 4: 7e 01 10 08 twlt r1,r2 8: 7e 83 20 08 twle r3,r4 diff --git a/gas/testsuite/gas/ppc/vle-simple-4.d b/gas/testsuite/gas/ppc/vle-simple-4.d index 2dc62023d4..9d9ae381e9 100644 --- a/gas/testsuite/gas/ppc/vle-simple-4.d +++ b/gas/testsuite/gas/ppc/vle-simple-4.d @@ -1,4 +1,4 @@ -#as: -mvle +#as: -a32 -mvle #objdump: -dr -Mvle #name: VLE Simplified mnemonics 4 @@ -6,7 +6,7 @@ Disassembly of section .text: -00000000 : +0+0 : 0: 7c 23 10 50 subf r1,r3,r2 4: 7c a3 20 51 subf. r5,r3,r4 8: 7c 21 14 50 subfo r1,r1,r2 diff --git a/gas/testsuite/gas/ppc/vle-simple-5.d b/gas/testsuite/gas/ppc/vle-simple-5.d index f5cc6a5865..8e981457ed 100644 --- a/gas/testsuite/gas/ppc/vle-simple-5.d +++ b/gas/testsuite/gas/ppc/vle-simple-5.d @@ -1,4 +1,4 @@ -#as: -mvle +#as: -a32 -mvle #objdump: -dr -Mvle #name: VLE Simplified mnemonics 5 @@ -6,7 +6,7 @@ Disassembly of section .text: -00000000 <.text>: +0+0 <.text>: 0: 74 42 00 01 e_rlwinm r2,r2,0,0,0 4: 74 62 7d bf e_rlwinm r2,r3,15,22,31 8: 74 a4 f8 48 e_rlwimi r4,r5,31,1,4 diff --git a/gas/testsuite/gas/ppc/vle-simple-6.d b/gas/testsuite/gas/ppc/vle-simple-6.d index f94f2232b9..64c9a2ddcf 100644 --- a/gas/testsuite/gas/ppc/vle-simple-6.d +++ b/gas/testsuite/gas/ppc/vle-simple-6.d @@ -1,4 +1,4 @@ -#as: -mvle +#as: -a32 -mvle #objdump: -dr -Mvle #name: VLE Simplified mnemonics 6 @@ -6,7 +6,7 @@ Disassembly of section .text: -00000000 <.text>: +0+0 <.text>: 0: 7c b1 9b a6 mtmas1 r5 4: 7c 3a 0b a6 mtcsrr0 r1 8: 7c 5b 0b a6 mtcsrr1 r2 diff --git a/gas/testsuite/gas/ppc/vle.d b/gas/testsuite/gas/ppc/vle.d index 2bbe60b330..ea75658ab2 100755 --- a/gas/testsuite/gas/ppc/vle.d +++ b/gas/testsuite/gas/ppc/vle.d @@ -1,4 +1,4 @@ -#as: -mvle +#as: -a32 -mvle #objdump: -dr -Mvle #name: Validate VLE instructions