 |
forums.ps2dev.org Homebrew PS2, PSP & PS3 Development Discussions
|
View previous topic :: View next topic |
Author |
Message |
goumba
Joined: 20 Nov 2008 Posts: 8
|
Posted: Wed Jun 02, 2010 12:17 pm Post subject: Error: opcode not supported on this processor |
|
|
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 |
|
 |
hlide
Joined: 10 Sep 2006 Posts: 750
|
Posted: Sun Jun 13, 2010 7:57 pm Post subject: Re: Error: opcode not supported on this processor |
|
|
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 |
|
 |
|
|
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
|