aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2015-10-22 10:58:47 +1030
committerAlan Modra <amodra@gmail.com>2015-10-22 12:49:17 +1030
commit4ee3febded6c95ef47e8982a406aa3549cb6b59b (patch)
tree9fa414c179a78828eba3c2fbb9e6754b0b5a8612
parent79697b649f28a6fc1062bb91737d9e64ee114ee6 (diff)
downloadgdb-4ee3febded6c95ef47e8982a406aa3549cb6b59b.zip
gdb-4ee3febded6c95ef47e8982a406aa3549cb6b59b.tar.gz
gdb-4ee3febded6c95ef47e8982a406aa3549cb6b59b.tar.bz2
Fix tests for PR 18500, revisited
Correct commit a846e9c1. 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.
-rw-r--r--gas/testsuite/ChangeLog8
-rw-r--r--gas/testsuite/gas/arm/vfpv2-ldr_immediate.d28
-rw-r--r--gas/testsuite/gas/arm/vfpv3-ldr_immediate.d12
-rw-r--r--gas/testsuite/gas/arm/vfpv3xd-ldr_immediate.d28
4 files changed, 42 insertions, 34 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index bcd42ec..fd3d479 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,11 @@
+2015-10-22 Alan Modra <amodra@gmail.com>
+
+ 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.
+
2015-10-21 Nick Clifton <nickc@redhat.com>
PR gas/18500
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 c7cdc7c4..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