aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'gas/testsuite')
-rw-r--r--gas/testsuite/ChangeLog6
-rw-r--r--gas/testsuite/gasp/flonums.asm19
-rw-r--r--gas/testsuite/gasp/flonums.err0
-rw-r--r--gas/testsuite/gasp/flonums.out36
4 files changed, 61 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index dc3f40e..a057524 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2002-02-12 Ben Elliston <bje@redhat.com>
+
+ * gasp/flonums.asm: New test.
+ * gasp/flonums.err: New result.
+ * gasp/flonums.out: Likewise.
+
2002-02-12 John David Anglin <dave@hiauly1.hia.nrc.ca>
* gas/hppa/reloc/reloc.exp (labelopbug.s): Change test to suit
diff --git a/gas/testsuite/gasp/flonums.asm b/gas/testsuite/gasp/flonums.asm
new file mode 100644
index 0000000..e6ddb5a
--- /dev/null
+++ b/gas/testsuite/gasp/flonums.asm
@@ -0,0 +1,19 @@
+.RADIX Q
+ ! test floats now
+ .float -H'C
+ .float -9.0
+ .float 0.9
+ .float +0.9
+ .float +.9
+ .float -00.0009
+ .float -2.900
+ .float 1.1e+10
+ .float +1.1e+10
+ .float +1.1e-10
+ .float -1.1E+10
+ .float +1.1E+1000
+ .float +1.1E+0001 10
+ .float 11.11E-10 10
+ .float H'C.3
+ .float H'C.H'C
+.END
diff --git a/gas/testsuite/gasp/flonums.err b/gas/testsuite/gasp/flonums.err
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/gas/testsuite/gasp/flonums.err
diff --git a/gas/testsuite/gasp/flonums.out b/gas/testsuite/gasp/flonums.out
new file mode 100644
index 0000000..23bde3d
--- /dev/null
+++ b/gas/testsuite/gasp/flonums.out
@@ -0,0 +1,36 @@
+!.RADIX Q
+! ! test floats now
+ ! test floats now
+! .float -H'C
+ .float -12
+! .float -9.0
+ .float -9.0
+! .float 0.9
+ .float 0.9
+! .float +0.9
+ .float +0.9
+! .float +.9
+ .float +.9
+! .float -00.0009
+ .float -00.0009
+! .float -2.900
+ .float -2.900
+! .float 1.1e+10
+ .float 1.1e+10
+! .float +1.1e+10
+ .float +1.1e+10
+! .float +1.1e-10
+ .float +1.1e-10
+! .float -1.1E+10
+ .float -1.1E+10
+! .float +1.1E+1000
+ .float +1.1E+1000
+! .float +1.1E+0001 10
+ .float +1.1E+0001 8
+! .float 11.11E-10 10
+ .float 11.11E-10 8
+! .float H'C.3
+ .float 12.3
+! .float H'C.H'C
+ .float 12.12
+!.END