forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Assembling COP0 instructions

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development
View previous topic :: View next topic  
Author Message
Shazz



Joined: 31 Aug 2004
Posts: 244
Location: Somewhere over the rainbow

PostPosted: Fri Mar 18, 2005 5:37 am    Post subject: Assembling COP0 instructions Reply with quote

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
View user's profile Send private message Visit poster's website
pixel



Joined: 30 Jan 2004
Posts: 791

PostPosted: Fri Mar 18, 2005 5:43 am    Post subject: Reply with quote

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
View user's profile Send private message
Shazz



Joined: 31 Aug 2004
Posts: 244
Location: Somewhere over the rainbow

PostPosted: Fri Mar 18, 2005 8:00 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group