aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2013-06-24 21:05:30 +0000
committerRoland McGrath <roland@gnu.org>2013-06-24 21:05:30 +0000
commit477330fc7d21eb6b5fa4b2adfe11d71b27c85970 (patch)
treef4e7cfb887346df6c0d6cbbbbf340eda90022e26 /gas/testsuite
parent243821998eacfda6520aa69fb6fc19a03215e5d6 (diff)
downloadgdb-477330fc7d21eb6b5fa4b2adfe11d71b27c85970.zip
gdb-477330fc7d21eb6b5fa4b2adfe11d71b27c85970.tar.gz
gdb-477330fc7d21eb6b5fa4b2adfe11d71b27c85970.tar.bz2
gas/
* config/tc-arm.c (arm_symbol_chars): Include '{' and '}'. (arm_reg_parse_multi): Skip whitespace first. (parse_reg_list): Likewise. (parse_vfp_reg_list): Likewise. (s_arm_unwind_save_mmxwcg): Likewise. gas/testsuite/ * gas/arm/macro-pld.s: Add a 'push {r0}' case. * gas/arm/macro-pld.d: Update expected output. * gas/arm/macro-vld1.s: New file. * gas/arm/macro-vld1.d: New file.
Diffstat (limited to 'gas/testsuite')
-rw-r--r--gas/testsuite/ChangeLog9
-rw-r--r--gas/testsuite/gas/arm/macro-pld.d1
-rw-r--r--gas/testsuite/gas/arm/macro-pld.s1
-rw-r--r--gas/testsuite/gas/arm/macro-vld1.d8
-rw-r--r--gas/testsuite/gas/arm/macro-vld1.s9
5 files changed, 27 insertions, 1 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 350eee5..5fb0d66 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,10 @@
+2013-06-24 Roland McGrath <mcgrathr@google.com>
+
+ * gas/arm/macro-pld.s: Add a 'push {r0}' case.
+ * gas/arm/macro-pld.d: Update expected output.
+ * gas/arm/macro-vld1.s: New file.
+ * gas/arm/macro-vld1.d: New file.
+
2013-06-22 Richard Sandiford <rdsandiford@googlemail.com>
* gas/mips/mips.exp: Remove "LOSE" comments.
@@ -378,7 +385,7 @@
* gas/arm/neon-addressing-bad.s: Add test for further invalid VST
operands.
- * gas/arm/neon-addressing-bad.l: Update accordingly.
+ * gas/arm/neon-addressing-bad.l: Update accordingly.
2013-04-08 Jan Beulich <jbeulich@suse.com>
diff --git a/gas/testsuite/gas/arm/macro-pld.d b/gas/testsuite/gas/arm/macro-pld.d
index 8f9d86c8..e3a7843 100644
--- a/gas/testsuite/gas/arm/macro-pld.d
+++ b/gas/testsuite/gas/arm/macro-pld.d
@@ -6,3 +6,4 @@ Disassembly of section \.text:
0+ <.*>:
\s*0:\s+f5d0f000\s+pld\s+\[r0\]
+\s*4:\s+e52d0004\s+push\s+{r0}\s*.*
diff --git a/gas/testsuite/gas/arm/macro-pld.s b/gas/testsuite/gas/arm/macro-pld.s
index cf4df8b..f2a436b 100644
--- a/gas/testsuite/gas/arm/macro-pld.s
+++ b/gas/testsuite/gas/arm/macro-pld.s
@@ -2,3 +2,4 @@
\rest
.endm
foo r0, pld [r0]
+ foo r0, push {r0}
diff --git a/gas/testsuite/gas/arm/macro-vld1.d b/gas/testsuite/gas/arm/macro-vld1.d
new file mode 100644
index 0000000..4a5e2f5
--- /dev/null
+++ b/gas/testsuite/gas/arm/macro-vld1.d
@@ -0,0 +1,8 @@
+#objdump: -dr
+
+.*: file format .*
+
+Disassembly of section \.text:
+
+0+ <.*>:
+\s*0:\s+f420070f\s+vld1.8\s+{d0},\s*\[r0\]
diff --git a/gas/testsuite/gas/arm/macro-vld1.s b/gas/testsuite/gas/arm/macro-vld1.s
new file mode 100644
index 0000000..530c5c3
--- /dev/null
+++ b/gas/testsuite/gas/arm/macro-vld1.s
@@ -0,0 +1,9 @@
+ .fpu neon
+ .macro sfi_breg basereg, insn, operands:vararg
+ .macro _sfi_breg_doit B
+ \insn \operands
+ .endm
+ _sfi_breg_doit \basereg
+ .purgem _sfi_breg_doit
+ .endm
+ sfi_breg r0, vld1.8 {d0}, [\B]