This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] PPC: reject more instructions with invalid operand combinations
- From: Alan Modra <amodra at gmail dot com>
- To: Jan Beulich <JBeulich at suse dot com>
- Cc: binutils at sourceware dot org
- Date: Thu, 6 Oct 2011 11:43:38 +1030
- Subject: Re: [PATCH] PPC: reject more instructions with invalid operand combinations
- References: <4E832E880200007800058327@nat28.tlf.novell.com>
On Wed, Sep 28, 2011 at 01:26:16PM +0100, Jan Beulich wrote:
> gas/testsuite/
> 2011-09-28 Jan Beulich <jbeulich@suse.com>
>
> * gas/ppc/476.s: Fix lswi first operand.
> * gas/ppc/476.d: Adjust expected output.
> * gas/ppc/a2.s: Fix lswi first operand.
> * gas/ppc/a2.d: Adjust expected output.
> * gas/ppc/power6.s: Fix lfdpx first operand.
> * gas/ppc/power6.d: Adjust expected output.
>
> opcodes/
> 2011-09-28 Jan Beulich <jbeulich@suse.com>
>
> * ppc-opc.c (insert_nbi, insert_rbx, FRAp, FRBp, FRSp, FRTp, NBI, RAX,
> RBX): New.
> (insert_bo, insert_boe): Reject bcctr with bit 2 in bo unset.
> (powerpc_opcodes): Use RAX for second and RBXC for third operand of
> lswx. Use NBI for third operand of lswi. Use FRTp for first operand of
> lfdp and lfdpx. Use FRSp for first operand of stfdp and stfdpx, and
> mark them as invalid on POWER7. Use FRTp, FRAp, and FRBp repsectively
> on DFP quad instructions.
OK, thanks!
--
Alan Modra
Australia Development Lab, IBM