@@ -15,8 +15,17 @@
.type test2, @function
test2:
link.w %fp,#0
- move.l 8(%fp),%d0
- move.l 12(%fp),%d1
+ move.l 8(%fp),(%a0)
+ move.l 12(%fp),4(%a0)
+ lea (-16,%sp),%sp
+ move.l %sp,%d0
+ addq.l #7,%d0
+ lsr.l #3,%d0
+ move.l %d0,%d1
+ lsl.l #3,%d1
+ move.l %d1,%a0
+ move.l (%a0),%d0
+ move.l 4(%a0),%d1
move.l %d1,%d0
unlk %fp
rts
@@ -37,8 +46,9 @@
.globl test4
.type test4, @function
test4:
- link.w %fp,#0
- move.l 8(%fp),%d0
+ link.w %fp,#-4
+ move.l 8(%fp),-4(%fp)
+ move.l -4(%fp),%d0
move.l %d0,%d1
smi %d0
extb.l %d0
@@ -54,8 +64,17 @@
.type test5, @function
test5:
link.w %fp,#0
- move.l 8(%fp),%a0
- move.l 12(%fp),%a1
+ move.l 8(%fp),(%a0)
+ move.l 12(%fp),4(%a0)
+ lea (-16,%sp),%sp
+ move.l %sp,%d0
+ addq.l #7,%d0
+ lsr.l #3,%d0
+ move.l %d0,%d1
+ lsl.l #3,%d1
+ move.l %d1,%a0
+ move.l 4(%a0),%a1
+ move.l (%a0),%a0
move.l %a0,%d0
move.l %a1,%d1
unlk %fp