repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git]
/
regress
/
sys
/
arch
/
m68k
/
emuspeed
/
test.S
blob
1ae4b246e7d2e3e5ade5b3bb50cac60bf3540da3
1
/* $NetBSD$ */
2
3
#include <m68k/asm.h>
4
5
ENTRY_NOPROFILE(mul32smem)
6
movl %d2,%sp@-
7
movl %sp@(8),%d2
8
L1:
9
mulsl %sp@(8),%d1
10
subql #1,%d2
11
jne L1
12
movl %sp@+,%d2
13
rts
14
15
ENTRY_NOPROFILE(mul32sreg)
16
movl %d2,%sp@-
17
movl %sp@(8),%d2
18
L2:
19
mulsl %d0,%d1
20
subql #1,%d2
21
jne L2
22
movl %sp@+,%d2
23
rts
24
25
ENTRY_NOPROFILE(illegal)
26
illegal
27
rts