| View previous topic :: View next topic |
| Author |
Message |
Shazz

Joined: 31 Aug 2004 Posts: 244 Location: Somewhere over the rainbow
|
Posted: Fri Mar 18, 2005 5:37 am Post subject: Assembling COP0 instructions |
|
|
Simple question, ee-gcc refused the COP0 instruction MFPC (Move From Perf Counter) :
| Code: | 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 |
|
| Back to top |
|
 |
pixel
Joined: 30 Jan 2004 Posts: 791
|
Posted: Fri Mar 18, 2005 5:43 am Post subject: |
|
|
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. |
|
| Back to top |
|
 |
Shazz

Joined: 31 Aug 2004 Posts: 244 Location: Somewhere over the rainbow
|
Posted: Fri Mar 18, 2005 8:00 pm Post subject: |
|
|
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 |
|
| Back to top |
|
 |
|