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
This commit is contained in:
parent
f3139ecc8b
commit
ca680978de
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user