[quake3] Bots on RISC-based systems

Ludwig Nussel ludwig.nussel at suse.de
Mon Nov 19 14:55:42 EST 2007


Patrick Baggett wrote:
> I'm not having a problem with compiling the code, that much works fine.
> I'm not using GCC, nor will I be. On IRIX/MIPS, GCC produces extremely poor
> code compared to the native MIPSpro compilers, usually around a 30%-40% hit
> in performance, especially with fp math. I have been having problems with
> the bot library that deal with alignment (getting SIGBUS). I manually
> aligned them in a few places, but have had other stranger problems than that
> one. I actually filed a bug report at
> http://bugzilla.icculus.org/show_bug.cgi?id=3427 that details my findings so
> far.

Yes I read and understood what you wrote :-) Please try gcc anyways.
I just want to know whether the code generated by gcc crashes too.
For that purpose the performance doesn't matter. As I wrote gcc pads
the variables in structs on e.g. ppc to have proper alignment.

The other problem with that variable is indeed weird but your
solution certainly is not an acceptable fix.

cu
Ludwig

-- 
 (o_   Ludwig Nussel
 //\   SUSE LINUX Products GmbH, Development
 V_/_  http://www.suse.de/





More information about the quake3 mailing list