[Bug gas/10167] New: Thumb2 instruction ORN not supported

View: New views
3 Messages — Rating Filter:   Alert me  

[Bug gas/10167] New: Thumb2 instruction ORN not supported

by Bugzilla from sourceware-bugzilla@sourceware.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The Thumb2 instruction

ORN{S}<c> <Rd>,<Rn>,#<const>
ORN{S}<c> <Rd>,<Rn>,<Rm>{,<shift>}

is not supported.  For example:

$ echo "orn r1,r2,r3" | arm-elf-as -o /dev/null
{standard input}: Assembler messages:
{standard input}:1: Error: bad instruction `orn r1,r2,r3'

--
           Summary: Thumb2 instruction ORN not supported
           Product: binutils
           Version: 2.19
            Status: NEW
          Severity: normal
          Priority: P3
         Component: gas
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: anthony dot fox at cl dot cam dot ac dot uk
                CC: bug-binutils at gnu dot org
  GCC host triplet: i386-redhat-linux
GCC target triplet: arm-elf


http://sourceware.org/bugzilla/show_bug.cgi?id=10167

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


_______________________________________________
bug-binutils mailing list
bug-binutils@...
http://lists.gnu.org/mailman/listinfo/bug-binutils

[Bug gas/10167] Thumb2 instruction ORN not supported

by Bugzilla from sourceware-bugzilla@sourceware.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


------- Additional Comments From nickc at redhat dot com  2009-07-01 15:59 -------
Hi Anthony,

  Yes it does.  You just need to tell the assembler that you are in thumb mode.  ie:

  % echo ".thumb\n orn r1,r2,r3" | arm-elf-as -o /dev/null
  % arm-elf-objdump -d a.out
  [...]
   0:   ea62 0103       orn     r1, r2, r3

Cheers
  Nick


--


http://sourceware.org/bugzilla/show_bug.cgi?id=10167

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


_______________________________________________
bug-binutils mailing list
bug-binutils@...
http://lists.gnu.org/mailman/listinfo/bug-binutils

[Bug gas/10167] Thumb2 instruction ORN not supported

by Bugzilla from sourceware-bugzilla@sourceware.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


------- Additional Comments From nickc at redhat dot com  2009-07-01 15:59 -------
Not a bug

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


http://sourceware.org/bugzilla/show_bug.cgi?id=10167

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


_______________________________________________
bug-binutils mailing list
bug-binutils@...
http://lists.gnu.org/mailman/listinfo/bug-binutils