diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2007-12-26 22:21:42 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2007-12-26 22:21:42 +0000 |
commit | 9f210b547660c3b686e67c84b085a88b72c427a1 (patch) | |
tree | 789faed2cb6310c4dec773c47a1ff4ce256ea02d /sys/arch/m88k | |
parent | 05a292d3dbfa7b5411b7b1f5f94c87a60069ca3b (diff) |
Remove the last debug bit from the PSR on 88110: do not force memory accesses
instructions to be serialized (this defeats the purpose of having a superscalar
processor, and accesses to volatile variables are done with explicit memory
barriers anyway).
This brings a HUGE speedup: openssl speed -elapsed shows AES is 90% faster,
blowfish is 75% faster, and sha1 is 50% faster. Not so bad!
However, doing this increases the pressure on the processor bus, so it is
necessary to increase the processor bus timeout on 40MHz boards again (to 256
usec). ``black cat'' 50MHz boards seem to be unaffected, so they remain at
64 usec.
Diffstat (limited to 'sys/arch/m88k')
-rw-r--r-- | sys/arch/m88k/m88k/m88k_machdep.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/m88k/m88k/m88k_machdep.c b/sys/arch/m88k/m88k/m88k_machdep.c index 51c918edea7..2d20ef838b0 100644 --- a/sys/arch/m88k/m88k/m88k_machdep.c +++ b/sys/arch/m88k/m88k/m88k_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: m88k_machdep.c,v 1.40 2007/12/15 19:33:34 miod Exp $ */ +/* $OpenBSD: m88k_machdep.c,v 1.41 2007/12/26 22:21:39 miod Exp $ */ /* * Copyright (c) 1998, 1999, 2000, 2001 Steve Murphree, Jr. * Copyright (c) 1996 Nivas Madhur @@ -133,10 +133,10 @@ setregs(p, pack, stack, retval) #ifdef M88110 if (CPU_IS88110) { /* - * user mode, serialize mem, interrupts enabled, + * user mode, interrupts enabled, * graphics unit, fp enabled */ - tf->tf_epsr = PSR_SRM | PSR_SFD; + tf->tf_epsr = PSR_SFD; } #endif #ifdef M88100 |