]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
This commit was manufactured by cvs2svn to create branch 'binutils-
authornobody <>
Tue, 5 Mar 2013 16:31:45 +0000 (16:31 +0000)
committernobody <>
Tue, 5 Mar 2013 16:31:45 +0000 (16:31 +0000)
2_23-branch'.

Cherrypick from master 2013-03-05 16:31:44 UTC Yufeng Zhang <yufeng.zhang@arm.com> 'Add to the AArch64 GAS the missing support for hexadecimal-format':
    gas/testsuite/gas/aarch64/fpmov.d
    gas/testsuite/gas/aarch64/fpmov.s

gas/testsuite/gas/aarch64/fpmov.d [new file with mode: 0644]
gas/testsuite/gas/aarch64/fpmov.s [new file with mode: 0644]

diff --git a/gas/testsuite/gas/aarch64/fpmov.d b/gas/testsuite/gas/aarch64/fpmov.d
new file mode 100644 (file)
index 0000000..6afb3c5
--- /dev/null
@@ -0,0 +1,19 @@
+#objdump: -dr
+
+.*:     file format .*
+
+Disassembly of section .*:
+
+0000000000000000 <.*>:
+   0:  1e251000        fmov    s0, #1\.200000000000000000e\+01
+   4:  1e251000        fmov    s0, #1\.200000000000000000e\+01
+   8:  1e251000        fmov    s0, #1\.200000000000000000e\+01
+   c:  1e351000        fmov    s0, #-1\.200000000000000000e\+01
+  10:  1e351000        fmov    s0, #-1\.200000000000000000e\+01
+  14:  1e351000        fmov    s0, #-1\.200000000000000000e\+01
+  18:  1e751000        fmov    d0, #-1\.200000000000000000e\+01
+  1c:  1e751000        fmov    d0, #-1\.200000000000000000e\+01
+  20:  1e751000        fmov    d0, #-1\.200000000000000000e\+01
+  24:  1e69f000        fmov    d0, #2\.421875000000000000e-01
+  28:  1e69f000        fmov    d0, #2\.421875000000000000e-01
+  2c:  1e29f000        fmov    s0, #2\.421875000000000000e-01
diff --git a/gas/testsuite/gas/aarch64/fpmov.s b/gas/testsuite/gas/aarch64/fpmov.s
new file mode 100644 (file)
index 0000000..ffc9881
--- /dev/null
@@ -0,0 +1,17 @@
+// fpmov.s Test file for AArch64 floating-point move instructions.
+
+       .text
+
+       // fp mov immediate
+       fmov    s0, 12.0
+       fmov    s0, 1.2e1
+       fmov    s0, 0x41400000
+       fmov    s0, -12.0
+       fmov    s0, -1.2e1
+       fmov    s0, 0xc1400000
+       fmov    d0, -12.0
+       fmov    d0, -1.2e1
+       fmov    d0, 0xC028000000000000
+       fmov    d0, 0.2421875
+       fmov    d0, 0x3fcf000000000000
+       fmov    s0, 0x3e780000