new tests
authorKen Raeburn <raeburn@cygnus>
Mon, 17 May 1993 19:13:38 +0000 (19:13 +0000)
committerKen Raeburn <raeburn@cygnus>
Mon, 17 May 1993 19:13:38 +0000 (19:13 +0000)
gas/testsuite/gas/all/.Sanitize
gas/testsuite/gas/all/float.s [new file with mode: 0644]
gas/testsuite/gas/all/p1480.s [new file with mode: 0644]
gas/testsuite/gas/i386/.Sanitize [new file with mode: 0644]
gas/testsuite/gas/i386/all.exp [new file with mode: 0644]
gas/testsuite/gas/i386/inout.s [new file with mode: 0644]
gas/testsuite/gas/m68k/.Sanitize
gas/testsuite/gas/m68k/p2410.s [new file with mode: 0644]

index 98aa749..0a8a011 100644 (file)
@@ -28,6 +28,8 @@ Things-to-keep:
 
 gas.exp
 comment.s
+float.s
+p1480.s
 p2425.s
 x930509.s
 
diff --git a/gas/testsuite/gas/all/float.s b/gas/testsuite/gas/all/float.s
new file mode 100644 (file)
index 0000000..66050b9
--- /dev/null
@@ -0,0 +1,4 @@
+.text
+foo:   .single 0r1.2345e+06
+       .single 0f3.14159
+       .double 0r2.718282
diff --git a/gas/testsuite/gas/all/p1480.s b/gas/testsuite/gas/all/p1480.s
new file mode 100644 (file)
index 0000000..183b401
--- /dev/null
@@ -0,0 +1,3 @@
+start: .long 0, 1, 2, 3, 4, 5, 6, 7
+       .space 0x20 - (. - start)
+foo:   .long 42
diff --git a/gas/testsuite/gas/i386/.Sanitize b/gas/testsuite/gas/i386/.Sanitize
new file mode 100644 (file)
index 0000000..1a7f0a2
--- /dev/null
@@ -0,0 +1,34 @@
+# Sanitize.in for devo.
+# $Id$
+#
+
+# Each directory to survive it's way into a release will need a file
+# like this one called "./.Sanitize".  All keyword lines must exist,
+# and must exist in the order specified by this file.  Each directory
+# in the tree will be processed, top down, in the following order.
+
+# Hash started lines like this one are comments and will be deleted
+# before anything else is done.  Blank lines will also be squashed
+# out.
+
+# The lines between the "Do-first:" line and the "Things-to-keep:"
+# line are executed as a /bin/sh shell script before anything else is
+# done in this 
+
+Do-first:
+
+
+# All files listed between the "Things-to-keep:" line and the
+# "Files-to-sed:" line will be kept.  All other files will be removed.
+# Directories listed in this section will have their own Sanitize
+# called.  Directories not listed will be removed in their entirety
+# with rm -rf.
+
+Things-to-keep:
+
+all.exp
+inout.s
+
+Do-last:
+
+# End of file.
diff --git a/gas/testsuite/gas/i386/all.exp b/gas/testsuite/gas/i386/all.exp
new file mode 100644 (file)
index 0000000..752567a
--- /dev/null
@@ -0,0 +1,3 @@
+if [istarget i386-*] then {
+    gas_test "inout.s" "" $stdoptlist "various in/out syntaxes"
+}
diff --git a/gas/testsuite/gas/i386/inout.s b/gas/testsuite/gas/i386/inout.s
new file mode 100644 (file)
index 0000000..36c38de
--- /dev/null
@@ -0,0 +1,11 @@
+# Various syntaxes
+       inb     %dx
+       outl    %eax,%dx
+# For these two, fix up the test case to check what modes are used -- they
+# should be using outb and inw.  Currently the assembler is getting them
+# both wrong.
+       out     %al, $42
+       in      $13, %ax
+# These are used in AIX.
+       inw     (%dx)
+       outw    (%dx)
index 5d0fbc5..a559c5d 100644 (file)
@@ -27,6 +27,7 @@ Do-first:
 Things-to-keep:
 
 all.exp
+p2410.s
 p2663.s
 t2.s
 
diff --git a/gas/testsuite/gas/m68k/p2410.s b/gas/testsuite/gas/m68k/p2410.s
new file mode 100644 (file)
index 0000000..4f0337a
--- /dev/null
@@ -0,0 +1,15 @@
+.text
+start: nop
+       nop
+       nop
+       bras label1
+       bras label2
+.globl label1
+label1:        nop
+       .space 0xa0
+       nop
+       nop
+.globl label2
+label2:        bras label1
+       bras label2
+       nop