diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2006-01-03 05:52:15 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@axis.com> | 2006-01-03 05:52:15 +0000 |
commit | 834b26f4b7b403acb2ccadca524e7ec653bdb015 (patch) | |
tree | 943fe87f7436f5bb9cdda7c9e0567b11c5654673 /gas | |
parent | 60bec0650fd6d90207d02207cf7d1a9e8ca6426f (diff) | |
download | gdb-834b26f4b7b403acb2ccadca524e7ec653bdb015.zip gdb-834b26f4b7b403acb2ccadca524e7ec653bdb015.tar.gz gdb-834b26f4b7b403acb2ccadca524e7ec653bdb015.tar.bz2 |
PR gas/2101
* gas/mmix/hex2.s, gas/mmix/hex2.d: New test.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gas/testsuite/gas/mmix/hex2.d | 17 | ||||
-rw-r--r-- | gas/testsuite/gas/mmix/hex2.s | 15 |
3 files changed, 37 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 41a06b3..05b6967 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -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 diff --git a/gas/testsuite/gas/mmix/hex2.d b/gas/testsuite/gas/mmix/hex2.d new file mode 100644 index 0000000..9f3294a --- /dev/null +++ b/gas/testsuite/gas/mmix/hex2.d @@ -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 diff --git a/gas/testsuite/gas/mmix/hex2.s b/gas/testsuite/gas/mmix/hex2.s new file mode 100644 index 0000000..ccdf012 --- /dev/null +++ b/gas/testsuite/gas/mmix/hex2.s @@ -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 |