[PATCH, PPC] Cleanup Altivec instruction definitions

Peter Bergner bergner@vnet.ibm.com
Wed Aug 29 10:18:00 GMT 2012
On Sat, 25 Aug 2012 01:30:17 -0500 Peter Bergner wrote:
> opcodes/
> 	* ppc-opc.c (UIMM4, UIMM3, UIMM2, VXVA_MASK, VXVB_MASK, VXVAVB_MASK,
> 	VXVDVA_MASK, VXUIMM4_MASK, VXUIMM3_MASK, VXUIMM2_MASK): New defines.
> 	(powerpc_opcodes) <vexptefp, vlogefp, vrefp, vrfim, vrfin, vrfip,
> 	vrfiz, vrsqrtefp, vupkhpx, vupkhsb, vupkhsh, vupklpx, vupklsb,
> 	vupklsh>: Use VXVA_MASK.
> 	<vspltisb, vspltish, vspltisw>: Use VXVB_MASK.
> 	<mfvscr>: Use VXVAVB_MASK.
> 	<mtvscr>: Use VXVDVA_MASK.
> 	<vspltb>: Use VXUIMM4_MASK.
> 	<vsplth>: Use VXUIMM3_MASK.
> 	<vspltw>: Use VXUIMM2_MASK.

I have committed this to both the trunk and the branch.

Peter



More information about the Binutils mailing list