[Patch] [MIPS] Change opcode membership of the jalx instruction

Catherine Moore clm@codesourcery.com
Thu May 20 18:25:00 GMT 2010


This patch changes the opcode membership of the jalx instruction from 
I16 to I1.  As a result, the use of I16 becomes obsolete along with 
the definitions and uses of INSN_MIPS16.  A new testcase is added and 
an inappropriate testcase is deleted.

Does this look okay to install?

Thanks,
Catherine

2010-05-20  Catherine Moore  <clm@codesourcery.com>

	gas/
	* config/tc-mips.c (is_opcode_valid): Remove expansionp.
	(macro_build): Don't pass expansionp to is_opcode_valid.
	(mips_ip): Likewise.

	gas/testsuite/
	* gas/mips/mips-jalx-2.s: New test.
	* gas/mips/mips-jalx-2.d: New test output.
	* gas/mips/mips-no-jalx.l: Delete.
	* gas/mips/mips-no-jalx.s: Delete.
	* gas/mips/mips.exp: Add mips-jalx-2.  Delete mips-no-jalx.

	include/opcode/
	* mips.h (INSN_MIPS16): Remove.
	opcodes/
	* mips-dis.c (mips_arch_choices): Remove INSN_MIPS16 for
	CPU_MIPS32, CPU_MIPS32R2, CPU_MIPS64 and CPU_MIPS64R2.
	* mips-opc.c (I16): Remove definition.
	(mips_builtin_op): Change membership of jalx insn.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: jalx-patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20100520/b69f471f/attachment.ksh>


More information about the Binutils mailing list