diff options
author | peter <peter@FreeBSD.org> | 1997-07-17 02:09:25 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1997-07-17 02:09:25 +0000 |
commit | b7fb1176cca4d023d037308ec90aa1243519cdcd (patch) | |
tree | b8d72270f51382a310626853c6e35e1560f862c3 /sys | |
parent | e266148f6d220bbae8b078f91c829de1dabb197b (diff) | |
download | FreeBSD-src-b7fb1176cca4d023d037308ec90aa1243519cdcd.zip FreeBSD-src-b7fb1176cca4d023d037308ec90aa1243519cdcd.tar.gz |
Remove the disable for the P5 cpu class bcopy using the FPU on SMP kernels,
it is understood to work now (and has been for quite a while apparently).
Diffstat (limited to 'sys')
-rw-r--r-- | sys/amd64/amd64/fpu.c | 5 | ||||
-rw-r--r-- | sys/amd64/isa/npx.c | 5 | ||||
-rw-r--r-- | sys/i386/isa/npx.c | 5 |
3 files changed, 6 insertions, 9 deletions
diff --git a/sys/amd64/amd64/fpu.c b/sys/amd64/amd64/fpu.c index 14487c95..3b0ca26 100644 --- a/sys/amd64/amd64/fpu.c +++ b/sys/amd64/amd64/fpu.c @@ -32,7 +32,7 @@ * SUCH DAMAGE. * * from: @(#)npx.c 7.2 (Berkeley) 5/12/91 - * $Id: npx.c,v 1.45 1997/06/02 08:19:05 dfr Exp $ + * $Id: npx.c,v 1.46 1997/06/22 16:04:06 peter Exp $ */ #include "npx.h" @@ -413,8 +413,7 @@ npxattach(dvp) } npxinit(__INITIAL_NPXCW__); -#if defined(I586_CPU) && !defined(SMP) - /* FPU not working under SMP yet */ +#if defined(I586_CPU) if (cpu_class == CPUCLASS_586 && npx_ex16) { if (!(dvp->id_flags & NPX_DISABLE_I586_OPTIMIZED_BCOPY)) { bcopy_vector = i586_bcopy; diff --git a/sys/amd64/isa/npx.c b/sys/amd64/isa/npx.c index 14487c95..3b0ca26 100644 --- a/sys/amd64/isa/npx.c +++ b/sys/amd64/isa/npx.c @@ -32,7 +32,7 @@ * SUCH DAMAGE. * * from: @(#)npx.c 7.2 (Berkeley) 5/12/91 - * $Id: npx.c,v 1.45 1997/06/02 08:19:05 dfr Exp $ + * $Id: npx.c,v 1.46 1997/06/22 16:04:06 peter Exp $ */ #include "npx.h" @@ -413,8 +413,7 @@ npxattach(dvp) } npxinit(__INITIAL_NPXCW__); -#if defined(I586_CPU) && !defined(SMP) - /* FPU not working under SMP yet */ +#if defined(I586_CPU) if (cpu_class == CPUCLASS_586 && npx_ex16) { if (!(dvp->id_flags & NPX_DISABLE_I586_OPTIMIZED_BCOPY)) { bcopy_vector = i586_bcopy; diff --git a/sys/i386/isa/npx.c b/sys/i386/isa/npx.c index 14487c95..3b0ca26 100644 --- a/sys/i386/isa/npx.c +++ b/sys/i386/isa/npx.c @@ -32,7 +32,7 @@ * SUCH DAMAGE. * * from: @(#)npx.c 7.2 (Berkeley) 5/12/91 - * $Id: npx.c,v 1.45 1997/06/02 08:19:05 dfr Exp $ + * $Id: npx.c,v 1.46 1997/06/22 16:04:06 peter Exp $ */ #include "npx.h" @@ -413,8 +413,7 @@ npxattach(dvp) } npxinit(__INITIAL_NPXCW__); -#if defined(I586_CPU) && !defined(SMP) - /* FPU not working under SMP yet */ +#if defined(I586_CPU) if (cpu_class == CPUCLASS_586 && npx_ex16) { if (!(dvp->id_flags & NPX_DISABLE_I586_OPTIMIZED_BCOPY)) { bcopy_vector = i586_bcopy; |