aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1993-05-17 19:13:38 +0000
committerKen Raeburn <raeburn@cygnus>1993-05-17 19:13:38 +0000
commit0630b39c7d7ecec04d1d42674a6e3564afbde609 (patch)
tree32ead0a2bd9c4bc7e781f302ec182aff33a0eae1 /gas/testsuite
parent09f080a55e46994c4177908b938faf045ed0da50 (diff)
downloadgdb-0630b39c7d7ecec04d1d42674a6e3564afbde609.zip
gdb-0630b39c7d7ecec04d1d42674a6e3564afbde609.tar.gz
gdb-0630b39c7d7ecec04d1d42674a6e3564afbde609.tar.bz2
new tests
Diffstat (limited to 'gas/testsuite')
-rw-r--r--gas/testsuite/gas/all/.Sanitize2
-rw-r--r--gas/testsuite/gas/all/float.s4
-rw-r--r--gas/testsuite/gas/all/p1480.s3
-rw-r--r--gas/testsuite/gas/i386/.Sanitize34
-rw-r--r--gas/testsuite/gas/i386/all.exp3
-rw-r--r--gas/testsuite/gas/i386/inout.s11
-rw-r--r--gas/testsuite/gas/m68k/.Sanitize1
-rw-r--r--gas/testsuite/gas/m68k/p2410.s15
8 files changed, 73 insertions, 0 deletions
diff --git a/gas/testsuite/gas/all/.Sanitize b/gas/testsuite/gas/all/.Sanitize
index 98aa749c..0a8a011 100644
--- a/gas/testsuite/gas/all/.Sanitize
+++ b/gas/testsuite/gas/all/.Sanitize
@@ -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
index 0000000..66050b9
--- /dev/null
+++ b/gas/testsuite/gas/all/float.s
@@ -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
index 0000000..183b401
--- /dev/null
+++ b/gas/testsuite/gas/all/p1480.s
@@ -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
index 0000000..1a7f0a2
--- /dev/null
+++ b/gas/testsuite/gas/i386/.Sanitize
@@ -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
index 0000000..752567a
--- /dev/null
+++ b/gas/testsuite/gas/i386/all.exp
@@ -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
index 0000000..36c38de
--- /dev/null
+++ b/gas/testsuite/gas/i386/inout.s
@@ -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)
diff --git a/gas/testsuite/gas/m68k/.Sanitize b/gas/testsuite/gas/m68k/.Sanitize
index 5d0fbc5..a559c5d 100644
--- a/gas/testsuite/gas/m68k/.Sanitize
+++ b/gas/testsuite/gas/m68k/.Sanitize
@@ -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
index 0000000..4f0337a
--- /dev/null
+++ b/gas/testsuite/gas/m68k/p2410.s
@@ -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