diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2006-01-04 22:32:47 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2006-01-04 22:32:47 +0000 |
commit | f1f8ec084a4848342229b45f81844372a42bb6b3 (patch) | |
tree | 83c7754b135823a6396c7350a9a01bc77eab7839 /sys/dev/ipmivar.h | |
parent | 91339e2fbe038a0c52beb0d56cdac038eeae8c09 (diff) |
Switch to the C version of random() on m68k platforms. It is almost as fast
as the assembly version on 0[234]0, but *fifteen* times faster than it on
68060 systems, since it uses a form of muls.l which has to be emulated.
And since we use random() for statclock variance, this means we were
gratuitously doing an average of 100 emulation traps per second.
ok deraadt@ millert@
Diffstat (limited to 'sys/dev/ipmivar.h')
0 files changed, 0 insertions, 0 deletions