NetBSD/regress/sys/arch/m68k/emuspeed/test.s
is fceedefe6d Some 68060 tests:
- 060sp is calling glue to Motorolas test code for the 68060SP. We dont call
  the ftest #3, as it requires special kernel support not wanted normally.
- emuspeed is a partially table-driven instruction, thus easily extensible
  benchmark. Tests are in for the emulated-on-68060 mul 32->64bit and
  div 64->32bit.
1997-09-30 23:12:45 +00:00

27 lines
283 B
ArmAsm

.globl _mul32smem
_mul32smem:
movl d2,sp@-
movl sp@(8),d2
L1:
mulsl sp@(8),d1
subql #1,d2
jne L1
movl sp@+,d2
rts
.globl _mul32sreg
_mul32sreg:
movl d2,sp@-
movl sp@(8),d2
L2:
mulsl d0,d1
subql #1,d2
jne L2
movl sp@+,d2
rts
.globl _illegal
_illegal:
illegal
rts