From: Jeff Law Date: Mon, 25 Nov 1996 18:42:32 +0000 (+0000) Subject: * gas/mn10300/*.s: Use '$' as register prefix for X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a0cb629bdee9ef16f392d035e82d2d39e3d2b4f6;p=binutils-gdb.git * gas/mn10300/*.s: Use '$' as register prefix for all register operands. --- diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index cf903f952d3..6f62f7ac20c 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,8 @@ +Mon Nov 25 11:38:37 1996 Jeffrey A Law (law@cygnus.com) + + * gas/mn10300/*.s: Use '$' as register prefix for + all register operands. + Thu Nov 21 11:52:54 1996 Jeffrey A Law (law@cygnus.com) * gas/all/gas.exp: xfail a couple tests for the mn10300. diff --git a/gas/testsuite/gas/mn10300/add.s b/gas/testsuite/gas/mn10300/add.s new file mode 100755 index 00000000000..8ad64072748 --- /dev/null +++ b/gas/testsuite/gas/mn10300/add.s @@ -0,0 +1,15 @@ + .text + add $d1,$d2 + add $d2,$a3 + add $a3,$a2 + add $a2,$d1 + add 16,$d1 + add 256,$d2 + add 131071,$d3 + add 16,$a1 + add 256,$a2 + add 131071,$a3 + add 16,$sp + add 256,$sp + add 131071,$sp + addc $d1,$d2 diff --git a/gas/testsuite/gas/mn10300/bit.s b/gas/testsuite/gas/mn10300/bit.s new file mode 100755 index 00000000000..d5a9551d546 --- /dev/null +++ b/gas/testsuite/gas/mn10300/bit.s @@ -0,0 +1,12 @@ + .text + btst 64,$d1 + btst 8192,$d2 + btst 131071,$d3 + btst 64,(8,$a1) + btst 64,(131071) + bset $d1,($a2) + bset 64,(8,$a1) + bset 64,(131071) + bclr $d1,($a2) + bclr 64,(8,$a1) + bclr 64,(131071) diff --git a/gas/testsuite/gas/mn10300/cmp.s b/gas/testsuite/gas/mn10300/cmp.s new file mode 100755 index 00000000000..c02efabcc17 --- /dev/null +++ b/gas/testsuite/gas/mn10300/cmp.s @@ -0,0 +1,11 @@ + .text + cmp $d1,$d2 + cmp $d2,$a3 + cmp $a3,$d3 + cmp $a3,$a2 + cmp 16,$d3 + cmp 256,$d2 + cmp 131071,$d1 + cmp 16,$a3 + cmp 256,$a2 + cmp 131071,$a1 diff --git a/gas/testsuite/gas/mn10300/ext.s b/gas/testsuite/gas/mn10300/ext.s new file mode 100755 index 00000000000..424b402c16a --- /dev/null +++ b/gas/testsuite/gas/mn10300/ext.s @@ -0,0 +1,7 @@ + .text + ext $d1 + extb $d2 + extbu $d3 + exth $d2 + exthu $d1 + diff --git a/gas/testsuite/gas/mn10300/extend.s b/gas/testsuite/gas/mn10300/extend.s new file mode 100755 index 00000000000..1b27e8106f0 --- /dev/null +++ b/gas/testsuite/gas/mn10300/extend.s @@ -0,0 +1,15 @@ + .text + putx $d1 + getx $d2 + mulq $d1,$d2 + mulq 16,$d2 + mulq 256,$d3 + mulq 131071,$d3 + mulqu $d1,$d2 + mulqu 16,$d2 + mulqu 256,$d3 + mulqu 131071,$d3 + sat16 $d2,$d3 + sat24 $d3,$d2 + bsch $d1,$d2 + diff --git a/gas/testsuite/gas/mn10300/logical.s b/gas/testsuite/gas/mn10300/logical.s new file mode 100755 index 00000000000..6c39eed3bd7 --- /dev/null +++ b/gas/testsuite/gas/mn10300/logical.s @@ -0,0 +1,15 @@ + .text + and $d1,$d2 + and 127,$d2 + and 32767,$d3 + and 131071,$d3 + and 32767,$psw + or $d1,$d2 + or 127,$d2 + or 32767,$d3 + or 131071,$d3 + or 32767,$psw + xor $d1,$d2 + xor 32767,$d3 + xor 131071,$d3 + not $d3 diff --git a/gas/testsuite/gas/mn10300/mov2.s b/gas/testsuite/gas/mn10300/mov2.s new file mode 100755 index 00000000000..353ab12b0c4 --- /dev/null +++ b/gas/testsuite/gas/mn10300/mov2.s @@ -0,0 +1,16 @@ + .text + mov (131071,$sp),$d1 + mov ($d1,$a1),$d2 + mov (32768),$d1 + mov (131071),$d1 + mov ($a2),$a1 + mov (8,$a2),$a1 + mov (256,$a2),$a1 + mov (131071,$a2),$a1 + mov (8,$sp),$a1 + mov (256,$sp),$a1 + mov (131071,$sp),$a1 + mov ($d1,$a1),$a2 + mov (32768),$a1 + mov (131071),$a1 + mov (32,$a1),$sp diff --git a/gas/testsuite/gas/mn10300/mov3.s b/gas/testsuite/gas/mn10300/mov3.s new file mode 100755 index 00000000000..ddedc66e043 --- /dev/null +++ b/gas/testsuite/gas/mn10300/mov3.s @@ -0,0 +1,16 @@ + .text + mov $d1,($a2) + mov $d1,(32,$a2) + mov $d1,(256,$a2) + mov $d1,(131071,$a2) + mov $d1,(32,$sp) + mov $d1,(32768,$sp) + mov $d1,(131071,$sp) + mov $d1,($d2,$a2) + mov $d1,(128) + mov $d1,(131071) + mov $a1,($a2) + mov $a1,(32,$a2) + mov $a1,(256,$a2) + mov $a1,(131071,$a2) + mov $a1,(32,$sp) diff --git a/gas/testsuite/gas/mn10300/mov4.s b/gas/testsuite/gas/mn10300/mov4.s new file mode 100755 index 00000000000..f45f7aeca05 --- /dev/null +++ b/gas/testsuite/gas/mn10300/mov4.s @@ -0,0 +1,13 @@ + .text + mov $a1,(32768,$sp) + mov $a1,(131071,$sp) + mov $a1,($d2,$a2) + mov $a1,(128) + mov $a1,(131071) + mov $sp,(32,$a1) + mov 8,$d1 + mov 256,$d1 + mov 131071,$d1 + mov 8,$a1 + mov 256,$a1 + mov 131071,$a1 diff --git a/gas/testsuite/gas/mn10300/movbu.s b/gas/testsuite/gas/mn10300/movbu.s new file mode 100755 index 00000000000..91b695d4539 --- /dev/null +++ b/gas/testsuite/gas/mn10300/movbu.s @@ -0,0 +1,21 @@ + .text + movbu ($a2),$d1 + movbu (8,$a2),$d1 + movbu (256,$a2),$d1 + movbu (131071,$a2),$d1 + movbu (8,$sp),$d1 + movbu (256,$sp),$d1 + movbu (131071,$sp),$d1 + movbu ($d1,$a1),$d2 + movbu (32768),$d1 + movbu (131071),$d1 + movbu $d1,($a2) + movbu $d1,(32,$a2) + movbu $d1,(256,$a2) + movbu $d1,(131071,$a2) + movbu $d1,(32,$sp) + movbu $d1,(32768,$sp) + movbu $d1,(131071,$sp) + movbu $d1,($d2,$a2) + movbu $d1,(128) + movbu $d1,(131071) diff --git a/gas/testsuite/gas/mn10300/movhu.s b/gas/testsuite/gas/mn10300/movhu.s new file mode 100755 index 00000000000..bce7c7bbef1 --- /dev/null +++ b/gas/testsuite/gas/mn10300/movhu.s @@ -0,0 +1,21 @@ + .text + movhu ($a2),$d1 + movhu (8,$a2),$d1 + movhu (256,$a2),$d1 + movhu (131071,$a2),$d1 + movhu (8,$sp),$d1 + movhu (256,$sp),$d1 + movhu (131071,$sp),$d1 + movhu ($d1,$a1),$d2 + movhu (32768),$d1 + movhu (131071),$d1 + movhu $d1,($a2) + movhu $d1,(32,$a2) + movhu $d1,(256,$a2) + movhu $d1,(131071,$a2) + movhu $d1,(32,$sp) + movhu $d1,(32768,$sp) + movhu $d1,(131071,$sp) + movhu $d1,($d2,$a2) + movhu $d1,(128) + movhu $d1,(131071) diff --git a/gas/testsuite/gas/mn10300/muldiv.s b/gas/testsuite/gas/mn10300/muldiv.s new file mode 100755 index 00000000000..5789bd8b40b --- /dev/null +++ b/gas/testsuite/gas/mn10300/muldiv.s @@ -0,0 +1,5 @@ + .text + mul $d1,$d2 + mulu $d2,$d3 + div $d3,$d3 + divu $d3,$d2 diff --git a/gas/testsuite/gas/mn10300/shift.s b/gas/testsuite/gas/mn10300/shift.s new file mode 100755 index 00000000000..ba855c39408 --- /dev/null +++ b/gas/testsuite/gas/mn10300/shift.s @@ -0,0 +1,10 @@ + .text + asr $d1,$d2 + asr 4,$d2 + lsr $d2,$d3 + lsr 4,$d3 + asl $d3,$d2 + asl 4,$d2 + asl2 $d2 + ror $d1 + rol $d2 diff --git a/gas/testsuite/gas/mn10300/sub.s b/gas/testsuite/gas/mn10300/sub.s new file mode 100755 index 00000000000..e52bed54061 --- /dev/null +++ b/gas/testsuite/gas/mn10300/sub.s @@ -0,0 +1,8 @@ + .text + sub $d1,$d2 + sub $d2,$a3 + sub $a3,$d3 + sub $a3,$a2 + sub 131071,$d2 + sub 131071,$a1 + subc $d1,$d2