On Thu, Jul 20, 2000 at 04:15:06PM +0530, Shridhar Daithankar wrote:
> But real issue is to what CPU optimisations, should I compile the
> applications?  To my experience, linux was about 30% faster when I
> compiled stock RHL6.1 kernel to Pentium optimisation. I want to do
> the same stuff over here.

AMD designs their processors to run pentium optimized code. So your
pentium optimizations should help AMD too.

As for 3D now or MMX/MMX2, you need to handcode those assembly routines.
All you need is support for those instructions in binutils. In the absence
of those, you'll have to write ".byte 0x....

In order to write AMD specific optimizations, AMD needs to publish a 
compiler writers guide describing their micro architecture (similar to
the u-v pipeline stuff Intel published). Even knowing the number of
functional units etc can help do better instruction scheduling. You can
play around with the gcc -f flags to see if they make any difference.

You might find more assistance on comp.arch or comp.compilers.

        -Arun

-----------------------------------------------------------------------
LIH is all for free speech.  But it was created for a purpose - to help
people discuss issues about installing and running Linux.  If your
messages are counterproductive to this purpose, your privileges to
submit messages can and will be revoked.

Reply via email to