On Fri, Sep 28, 2001 at 03:18:48PM +0000, [EMAIL PROTECTED] wrote:
> 
> Thank Lawrence for your answer, a have more questions:
> 1.So if i use gcc 2.9x may i use -O3 or is a gcc problem, what would be the
> diference, is gcc 3.0.x faster??

There have been reports of gcc 2.95.x miscompiling code for x86 processors
at -O2 and above, but I used to use -O6 or even -O9 without ill effect, at
least with the games I play.

I believe 3.0.x is supposed to be faster at certain optimizations, such as
-O2, because more switches are turned on by default.  But I've heard mixed
reports about its speed.  One thing to keep in mind with 3.0.1 is that you
may get better performance using -finline-limit=5000, since the inline
limit was reduced to speed up compile times.

> 2.what march do i have to use for a PII 350??

I would use -march=i686.

> 3. which Inline may increase xmame performance:
> IL    = '-DINLINE=static __inline__' or 
> IL     = -DINLINE=static

Using '-DINLINE=static __inline__' should give better performance, since
in theory it will more aggressively inline functions.


_______________________________________________
Xmame mailing list
[EMAIL PROTECTED]
http://toybox.twisted.org.uk/mailman/listinfo/xmame

Reply via email to