bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/20795] [PowerPC] RLMI instruction deprecated but still dec


From: amodra at gmail dot com
Subject: [Bug binutils/20795] [PowerPC] RLMI instruction deprecated but still decodes for PowerPC 64
Date: Sun, 20 Nov 2016 22:36:32 +0000

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

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |amodra at gmail dot com
         Resolution|---                         |INVALID

--- Comment #1 from Alan Modra <amodra at gmail dot com> ---
The default disassembly dialect is currently power9 with PPC_OPCODE_ANY
enabled.  So in cases where an opcode disassembles differently between power9
and some other cpu, the power9 variant is chosen, and when there is no power9
insn for a given opcode but there is a valid insn for some other cpu then that
other cpu insn is displayed.  This means that people can often use objdump to
disassemble without specifying -M<the_right_cpu>.

Your code selects a fairly generic arch/mach combination and doesn't set
disInfo.disassembler_options, resulting in the default dialect.  See
ppc-dis.c:powerpc_init_dialect.

-- 
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]