This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [patch] Enable power7 disassembling
- From: Peter Bergner <bergner at vnet dot ibm dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: binutils at sourceware dot org, Thiago Jung Bauermann <bauerman at br dot ibm dot com>, Alan Modra <amodra at bigpond dot net dot au>
- Date: Fri, 06 Mar 2009 07:23:51 -0600
- Subject: Re: [patch] Enable power7 disassembling
- References: <20090302210404.GB23798@host0.dyn.jankratochvil.net> <1236115864.6800.80.camel@otta> <20090305224339.GA2401@host0.dyn.jankratochvil.net> <1236310868.6800.171.camel@otta>
On Thu, 2009-03-05 at 21:41 -0600, Peter Bergner wrote:
> On Thu, 2009-03-05 at 23:43 +0100, Jan Kratochvil wrote:
> > $ diff -u d-any d-power7
> > - 98: 7d 5c 02 a6 mfspr r10,28
> > + 98: 7d 5c 02 a6 mfcfar r10
> > - 9c: 7d 7c 03 a6 mtspr 28,r11
> > + 9c: 7d 7c 03 a6 mtcfar r11
> > - 14c: 7e 08 4a 2c dcbt 16,r8,r9
> > + 14c: 7e 08 4a 2c dcbtt r8,r9
> > - 150: 7e 08 49 ec dcbtst 16,r8,r9
> > + 150: 7e 08 49 ec dcbtstt r8,r9
> >
> > Is -Mpower7 therefore still required or could be the current `d-any' variants
> > also overriden for -Many by their `d-power7' variants?
>
> Technically, there is nothing wrong here. The -Mpower7 mnemonics are new
> extended opcodes for the -Many mnemonics, so both outputs are valid and
> correct.
I guess there's still the question of why -Many didn't print out
the extended mnemonic. It is listed earlier in the table unlike
the earlier problems you found. I'll have a look today.
Peter