summaryrefslogtreecommitdiffstats
path: root/binutils-2.25/gas/testsuite/gas/aarch64/fpmov.s
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.25/gas/testsuite/gas/aarch64/fpmov.s')
-rw-r--r--binutils-2.25/gas/testsuite/gas/aarch64/fpmov.s17
1 files changed, 17 insertions, 0 deletions
diff --git a/binutils-2.25/gas/testsuite/gas/aarch64/fpmov.s b/binutils-2.25/gas/testsuite/gas/aarch64/fpmov.s
new file mode 100644
index 00000000..ffc98817
--- /dev/null
+++ b/binutils-2.25/gas/testsuite/gas/aarch64/fpmov.s
@@ -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