[llvm-bugs] [Bug 32597] New: [PPC] Instruction with invalid TBR number decoded as valid.

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Apr 10 10:34:34 PDT 2017


https://bugs.llvm.org/show_bug.cgi?id=32597

            Bug ID: 32597
           Summary: [PPC] Instruction with invalid TBR number decoded as
                    valid.
           Product: libraries
           Version: 3.9
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: PowerPC
          Assignee: unassignedbugs at nondot.org
          Reporter: nholcomb at wisc.edu
                CC: llvm-bugs at lists.llvm.org

The instruction `mftb 26, 327` from bytes `7f 47 52 e6` has an invalid second
operand. Using gas to compile the instruction results in the error "Invalid tbr
number". The second operand can only be 267 or 268.

Bytes: 7f 47 52 e6
Expected decoding: invalid
Actual decoding: mftb 26, 327

-- 
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/20170410/0c92e458/attachment.html>


More information about the llvm-bugs mailing list