aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2008-02-14 16:35:51 +0000
committerNick Clifton <nickc@redhat.com>2008-02-14 16:35:51 +0000
commit93ac268764b7d1a8c0582c787c712aad0672e732 (patch)
tree0d0e52b66b776787938ab75a24cd3c838fcee98a /gas/testsuite
parente81819a5c075b642b3b4e171d3d0ce77d2c9da47 (diff)
downloadgdb-93ac268764b7d1a8c0582c787c712aad0672e732.zip
gdb-93ac268764b7d1a8c0582c787c712aad0672e732.tar.gz
gdb-93ac268764b7d1a8c0582c787c712aad0672e732.tar.bz2
PR gas/5712
* config/tc-arm.c (s_arm_unwind_save): Advance the input line pointer past the comma after parsing a floating point register name. * gas/arm/fp-save.s: New test. * gas/arm/fp-save.d: Expected disassembly.
Diffstat (limited to 'gas/testsuite')
-rw-r--r--gas/testsuite/ChangeLog6
-rw-r--r--gas/testsuite/gas/arm/fp-save.d9
-rw-r--r--gas/testsuite/gas/arm/fp-save.s2
3 files changed, 17 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index d778fe0..eef8a7b 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2008-02-14 Nick Clifton <nickc@redhat.com>
+
+ PR gas/5712
+ * gas/arm/fp-save.s: New test.
+ * gas/arm/fp-save.d: Expected disassembly.
+
2008-02-13 Adam Nemet <anemet@caviumnetworks.com>
* gas/mips/branch-misc-2pic-64.d (#name): Have a unique name
diff --git a/gas/testsuite/gas/arm/fp-save.d b/gas/testsuite/gas/arm/fp-save.d
new file mode 100644
index 0000000..d32d930
--- /dev/null
+++ b/gas/testsuite/gas/arm/fp-save.d
@@ -0,0 +1,9 @@
+#objdump: -dr --prefix-addresses --show-raw-insn
+#name: PR5712 - saving FP registers
+#not-target: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-riscix*
+#as: -mfpu=fpa
+
+.*: *file format .*arm.*
+
+Disassembly of section .text:
+0+00 <[^>]*> ed2dc203[ ]+sfm[ ]+f4, 1, \[sp, #-12\]!
diff --git a/gas/testsuite/gas/arm/fp-save.s b/gas/testsuite/gas/arm/fp-save.s
new file mode 100644
index 0000000..d86d749
--- /dev/null
+++ b/gas/testsuite/gas/arm/fp-save.s
@@ -0,0 +1,2 @@
+ sfmfd f4, 1, [sp]!
+ .save f4, 1