From cdbfb8861732b496b9ee35b130af75b245e2bc02 Mon Sep 17 00:00:00 2001 From: Simon Dardis Date: Tue, 25 Aug 2015 17:04:51 +0100 Subject: [PATCH] Update MIPS tests for test failures on some configurations. * gas/mips/micromips32-move.d: Update expected disassembly. * gas/mips/move.d: Likewise. * gas/mips/move.s: Fix for some MIPS configurations. --- gas/testsuite/ChangeLog | 6 ++++++ gas/testsuite/gas/mips/micromips32-move.d | 10 +++++----- gas/testsuite/gas/mips/move.d | 10 +++++----- gas/testsuite/gas/mips/move.s | 8 ++++---- 4 files changed, 20 insertions(+), 14 deletions(-) diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 4d4dcbc0750..f6f8b378e01 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -7,6 +7,12 @@ register. * gas/sparc/rdpr.d: ...and the expected result. +2015-08-25 Simon Dardis + + * gas/mips/micromips32-move.d: Update expected disassembly. + * gas/mips/move.d: Likewise. + * gas/mips/move.s: Fix for some MIPS configurations. + 2015-08-24 Jan Stancek * gas/i386/intel.s: Add test of disassembly of a potential diff --git a/gas/testsuite/gas/mips/micromips32-move.d b/gas/testsuite/gas/mips/micromips32-move.d index 1a30f06109a..b13d9272db2 100644 --- a/gas/testsuite/gas/mips/micromips32-move.d +++ b/gas/testsuite/gas/mips/micromips32-move.d @@ -1,4 +1,4 @@ -#objdump: -dr -m mips:micromips +#objdump: -dr -m mips:micromips -M reg-names=numeric #name: microMIPS insn32 move test #source: micromips32-move.s @@ -8,7 +8,7 @@ Disassembly of section .text: 0+ <.*>: - 0: 001f 6a90 move t5,ra - 4: 001f 6950 move t5,ra - 8: 581f 6950 move t5,ra - c: 001f 6a90 move t5,ra + 0: 001f 6a90 move \$13,\$31 + 4: 001f 6950 move \$13,\$31 + 8: 581f 6950 move \$13,\$31 + c: 001f 6a90 move \$13,\$31 diff --git a/gas/testsuite/gas/mips/move.d b/gas/testsuite/gas/mips/move.d index aa978ea198f..28a9673dc4b 100644 --- a/gas/testsuite/gas/mips/move.d +++ b/gas/testsuite/gas/mips/move.d @@ -1,4 +1,4 @@ -#objdump: -dr +#objdump: -dr -M reg-names=numeric #name: MIPS move disassembly test #source: move.s @@ -8,7 +8,7 @@ Disassembly of section .text: 0+ <.*>: - 0: 03e06825 move t5,ra - 4: 03e06821 move t5,ra - 8: 03e0682d move t5,ra - c: 03e06825 move t5,ra + 0: 03e08025 move \$16,\$31 + 4: 03e08021 move \$16,\$31 + 8: 03e0802d move \$16,\$31 + c: 03e08025 move \$16,\$31 diff --git a/gas/testsuite/gas/mips/move.s b/gas/testsuite/gas/mips/move.s index 912577bf6aa..6be2d3d8c3a 100644 --- a/gas/testsuite/gas/mips/move.s +++ b/gas/testsuite/gas/mips/move.s @@ -1,4 +1,4 @@ - move $13, $31 - addu $13, $31, $0 - daddu $13, $31, $0 - or $13, $31, $0 + move $16, $31 + addu $16, $31, $0 + daddu $16, $31, $0 + or $16, $31, $0 -- 2.30.2