https://sourceware.org/bugzilla/show_bug.cgi?id=20666

            Bug ID: 20666
           Summary: [libopcodes][Aarch64] BFI instruction decoded as bad
                    BFC instruction
           Product: binutils
           Version: 2.26
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: njholcomb at wi dot rr.com
  Target Milestone: ---

Decoding an A64 base instruction with bytes: 0x331957fa should produce a bit
field insert of the zero register: 
bfi w26, wzr, #7, #22

The current output is a BFC instruction (which already cannot be encoded in the
A64 base instruction):
bfc w26, #7, #22

This instruction is incorrect because the BFC instruction only supports 4 bits
of register name, meaning w26 is out of bounds as a register for this
instruction.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to