This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Fix tests for PR 18500, revisited


Correct commit a846e9c1.  I think Nick meant to use parentheses here.

	PR gas/18500
	* gas/arm/vfpv2-ldr_immediate.d: Use parentheses, not brackets,
	to select alternatives.
	* gas/arm/vfpv3-ldr_immediate.d: Likewise.
	* gas/arm/vfpv3xd-ldr_immediate.d: Likewise.

diff --git a/gas/testsuite/gas/arm/vfpv2-ldr_immediate.d b/gas/testsuite/gas/arm/vfpv2-ldr_immediate.d
index d82ecfa..4c0c1dd 100644
--- a/gas/testsuite/gas/arm/vfpv2-ldr_immediate.d
+++ b/gas/testsuite/gas/arm/vfpv2-ldr_immediate.d
@@ -8,43 +8,43 @@ Disassembly of section \.text:
 
 0[0-9a-fx]+ .*ed9f0b00 	vldr	d0, \[pc\].*
 0[0-9a-fx]+ .*ed9f0a01 	vldr	s0, \[pc, #4\].*
-0[0-9a-fx]+ .*[00000000|3fbe0000] 	.*
-0[0-9a-fx]+ .*[3fbe0000|00000000] 	.*
+0[0-9a-fx]+ .*(00000000|3fbe0000) 	.*
+0[0-9a-fx]+ .*(3fbe0000|00000000) 	.*
 0[0-9a-fx]+ .*3df00000 	.*
 .*
 0[0-9a-fx]+ .*ed9f0b00 	vldr	d0, \[pc\].*
 0[0-9a-fx]+ .*ed9f0a01 	vldr	s0, \[pc, #4\].*
-0[0-9a-fx]+ .*[00000000|bfc00000] 	.*
-0[0-9a-fx]+ .*[bfc00000|00000000] 	.*
+0[0-9a-fx]+ .*(00000000|bfc00000) 	.*
+0[0-9a-fx]+ .*(bfc00000|00000000) 	.*
 0[0-9a-fx]+ .*be000000 	.*
 .*
 0[0-9a-fx]+ .*ed9f0b00 	vldr	d0, \[pc\].*
 0[0-9a-fx]+ .*ed9f0a01 	vldr	s0, \[pc, #4\].*
-0[0-9a-fx]+ .*[00000000|3fc00000] 	.*
-0[0-9a-fx]+ .*[3fc00000|00000000] 	.*
+0[0-9a-fx]+ .*(00000000|3fc00000) 	.*
+0[0-9a-fx]+ .*(3fc00000|00000000) 	.*
 0[0-9a-fx]+ .*3e000000 	.*
 .*
 0[0-9a-fx]+ .*ed9f0b00 	vldr	d0, \[pc\].*
 0[0-9a-fx]+ .*ed9f0a01 	vldr	s0, \[pc, #4\].*
-0[0-9a-fx]+ .*[00000000|3fe08000] 	.*
-0[0-9a-fx]+ .*[3fe08000|00000000] 	.*
+0[0-9a-fx]+ .*(00000000|3fe08000) 	.*
+0[0-9a-fx]+ .*(3fe08000|00000000) 	.*
 0[0-9a-fx]+ .*3f040000 	.*
 .*
 0[0-9a-fx]+ .*ed9f0b00 	vldr	d0, \[pc\].*
 0[0-9a-fx]+ .*ed9f0a01 	vldr	s0, \[pc, #4\].*
-0[0-9a-fx]+ .*[00000000|3fef0000] 	.*
-0[0-9a-fx]+ .*[3fef0000|00000000] 	.*
+0[0-9a-fx]+ .*(00000000|3fef0000) 	.*
+0[0-9a-fx]+ .*(3fef0000|00000000) 	.*
 0[0-9a-fx]+ .*3f780000 	.*
 .*
 0[0-9a-fx]+ .*ed9f0b00 	vldr	d0, \[pc\].*
 0[0-9a-fx]+ .*ed9f0a01 	vldr	s0, \[pc, #4\].*
-0[0-9a-fx]+ .*[00000000|403f0000] 	.*
-0[0-9a-fx]+ .*[403f0000|00000000] 	.*
+0[0-9a-fx]+ .*(00000000|403f0000) 	.*
+0[0-9a-fx]+ .*(403f0000|00000000) 	.*
 0[0-9a-fx]+ .*41f80000 	.*
 .*
 0[0-9a-fx]+ .*ed9f0b00 	vldr	d0, \[pc\].*
 0[0-9a-fx]+ .*ed9f0a01 	vldr	s0, \[pc, #4\].*
-0[0-9a-fx]+ .*[00000000|40400000] 	.*
-0[0-9a-fx]+ .*[40400000|00000000] 	.*
+0[0-9a-fx]+ .*(00000000|40400000) 	.*
+0[0-9a-fx]+ .*(40400000|00000000) 	.*
 0[0-9a-fx]+ .*42000000 	.*
 #pass
diff --git a/gas/testsuite/gas/arm/vfpv3-ldr_immediate.d b/gas/testsuite/gas/arm/vfpv3-ldr_immediate.d
index c7cdc7c..e443530 100644
--- a/gas/testsuite/gas/arm/vfpv3-ldr_immediate.d
+++ b/gas/testsuite/gas/arm/vfpv3-ldr_immediate.d
@@ -8,8 +8,8 @@ Disassembly of section \.text:
 
 0[0-9a-fx]+ .*ed9f0b00 	vldr	d0, \[pc\].*
 0[0-9a-fx]+ .*ed9f0a01 	vldr	s0, \[pc, #4\].*
-0[0-9a-fx]+ .*[00000000|3fbe0000] 	.*
-0[0-9a-fx]+ .*[3fbe0000|00000000] 	.*
+0[0-9a-fx]+ .*(00000000|3fbe0000) 	.*
+0[0-9a-fx]+ .*(3fbe0000|00000000) 	.*
 0[0-9a-fx]+ .*3df00000 	.*
 .*
 
@@ -19,8 +19,8 @@ Disassembly of section \.text:
 0[0-9a-fx]+ .*eeb40a00 	(vmov\.f32|fconsts)	s0, #64.*
 0[0-9a-fx]+ .*ed9f0b00 	vldr	d0, \[pc\].*
 0[0-9a-fx]+ .*ed9f0a01 	vldr	s0, \[pc, #4\].*
-0[0-9a-fx]+ .*[00000000|3fe08000] 	.*
-0[0-9a-fx]+ .*[3fe08000|00000000] 	.*
+0[0-9a-fx]+ .*(00000000|3fe08000) 	.*
+0[0-9a-fx]+ .*(3fe08000|00000000) 	.*
 0[0-9a-fx]+ .*3f040000 	.*
 .*
 0[0-9a-fx]+ .*eeb60b0f 	(vmov\.f64|fconstd)	d0, #111.*
@@ -29,7 +29,7 @@ Disassembly of section \.text:
 0[0-9a-fx]+ .*eeb30a0f 	(vmov\.f32|fconsts)	s0, #63.*
 0[0-9a-fx]+ .*ed9f0b00 	vldr	d0, \[pc\].*
 0[0-9a-fx]+ .*ed9f0a01 	vldr	s0, \[pc, #4\].*
-0[0-9a-fx]+ .*[00000000|40400000] 	.*
-0[0-9a-fx]+ .*[40400000|00000000] 	.*
+0[0-9a-fx]+ .*(00000000|40400000) 	.*
+0[0-9a-fx]+ .*(40400000|00000000) 	.*
 0[0-9a-fx]+ .*42000000 	.*
 #pass
diff --git a/gas/testsuite/gas/arm/vfpv3xd-ldr_immediate.d b/gas/testsuite/gas/arm/vfpv3xd-ldr_immediate.d
index 6755738..64a0eaa 100644
--- a/gas/testsuite/gas/arm/vfpv3xd-ldr_immediate.d
+++ b/gas/testsuite/gas/arm/vfpv3xd-ldr_immediate.d
@@ -8,35 +8,35 @@ Disassembly of section \.text:
 
 0[0-9a-fx]+ .*ed9f0b00 	vldr	d0, \[pc\].*
 0[0-9a-fx]+ .*ed9f0a01 	vldr	s0, \[pc, #4\].*
-0[0-9a-fx]+ .*[00000000|3fbe0000] 	.*
-0[0-9a-fx]+ .*[3fbe0000|00000000] 	.*
+0[0-9a-fx]+ .*(00000000|3fbe0000) 	.*
+0[0-9a-fx]+ .*(3fbe0000|00000000) 	.*
 0[0-9a-fx]+ .*3df00000 	.*
 .*
 0[0-9a-fx]+ .*ed9f0b00 	vldr	d0, \[pc\].*
 0[0-9a-fx]+ .*eebc0a00 	(vmov\.f32|fconsts)	s0, #192.*
-0[0-9a-fx]+ .*[00000000|bfc00000] 	.*
-0[0-9a-fx]+ .*[bfc00000|00000000] 	.*
+0[0-9a-fx]+ .*(00000000|bfc00000) 	.*
+0[0-9a-fx]+ .*(bfc00000|00000000) 	.*
 0[0-9a-fx]+ .*ed9f0b00 	vldr	d0, \[pc\].*
 0[0-9a-fx]+ .*eeb40a00 	(vmov\.f32|fconsts)	s0, #64.*
-0[0-9a-fx]+ .*[00000000|3fc00000] 	.*
-0[0-9a-fx]+ .*[3fc00000|00000000] 	.*
+0[0-9a-fx]+ .*(00000000|3fc00000) 	.*
+0[0-9a-fx]+ .*(3fc00000|00000000) 	.*
 0[0-9a-fx]+ .*ed9f0b00 	vldr	d0, \[pc\].*
 0[0-9a-fx]+ .*ed9f0a01 	vldr	s0, \[pc, #4\].*
-0[0-9a-fx]+ .*[00000000|3fe08000] 	.*
-0[0-9a-fx]+ .*[3fe08000|00000000] 	.*
+0[0-9a-fx]+ .*(00000000|3fe08000) 	.*
+0[0-9a-fx]+ .*(3fe08000|00000000) 	.*
 0[0-9a-fx]+ .*3f040000 	.*
 .*
 0[0-9a-fx]+ .*ed9f0b00 	vldr	d0, \[pc\].*
 0[0-9a-fx]+ .*eeb60a0f 	(vmov\.f32|fconsts)	s0, #111.*
-0[0-9a-fx]+ .*[00000000|3fef0000] 	.*
-0[0-9a-fx]+ .*[3fef0000|00000000] 	.*
+0[0-9a-fx]+ .*(00000000|3fef0000) 	.*
+0[0-9a-fx]+ .*(3fef0000|00000000) 	.*
 0[0-9a-fx]+ .*ed9f0b00 	vldr	d0, \[pc\].*
 0[0-9a-fx]+ .*eeb30a0f 	(vmov\.f32|fconsts)	s0, #63.*
-0[0-9a-fx]+ .*[00000000|403f0000] 	.*
-0[0-9a-fx]+ .*[403f0000|00000000] 	.*
+0[0-9a-fx]+ .*(00000000|403f0000) 	.*
+0[0-9a-fx]+ .*(403f0000|00000000) 	.*
 0[0-9a-fx]+ .*ed9f0b00 	vldr	d0, \[pc\].*
 0[0-9a-fx]+ .*ed9f0a01 	vldr	s0, \[pc, #4\].*
-0[0-9a-fx]+ .*[00000000|40400000] 	.*
-0[0-9a-fx]+ .*[40400000|00000000] 	.*
+0[0-9a-fx]+ .*(00000000|40400000) 	.*
+0[0-9a-fx]+ .*(40400000|00000000) 	.*
 0[0-9a-fx]+ .*42000000 	.*
 #pass

-- 
Alan Modra
Australia Development Lab, IBM


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]