* gas/mn10300/*.s: Use '$' as register prefix for
all register operands.
This commit is contained in:
parent
f98905f13d
commit
a0cb629bde
15 changed files with 190 additions and 0 deletions
|
@ -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.
|
||||
|
|
15
gas/testsuite/gas/mn10300/add.s
Executable file
15
gas/testsuite/gas/mn10300/add.s
Executable file
|
@ -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
|
12
gas/testsuite/gas/mn10300/bit.s
Executable file
12
gas/testsuite/gas/mn10300/bit.s
Executable file
|
@ -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)
|
11
gas/testsuite/gas/mn10300/cmp.s
Executable file
11
gas/testsuite/gas/mn10300/cmp.s
Executable file
|
@ -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
|
7
gas/testsuite/gas/mn10300/ext.s
Executable file
7
gas/testsuite/gas/mn10300/ext.s
Executable file
|
@ -0,0 +1,7 @@
|
|||
.text
|
||||
ext $d1
|
||||
extb $d2
|
||||
extbu $d3
|
||||
exth $d2
|
||||
exthu $d1
|
||||
|
15
gas/testsuite/gas/mn10300/extend.s
Executable file
15
gas/testsuite/gas/mn10300/extend.s
Executable file
|
@ -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
|
||||
|
15
gas/testsuite/gas/mn10300/logical.s
Executable file
15
gas/testsuite/gas/mn10300/logical.s
Executable file
|
@ -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
|
16
gas/testsuite/gas/mn10300/mov2.s
Executable file
16
gas/testsuite/gas/mn10300/mov2.s
Executable file
|
@ -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
|
16
gas/testsuite/gas/mn10300/mov3.s
Executable file
16
gas/testsuite/gas/mn10300/mov3.s
Executable file
|
@ -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)
|
13
gas/testsuite/gas/mn10300/mov4.s
Executable file
13
gas/testsuite/gas/mn10300/mov4.s
Executable file
|
@ -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
|
21
gas/testsuite/gas/mn10300/movbu.s
Executable file
21
gas/testsuite/gas/mn10300/movbu.s
Executable file
|
@ -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)
|
21
gas/testsuite/gas/mn10300/movhu.s
Executable file
21
gas/testsuite/gas/mn10300/movhu.s
Executable file
|
@ -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)
|
5
gas/testsuite/gas/mn10300/muldiv.s
Executable file
5
gas/testsuite/gas/mn10300/muldiv.s
Executable file
|
@ -0,0 +1,5 @@
|
|||
.text
|
||||
mul $d1,$d2
|
||||
mulu $d2,$d3
|
||||
div $d3,$d3
|
||||
divu $d3,$d2
|
10
gas/testsuite/gas/mn10300/shift.s
Executable file
10
gas/testsuite/gas/mn10300/shift.s
Executable file
|
@ -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
|
8
gas/testsuite/gas/mn10300/sub.s
Executable file
8
gas/testsuite/gas/mn10300/sub.s
Executable file
|
@ -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
|
Loading…
Reference in a new issue