[quake3] Bots on RISC-based systems

Patrick Baggett baggett.patrick at gmail.com
Mon Nov 19 11:26:38 EST 2007


Thanks for the responses.

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.



On Nov 19, 2007 6:31 AM, Ludwig Nussel <ludwig.nussel at suse.de> wrote:

> Patrick Baggett wrote:
> > Is anyone having problems using bots on RISC-based systems (SPARC, PPC,
> > MIPS)?
>
> Try using gcc or check your CFLAGS. Maybe your compiler doesn't
> automatically pad structures where required. When compiling ioq3
> with -Wpadded on e.g. ppc gcc shows that it pads *lots* of stucts.
> Among those:
> l_script.h:164: warning: padding struct to align 'floatvalue'
> l_script.h:171: warning: padding struct size to alignment boundary
>
> cu
> Ludwig
>
> --
>  (o_   Ludwig Nussel
>  //\
>  V_/_  http://www.suse.de/
> SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)
>
>
>
>
> ---
> To unsubscribe, send a blank email to quake3-unsubscribe at icculus.org
> Mailing list archives: http://icculus.org/cgi-bin/ezmlm/ezmlm-cgi?50
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/quake3/attachments/20071119/8857deef/attachment.htm>


More information about the quake3 mailing list