On m68k: FAIL: gcc.c-torture/execute/20050316-1.c -O0 execution test FAIL: gcc.c-torture/execute/20050316-2.c -O0 execution test FAIL: gcc.c-torture/execute/20050316-3.c -O0 execution test FAIL: gcc.c-torture/execute/simd-4.c -O0 execution test FAIL: gcc.c-torture/execute/simd-6.c -O0 execution test FAIL: gcc.dg/compat/vector-1 c_compat_x_tst.o-c_compat_y_tst.o execute
--- 20050316-1.s-good +++ 20050316-1.s-bad @@ -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 Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."