[llvm-bugs] [Bug 30611] New: BFI instruction with zero register decoded as bad BFC instruction
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Oct 4 10:42:28 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=30611
Bug ID: 30611
Summary: BFI instruction with zero register decoded as bad BFC
instruction
Product: libraries
Version: 3.8
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Backend: AArch64
Assignee: unassignedbugs at nondot.org
Reporter: njholcomb at wi.rr.com
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20161004/9b2892a0/attachment.html>
More information about the llvm-bugs
mailing list