Untitled

posted in DruinkJournal
Published December 03, 2009
Advertisement
Christ, CodeWarrior is effing useless. In an optimised build, I have this code:
u32 nSP;nSP = 17;nSP = 42;asm{   mov nSP, sp};printf("SP = %d\n", nSP);

And that evaluates to:
020C2F58: E3A01011  mov      r1,#0x11020C2F5C: E3A0102A  mov      r1,#0x2a020C2F60: E1A0100D  cpy      r1,sp020C2F68: E59F002C  ldr      r0,[pc,#44]020C2F6C: EBFD3097  bl       printf (0x200f1d0)   ; 0x0200f1d0

Honestly, CodeWarrior, what the shit. It's a LOCAL VARIABLE. It's not a pointer, it's not volatile. I accept that I'm using inline asm there, but come on... LERN 2 OPTIMEYES PLZ.
Previous Entry Untitled
Next Entry Untitled
0 likes 3 comments

Comments

Sly
Having used CodeWarrior extensively to develop PS2, Gamecube and Wii games, I wholeheartedly agree that it is effing useless. Not just in its optimisation attempts, but also in the IDE, user interface, automation, source control integration, and general usability.
December 04, 2009 08:55 PM
shadowcomplex
Codewarrior + wii development shaved years off my life. I hate CW (well, really anything Metrowerks) with a passion.
December 04, 2009 10:24 PM
MGB
LOLZ - had hours of 'fun' using CodeWorrier programming for mobile phones. Urgh.
December 08, 2009 04:06 PM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Advertisement
Advertisement