Enable SSE for AMD Athlon (Thoroughbred) in 2.4.20
PATCH 1/1 Enable SSE for AMD Athlon (Thoroughbred) in 2.4.20
Hija,
please include the obvious oneliner attached in 2.4.21 to help the poor folks having recent Athlons. :)
A similar change for the just released Barton would also be nice but I do not have the model number handy.
Signature · 2 lines
Servus,
Danieli386/kernel/setup.c renamed from i386/kernel/setup.c.orig +1 -1
@@ -1421,7 +1421,7 @@* If the BIOS didn't enable it already, enable it * here. */ -if (c->x86_model ==6 || c->x86_model ==7 ) { +if (c->x86_model ==6 || c->x86_model ==7 || c->x86_model ==8 ) {if (!test_bit (X86_FEATURE_XMM , &c->x86_capability)) { printk(KERN_INFO
Quoted 7 lines · Daniel Egger
Hija,
please include the obvious oneliner attached in 2.4.21 to help the poor folks having recent Athlons. :)
A similar change for the just released Barton would also be nice but I do not have the model number handy.
It's model 10. Somehow they skipped model 9.
i386/kernel/setup.c line 1427
Quoted 11 lines
i386/kernel/setup.c renamed from i386/kernel/setup.c.orig +1
-1@@ -1421,7 +1421,7 @@* If the BIOS didn't enable it already, enable it * here. */ -if (c->x86_model ==6 || c->x86_model ==7 ) { +if (c->x86_model ==6 || c->x86_model ==7 || c->x86_model ==8 ) {if (!test_bit (X86_FEATURE_XMM , &c->x86_capability)) { printk(KERN_INFO
if (c->x86_model >= 6 && c->x86_model <= 10) {
should do the right thing on all current models with SSE afaics..
Dave
Signature · 2 lines
| Dave Jones. http://www.codemonkey.org.uk | SuSE Labs
Am Don, 2003-02-20 um 19.45 schrieb Dave Jones:
Quoted 8 lines
Quoted 2 lines
A similar change for the just released Barton would also be nice but I do not have the model number handy.
It's model 10. Somehow they skipped model 9.
if (
c->x86_model>= 6 &&c->x86_model<= 10) {should do the right thing on all current models with SSE afaics..
I think so, too. The specific checks where just to be on the sure side....
Signature · 2 lines
Servus,
Daniel