This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug inline-asm/46573] New: wrong "opcode is not supported on this processor" error message on MIPS 4KSD.


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: unassigned@gcc.gnu.org
        ReportedBy: uzunov@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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]