2003-02-15 10:23:18

by Daniel Egger

[permalink] [raw]
Subject: [Patch] 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.

--
Servus,
Daniel


Attachments:
diff (448.00 B)
signature.asc (189.00 B)
Dies ist ein digital signierter Nachrichtenteil
Download all attachments

2003-02-20 18:23:29

by Dave Jones

[permalink] [raw]
Subject: Re: [Patch] Enable SSE for AMD Athlon (Thoroughbred) in 2.4.20

On Sat, Feb 15, 2003 at 12:44:53AM +0100, Daniel Egger wrote:
> 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.

> --- arch/i386/kernel/setup.c.orig 2003-02-03 13:26:38.000000000 +0100
> +++ arch/i386/kernel/setup.c 2003-02-14 14:14:12.000000000 +0100
> @@ -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

--
| Dave Jones. http://www.codemonkey.org.uk
| SuSE Labs

2003-02-20 23:35:50

by Daniel Egger

[permalink] [raw]
Subject: Re: [Patch] Enable SSE for AMD Athlon (Thoroughbred) in 2.4.20

Am Don, 2003-02-20 um 19.45 schrieb Dave Jones:

> > 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....

--
Servus,
Daniel


Attachments:
signature.asc (189.00 B)
Dies ist ein digital signierter Nachrichtenteil