ps2-gcc: possible vu macro mode bug

Discuss the development of software, tools, libraries and anything else that helps make ps2dev happen.

Moderators: cheriff, Herben

Post Reply
jar
Posts: 7
Joined: Sun Jan 18, 2004 12:57 am
Location: Denmark
Contact:

ps2-gcc: possible vu macro mode bug

Post by jar »

I've just installed ps2-gcc and tried to compile my ttc 19 demo, changing all #include <stdilb.h>'s to #include <malloc.h> made all files compile except math.c which uses vrsqrt in vu macro mode in some inline assembler code:

Code: Select all

vrsqrt Q, $vf0w, $vf4x
this worked with ee-gcc 2.9 and 3.2, but with ps2-gcc i get:

Code: Select all

Error&#58; illegal operands `vrsqrt'
as far as i could tell vrsqrt won't accept any $VFnnW operands (since $vf1w doesn't work either but changing it to $vf0x works).


otherwise good job with the new combined compiler!

regards,
jar.
pixel
Posts: 791
Joined: Fri Jan 30, 2004 11:43 pm

Post by pixel »

Hum. I'll have a look at it.
pixel: A mischievous magical spirit associated with screen displays. The computer industry has frequently borrowed from mythology. Witness the sprites in computer graphics, the demons in artificial intelligence and the trolls in the marketing department.
Post Reply