This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] PPC: reject more instructions with invalid operand combinations


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]