From c307e84195f4cc97bf73fcefcb947f73a17b1141 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 13 Mar 2014 12:47:05 +0000 Subject: [PATCH] Make the new aarch64 bignum test endian agnostic. * gas/aarch64/litpool.s: Make the test endian agnostic. * gas/aarch64/litpool.d: Update expected disassembly. --- gas/testsuite/ChangeLog | 5 +++++ gas/testsuite/gas/aarch64/litpool.d | 4 ++-- gas/testsuite/gas/aarch64/litpool.s | 4 ++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 161d49ec10..293628b32d 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2014-03-13 Nick Clifton + + * gas/aarch64/litpool.s: Make the test endian agnostic. + * gas/aarch64/litpool.d: Update expected disassembly. + 2014-03-13 Tristan Gingold * gas/pe/big-obj.d, gas/pe/big-obj.s: Add test. diff --git a/gas/testsuite/gas/aarch64/litpool.d b/gas/testsuite/gas/aarch64/litpool.d index bc5f6c0a85..15edbc0a96 100644 --- a/gas/testsuite/gas/aarch64/litpool.d +++ b/gas/testsuite/gas/aarch64/litpool.d @@ -12,7 +12,7 @@ Disassembly of section \.text: 4: 9c0000e1 ldr q1, 20 <\.text\+0x20> 8: 9c000142 ldr q2, 30 <\.text\+0x30> c: 9c0001a3 ldr q3, 40 <\.text\+0x40> - 10: 00000000 .word 0x00000000 + 10: 5a827999 .word 0x5a827999 14: 5a827999 .word 0x5a827999 18: 5a827999 .word 0x5a827999 1c: 5a827999 .word 0x5a827999 @@ -20,7 +20,7 @@ Disassembly of section \.text: 24: 6ed9eba1 .word 0x6ed9eba1 28: 6ed9eba1 .word 0x6ed9eba1 2c: 6ed9eba1 .word 0x6ed9eba1 - 30: 11223344 .word 0x11223344 + 30: 8f1bbcdc .word 0x8f1bbcdc 34: 8f1bbcdc .word 0x8f1bbcdc 38: 8f1bbcdc .word 0x8f1bbcdc 3c: 8f1bbcdc .word 0x8f1bbcdc diff --git a/gas/testsuite/gas/aarch64/litpool.s b/gas/testsuite/gas/aarch64/litpool.s index d13e91ff80..83c6f4e067 100644 --- a/gas/testsuite/gas/aarch64/litpool.s +++ b/gas/testsuite/gas/aarch64/litpool.s @@ -1,7 +1,7 @@ # Based on PR 16688 this test checks that bignums are correctly added to the literal pool .text - ldr q0, =0x5a8279995a8279995a82799900000000 + ldr q0, =0x5a8279995a8279995a8279995a827999 ldr q1, =0x6ed9eba16ed9eba16ed9eba16ed9eba1 - ldr q2, =0x8f1bbcdc8f1bbcdc8f1bbcdc11223344 + ldr q2, =0x8f1bbcdc8f1bbcdc8f1bbcdc8f1bbcdc ldr q3, =0xca62c1d6ca62c1d6ca62c1d6ca62c1d6