[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Optimized binaries for X



Hi, all. I'm going to try building binaries optimized for K6-x processors
to see if performance is changed. 


Just put this in debian/patches/100_debian_host.def.diff:

+#define DefaultGcc2i386Opt     -O5 -march=k6

Just make sure that that #define is not commented out.
 

Also for those who have s3virge/gx2 chipsets, Kevin Brosius (the s3virge
maintainer for XFree86) suggested this fix:


<snip>

#define WAITFIFO(n) if(ps3v->NoPCIRetry) \
         while(((INREG(SUBSYS_STAT_REG) >> 9) & 0x60) < n){}

(The bits are different...  GX2 is supposed to be compatible, but it
also has a deeper FIFO and more 'FIFO available slot' bits in this
register.  Seems that our other check was worse. ;( )

Kevin

(This is in drivers/s3virge/s3v_macros.h for anyone else watching.)


<snip>


I'll let you know how both of these come along.

-- 
**  Derek J Witt                                                **
*   Email: mailto:djw@flinthills.com                             *
*   Home Page: http://www.flinthills.com/~djw/                   *
*** "Houston, the Eagle has landed and laid an egg!" -- Unknown **




Reply to: