bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/24390] New: objdump decode of mtfsb* instructions has odd


From: pc at us dot ibm.com
Subject: [Bug binutils/24390] New: objdump decode of mtfsb* instructions has odd output
Date: Tue, 26 Mar 2019 15:45:23 +0000

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

            Bug ID: 24390
           Summary: objdump decode of mtfsb* instructions has odd output
           Product: binutils
           Version: 2.30
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: pc at us dot ibm.com
  Target Milestone: ---
            Target: powerpc*-*

Created attachment 11703
  --> https://sourceware.org/bugzilla/attachment.cgi?id=11703&action=edit
test case to produce mtfsb* instructions

Using the attached testcase with today's GCC trunk and "gcc -c ld2i.c -O3
-mcpu=power9 -Wa,-adhln" includes the decode of the generated mtfsb*
instructions:
--
  71 003c 4C00E0FF              mtfsb1 31
  72 0040 8C00C0FF              mtfsb0 30
--
...which is reasonable.

Performing "objdump --disassemble ld2i.o" produces:
--
  3c:   4c 00 e0 ff     mtfsb1  4*cr7+so
  40:   8c 00 c0 ff     mtfsb0  4*cr7+eq
--
...which is confusing.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

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