Assembling COP0 instructions

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

Moderators: cheriff, Herben

Post Reply
User avatar
Shazz
Posts: 244
Joined: Tue Aug 31, 2004 11:42 pm
Location: Somewhere over the rainbow
Contact:

Assembling COP0 instructions

Post by Shazz »

Simple question, ee-gcc refused the COP0 instruction MFPC (Move From Perf Counter) :

Code: Select all

ee-gcc -D_EE -O2 -G0 -Wall -Wno-unused -fno-builtin-printf -IC:/Dev-Cpp/projects/PS2/ps2Perf/ee/ps2Perf/include -IC:\PS2Dev2\ps2sdk/ee/include -IC:\PS2Dev2\ps2sdk/common/include -IC:/Dev-Cpp/projects/PS2/ps2Perf/ee/ps2Perf/include  -IC:/Dev-Cpp/projects/PS2/ps2Perf/ee/ps2Perf/include -I/usr/local/ps2dev/ee/lib/gcc-lib/ee/3.2.2/include -I/ee -c ps2Perf.c -o ps2Perf.o

/cygdrive/c/temp/ccB09aEp.s: Assembler messages:
/cygdrive/c/temp/ccB09aEp.s:146: Error: opcode not supported on this processor: r5900 (mips3) `mfpc $8,0'
/cygdrive/c/temp/ccB09aEp.s:390: Error: opcode not supported on this processor: r5900 (mips3) `mfpc $8,1'
Did I forget a CFLAG ?

Do we have some PS2SDK makefile template to build libs as we've got to build apps ?
Each time I'm reusing gskit one but....
- TiTAN Art Division -
http://www.titandemo.org
pixel
Posts: 791
Joined: Fri Jan 30, 2004 11:43 pm

Post by pixel »

mfpc should be supported. However, this was already reported and fixed in another thread. So, maybe you have to update your binutils, if your toolchain is that old.
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.
User avatar
Shazz
Posts: 244
Joined: Tue Aug 31, 2004 11:42 pm
Location: Somewhere over the rainbow
Contact:

Post by Shazz »

arg.... do not work on many PCs :DDD

ok fixed... thanks pixel :D

Oh, so I have updated Ps2perf to be comaptible with last ps2sdk, remove sjpcm... do you think it's worth updating the cvs ?
- TiTAN Art Division -
http://www.titandemo.org
Post Reply