PR gas/2101

* gas/mmix/hex2.s, gas/mmix/hex2.d: New test.
This commit is contained in:
Hans-Peter Nilsson 2006-01-03 05:52:15 +00:00
parent 60bec0650f
commit 834b26f4b7
3 changed files with 37 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2006-01-03 Hans-Peter Nilsson <hp@bitrange.com>
PR gas/2101
* gas/mmix/hex2.s, gas/mmix/hex2.d: New test.
2005-12-22 Jan Beulich <jbeulich@novell.com>
* gas/all/cond.s: Also check .if works on equates to undefined

View File

@ -0,0 +1,17 @@
# objdump: -dr
.*: file format elf64-mmix
Disassembly of section \.text:
0+ <Main>:
[ ]+0:[ ]+fd000000[ ]+swym 0,0,0
[ ]+4:[ ]+e309001f[ ]+setl \$9,0x1f
[ ]+8:[ ]+e3081b2f[ ]+setl \$8,0x1b2f
[ ]+c:[ ]+e307ff9f[ ]+setl \$7,0xff9f
[ ]+10:[ ]+e3061f3a[ ]+setl \$6,0x1f3a
[ ]+14:[ ]+e305001b[ ]+setl \$5,0x1b
[ ]+18:[ ]+e3041a1b[ ]+setl \$4,0x1a1b
[ ]+1c:[ ]+e303009f[ ]+setl \$3,0x9f
[ ]+20:[ ]+e302009b[ ]+setl \$2,0x9b
[ ]+24:[ ]+e301001f[ ]+setl \$1,0x1f
[ ]+28:[ ]+e300001b[ ]+setl \$0,0x1b

View File

@ -0,0 +1,15 @@
x:
swym
0:
setl $9,#1F
1:
setl $8,#1B2F
setl $7,0xFF9F
setl $6,#1F3A
9:
setl $5,#1B
setl $4,#1A1B
setl $3,0x9F
setl $2,0x9B
setl $1,0x1F
setl $0,0x1b