http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46573
Summary: wrong "opcode is not supported on this processor" error message on MIPS 4KSD. Product: gcc Version: 4.4.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: inline-asm AssignedTo: unassig...@gcc.gnu.org ReportedBy: uzu...@datecs.bg using inline-assembler the compiler report error that opcode is not supported on this processor. I use a processor MAXIM USIP400C with 4KSD core. The processor support "SmartMIPS ASE Cryptography Support". In the command line options the "-march=4ksd" is selected. When I try to compile the next line: asm("mtlhx t0"); the compiler report this error: Error: opcode not supported on this processor: mips32r2 (mips32r2) `mtlhx t0' When I compile this source code using old gcc compiler (3.4.4) the code is compiled correctly and worked correctly. ----------------- The used compiler is: gcc version 4.4.1 (Sourcery G++ Lite 4.4-226)