diff options
author | dwmalone <dwmalone@FreeBSD.org> | 2003-03-20 20:50:22 +0000 |
---|---|---|
committer | dwmalone <dwmalone@FreeBSD.org> | 2003-03-20 20:50:22 +0000 |
commit | ca680978def6acba25fea0c7ca195020fb2bbcf3 (patch) | |
tree | 08b9530c5a6fe6901f19c3a74808cf1d44e5d86e /sys/amd64 | |
parent | f3139ecc8bc1ddda28bad45788ac096a921bc913 (diff) | |
download | FreeBSD-src-ca680978def6acba25fea0c7ca195020fb2bbcf3.zip FreeBSD-src-ca680978def6acba25fea0c7ca195020fb2bbcf3.tar.gz |
Extend CPU_ATHLON_SSE_HACK to cover a few more revisions of Athlon CPUs.
Submitted by: Jon Kuster <kwsn@earthlink.net>
MFC after: 2 weeks
Diffstat (limited to 'sys/amd64')
-rw-r--r-- | sys/amd64/amd64/initcpu.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/amd64/amd64/initcpu.c b/sys/amd64/amd64/initcpu.c index 2a4b473..3331c7b 100644 --- a/sys/amd64/amd64/initcpu.c +++ b/sys/amd64/amd64/initcpu.c @@ -593,7 +593,8 @@ initializecpu(void) */ if ((cpu_feature & CPUID_XMM) == 0 && ((cpu_id & ~0xf) == 0x660 || - (cpu_id & ~0xf) == 0x670)) { + (cpu_id & ~0xf) == 0x670 || + (cpu_id & ~0xf) == 0x680)) { u_int regs[4]; wrmsr(0xC0010015, rdmsr(0xC0010015) & ~0x08000); do_cpuid(1, regs); |