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 

Error: opcode not supported on this processor

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



Joined: 20 Nov 2008
Posts: 8

PostPosted: Wed Jun 02, 2010 12:17 pm    Post subject: Error: opcode not supported on this processor Reply with quote

Hi,

When compiling gcc (4.5.0), everything goes well, except for when compiling libgcc2, I get the following errors:
Code:

/tmp/ccsuK1rd.s: Assembler messages:
/tmp/ccsuK1rd.s:184: Error: opcode not supported on this processor: allegrex (mips2) `movt $6,$0,$fcc0'
/tmp/ccsuK1rd.s:221: Error: opcode not supported on this processor: allegrex (mips2) `movt $6,$0,$fcc0'


I've never touched assembly, so can anyone point me in the right direction to correct this? Looking at the binutils patches the opcode is not available, is there a suitable substitute?

Also while compiling libvorbis, I get similar errors for movf.

TIA
Back to top
View user's profile Send private message
hlide



Joined: 10 Sep 2006
Posts: 750

PostPosted: Sun Jun 13, 2010 7:57 pm    Post subject: Re: Error: opcode not supported on this processor Reply with quote

goumba wrote:
Hi,

When compiling gcc (4.5.0), everything goes well, except for when compiling libgcc2, I get the following errors:
Code:

/tmp/ccsuK1rd.s: Assembler messages:
/tmp/ccsuK1rd.s:184: Error: opcode not supported on this processor: allegrex (mips2) `movt $6,$0,$fcc0'
/tmp/ccsuK1rd.s:221: Error: opcode not supported on this processor: allegrex (mips2) `movt $6,$0,$fcc0'


I've never touched assembly, so can anyone point me in the right direction to correct this? Looking at the binutils patches the opcode is not available, is there a suitable substitute?

Also while compiling libvorbis, I get similar errors for movf.

TIA


obviously someone messes with Allegrex port in gcc 4.5 or trying to compile with non Allegrex compatible gcc.

movt/f uses rd, rs and *rt*, not $fcc0

so it must be : "movt $6, $0, $0" which means "if ($0) $6 = $0;"
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP 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