* gas/all/cond.s, gas/all/cond.d: New test.

* gas/all/gas.exp: Run it.
This commit is contained in:
Ian Lance Taylor 1997-02-25 18:47:08 +00:00
parent 28d8c67124
commit c98bb2d606
4 changed files with 44 additions and 0 deletions

View File

@ -1,3 +1,13 @@
Tue Feb 25 13:45:55 1997 Ian Lance Taylor <ian@cygnus.com>
* gas/all/cond.s, gas/all/cond.d: New test.
* gas/all/gas.exp: Run it.
Mon Feb 24 10:52:12 1997 Bob Manson <manson@charmed.cygnus.com>
* lib/gas-defs.exp(gas_init): Added new parameter for script
name.
start-sanitize-tic80
Mon Feb 24 10:40:28 1997 Fred Fish <fnf@cygnus.com>

View File

@ -31,6 +31,8 @@ align.s
gas.exp
cofftag.d
cofftag.s
cond.d
cond.s
comment.s
diff1.s
float.s

View File

@ -0,0 +1,15 @@
# This should match the output of gas -alc cond.s.
.*cond.s.*
1[ ]+.if 0
8[ ]+.else
9[ ]+.if 1
10[ ]+.endc
11 0000 0[02]00 ?000[02][ ]+.long[ ]+2
12[ ]+.if 0
14[ ]+.else
15 0004 0[04]00 ?000[04][ ]+.long[ ]+4
16[ ]+.endc
17[ ]+.endc

View File

@ -0,0 +1,17 @@
.if 0
.if 1
.endc
.long 0
.if 0
.long 1
.endc
.else
.if 1
.endc
.long 2
.if 0
.long 3
.else
.long 4
.endc
.endc