new tests
This commit is contained in:
parent
09f080a55e
commit
0630b39c7d
8 changed files with 73 additions and 0 deletions
|
@ -28,6 +28,8 @@ Things-to-keep:
|
|||
|
||||
gas.exp
|
||||
comment.s
|
||||
float.s
|
||||
p1480.s
|
||||
p2425.s
|
||||
x930509.s
|
||||
|
||||
|
|
4
gas/testsuite/gas/all/float.s
Normal file
4
gas/testsuite/gas/all/float.s
Normal file
|
@ -0,0 +1,4 @@
|
|||
.text
|
||||
foo: .single 0r1.2345e+06
|
||||
.single 0f3.14159
|
||||
.double 0r2.718282
|
3
gas/testsuite/gas/all/p1480.s
Normal file
3
gas/testsuite/gas/all/p1480.s
Normal file
|
@ -0,0 +1,3 @@
|
|||
start: .long 0, 1, 2, 3, 4, 5, 6, 7
|
||||
.space 0x20 - (. - start)
|
||||
foo: .long 42
|
34
gas/testsuite/gas/i386/.Sanitize
Normal file
34
gas/testsuite/gas/i386/.Sanitize
Normal file
|
@ -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.
|
3
gas/testsuite/gas/i386/all.exp
Normal file
3
gas/testsuite/gas/i386/all.exp
Normal file
|
@ -0,0 +1,3 @@
|
|||
if [istarget i386-*] then {
|
||||
gas_test "inout.s" "" $stdoptlist "various in/out syntaxes"
|
||||
}
|
11
gas/testsuite/gas/i386/inout.s
Normal file
11
gas/testsuite/gas/i386/inout.s
Normal file
|
@ -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)
|
|
@ -27,6 +27,7 @@ Do-first:
|
|||
Things-to-keep:
|
||||
|
||||
all.exp
|
||||
p2410.s
|
||||
p2663.s
|
||||
t2.s
|
||||
|
||||
|
|
15
gas/testsuite/gas/m68k/p2410.s
Normal file
15
gas/testsuite/gas/m68k/p2410.s
Normal file
|
@ -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
|
Loading…
Add table
Reference in a new issue