public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug inline-asm/46573] New: wrong "opcode is not supported on this processor" error message on MIPS 4KSD.
@ 2010-11-20  8:16 uzunov at datecs dot bg
  2010-11-25  8:55 ` [Bug inline-asm/46573] " uzunov at datecs dot bg
  0 siblings, 1 reply; 2+ messages in thread
From: uzunov at datecs dot bg @ 2010-11-20  8:16 UTC (permalink / raw)
  To: gcc-bugs

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)


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug inline-asm/46573] wrong "opcode is not supported on this processor" error message on MIPS 4KSD.
  2010-11-20  8:16 [Bug inline-asm/46573] New: wrong "opcode is not supported on this processor" error message on MIPS 4KSD uzunov at datecs dot bg
@ 2010-11-25  8:55 ` uzunov at datecs dot bg
  0 siblings, 0 replies; 2+ messages in thread
From: uzunov at datecs dot bg @ 2010-11-25  8:55 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46573

Momchil Uzunov <uzunov at datecs dot bg> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID

--- Comment #1 from Momchil Uzunov <uzunov at datecs dot bg> 2010-11-25 08:49:18 UTC ---
there is not a problem! a option -msmartmips must be used!


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-11-25  8:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-20  8:16 [Bug inline-asm/46573] New: wrong "opcode is not supported on this processor" error message on MIPS 4KSD uzunov at datecs dot bg
2010-11-25  8:55 ` [Bug inline-asm/46573] " uzunov at datecs dot bg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).