bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/10168] New: Wrong machine code for Thumb2 instruction PKHTB


From: anthony dot fox at cl dot cam dot ac dot uk
Subject: [Bug gas/10168] New: Wrong machine code for Thumb2 instruction PKHTB
Date: 18 May 2009 13:03:00 -0000

The ARM Thumb2 pseudo-instruction

PKHTB<c> <Rd>,<Rm>,<Rn>

should be assembled through

PKHBT<c> <Rd>,<Rm>,<Rn>

but is instead assembled through

PKHBT<c> <Rd>,<Rn>,<Rm>

For example:

$ echo ".code 16 pkhtb r1,r2,r3" | arm-elf-as -aln -EB -o /dev/null
   1 0000 EAC20103      .code 16 pkhtb r1,r2,r3

$ echo ".code 16 pkhbt r1,r2,r3" | arm-elf-as -aln -EB -o /dev/null
   1 0000 EAC20103      .code 16 pkhbt r1,r2,r3

-- 
           Summary: Wrong machine code for Thumb2 instruction PKHTB
           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=10168

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]