Assembling COP0 instructions
Posted: Fri Mar 18, 2005 5:37 am
Simple question, ee-gcc refused the COP0 instruction MFPC (Move From Perf Counter) :
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....
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'
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....