This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] Add new ppc hwsync extended mnemonic
- From: Segher Boessenkool <segher at kernel dot crashing dot org>
- To: Peter Bergner <bergner at vnet dot ibm dot com>
- Cc: Binutils <binutils at sourceware dot org>, Alan Modra <amodra at gmail dot com>
- Date: Thu, 4 Jun 2015 10:00:28 -0500
- Subject: Re: [PATCH] Add new ppc hwsync extended mnemonic
- Authentication-results: sourceware.org; auth=none
- References: <1433365828 dot 8253 dot 1 dot camel at otta>
On Wed, Jun 03, 2015 at 04:10:28PM -0500, Peter Bergner wrote:
> This patch adds a new extended menmonic for "sync 0" (same as "sync").
> The ISA documentation doesn't explicitly mention hwsync as an extended
> mnemonic (yet), but it does mention "heavyweight sync" and "hwsync" as
> the operation that gets performed when the sync's L field is 0.
> The hardware designers and Steve Munroe both mentioned they would like
> to see hwsync added as an extended mnemonic (which will show up as such
> in a future ISA document) and that we disassemble to it by default.
>
> Alan, what do you think about changing the default of disassembling
> "sync 0" to "hwsync"?
I don't like this change for disassembling "classic" code (say, 6xx).
None of the old docs (or older tools) know about "hwsync" (or "sync 0"
for that matter). Is there some easy way to keep the old behaviour
unless (say) disassembling for POWER4 or up?
Segher