(le-fpconst): New testcase.
authorDavid Edelsohn <dje.gcc@gmail.com>
Fri, 6 Oct 1995 19:08:47 +0000 (19:08 +0000)
committerDavid Edelsohn <dje.gcc@gmail.com>
Fri, 6 Oct 1995 19:08:47 +0000 (19:08 +0000)
gas/testsuite/gas/arm/.Sanitize
gas/testsuite/gas/arm/le-fpconst.d [new file with mode: 0644]
gas/testsuite/gas/arm/le-fpconst.s [new file with mode: 0644]

index cfca9d0..1f6d21d 100644 (file)
@@ -32,6 +32,8 @@ arm7dm.s
 copro.s
 float.s
 inst.s
+le-fpconst.s
+le-fpconst.d
 
 Things-to-lose:
 
diff --git a/gas/testsuite/gas/arm/le-fpconst.d b/gas/testsuite/gas/arm/le-fpconst.d
new file mode 100644 (file)
index 0000000..354e0e0
--- /dev/null
@@ -0,0 +1,8 @@
+#objdump: -s
+#as: -EL
+#name: arm little-endian fpconst
+
+.*: +file format .*arm.*
+
+Contents of section .text:
+ 0000 cdcc8c3f 00000000 9999f13f 9a999999 .*
diff --git a/gas/testsuite/gas/arm/le-fpconst.s b/gas/testsuite/gas/arm/le-fpconst.s
new file mode 100644 (file)
index 0000000..8a3c3d7
--- /dev/null
@@ -0,0 +1,8 @@
+# Test fp constants.
+# These need ARM specific support because 8 byte fp constants in little
+# endian mode are represented abnormally.
+       
+       .text
+       .float 1.1
+       .float 0
+       .double 1.1