On Wed, 6 Oct 2004, Eric Anholt wrote:

On Wed, 2004-10-06 at 09:33, Vladimir Dergachev wrote:
On Wed, 6 Oct 2004, Dieter [iso-8859-15] Nützel wrote:

Am Mittwoch, 6. Oktober 2004 03:52 schrieb Ian Romanick:
Here's a simple patch that gives about a 50% (on my box) speed boost to
glReadPixels performance in 24-bit.  I measured using the benchmark
built into progs/demos/readpix.  The interesting thing is that the core
MMX & SSE2 routines can be used for other cards as well.  For example,
it looks like MGA, Unichrome, and others can use the same code for 24-bit.

Stupid question - aren't newer versions of gcc capable of producing SSE/MMX code ? Would it be enough just to turn on appropriate flags ?

Distributions are probably shipping only one set of binaries. So, automatically chosen hand-coded assembler in the places that matter is much better than people having to compile using a custom set of gcc flags and maybe getting code that's about as good for their particular machine (if they get lucky).

Oh, I simply meant to compile the same source multiple times with different gcc options and different function (or object) names.


But Ian says that current gcc is unusable, so it is irrelevant.

                          best

                            Vladimir Dergachev


-- Eric Anholt [EMAIL PROTECTED] http://people.freebsd.org/~anholt/ [EMAIL PROTECTED]




------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl -- _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to