Eric Anholt wrote:
> A while ago I added the stuff to the config/cf/* to enable USE_SSE_ASM
> on FreeBSD, but today found that it wasn't enabled on my athlon.  I
> added the proper sysctl check for it, but it still wasn't enabled.  It
> turns out the Athlon's extended CPUID function has most of the same
> feature bits as the standard CPUID features function, but it doesn't
> ever enable the SSE bit.  I've made a patch that ORs in the bit from the
> standard function, enabling SSE on new Athlons.  It's attached.
> 
> However, most of the demos I ran saw no improvement from this.  The
> exception was texcyl, which had an almost negligible but consistent
> improvement.  This is with a Radeon 7500, RADEON_NO_TCL=1.  Are there
> any demos in particular that would stress the code that's enabled with
> sse that isn't masked out by 3dnow (transforms of normals?)?

demos/isosurf draws a lot of lit vertices.  You might try that.


> The total
> difference on texcyl between sse/3dnow and no sse/3dnow was on the order
> of 1%, so it was a poor benchmark to use.
> 
> Anyone opposed to me committing?

It looks good.  Go ahead and apply it to your branch and the trunk.
I'll apply it to Mesa CVS.

-Brian




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
PC Mods, Computing goodies, cases & more
http://thinkgeek.com/sf
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to