This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] Update mtfsf and mtfsfi instructions to support new optional operands.
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Ryan Arnold <rsa at us dot ibm dot com>
- Cc: Peter Bergner <bergner at vnet dot ibm dot com>, Andreas Schwab <schwab at suse dot de>, binutils at sourceware dot org, Segher Boessenkool <segher at kernel dot crashing dot org>, Steve Munroe <sjmunroe at us dot ibm dot com>
- Date: Thu, 22 Jan 2009 12:24:43 +1030
- Subject: Re: [PATCH] Update mtfsf and mtfsfi instructions to support new optional operands.
- References: <20070515213441.GA4052@vervain.rchland.ibm.com> <e80a11b08fce3da1e15053808c88130f@kernel.crashing.org> <1231970875.7969.3.camel@otta> <jewsco5o5b.fsf@sykes.suse.de> <1232575122.6740.32.camel@otta> <1232579942.25905.9.camel@localhost.localdomain>
On Wed, Jan 21, 2009 at 05:19:02PM -0600, Ryan Arnold wrote:
> Perhaps I can put .machine power6 in the asm file where this is used.
Best would be
.machine push
.machine power6
source that needs power6 insn
.machine pop
You could also use ".machine any" in place of ".machine power6" above,
which would continue to use the default encoding for branches ("y" vs
"at" bits), and mfcr, if you happened to have such insns before the
pop.
--
Alan Modra
Australia Development Lab, IBM