Maciej W. Rozycki dec0624dcd gas/
* config/tc-mips.c (mips_set_options): Add ase_mcu.
	(mips_opts): Initialise ase_mcu to -1.
	(ISA_SUPPORTS_MCU_ASE): New macro.
	(MIPS_CPU_ASE_MCU): Likewise.
	(is_opcode_valid): Handle MCU.
	(macro_build, macro): Likewise.
	(validate_mips_insn, validate_micromips_insn): Likewise.
	(mips_ip): Likewise.
	(options): Add OPTION_MCU and OPTION_NO_MCU.
	(md_longopts): Add mmcu and mno-mcu.
	(md_parse_option): Handle OPTION_MCU and OPTION_NO_MCU.
	(mips_after_parse_args): Handle MCU.
	(s_mipsset): Likewise.
	(md_show_usage): Handle MCU options.

	* doc/as.texinfo: Document -mmcu and -mno-mcu options.
	* doc/c-mips.texi: Likewise, and document ".set mcu" and
	".set nomcu" directives.

	gas/testsuite/
	* gas/mips/micromips@mcu.d: New test.
	* gas/mips/mcu.d: Likewise.
	* gas/mips/mcu.s: New test source.
	* gas/mips/mips.exp: Run the new tests.

	include/opcode/
	* mips.h (OP_MASK_3BITPOS, OP_SH_3BITPOS): New macros.
	(OP_MASK_OFFSET12, OP_SH_OFFSET12): Redefine.
	(INSN_ASE_MASK): Add the MCU bit.
	(INSN_MCU): New macro.
	(M_ACLR_AB, M_ACLR_OB, M_ASET_AB, M_ASET_OB): New enum values.
	(MICROMIPSOP_MASK_3BITPOS, MICROMIPSOP_SH_3BITPOS): New macros.

	opcodes/
	* mips-dis.c (mips_arch_choices): Enable MCU for "mips32r2"
	and "mips64r2".
	(print_insn_args, print_insn_micromips): Handle MCU.
	* micromips-opc.c (MC): New macro.
	(micromips_opcodes): Add "aclr", "aset" and "iret".
	* mips-opc.c (MC): New macro.
	(mips_builtin_opcodes): Add "aclr", "aset" and "iret".
2011-08-09 15:20:03 +00:00
..
2010-05-07 12:28:50 +00:00
2009-09-02 07:25:43 +00:00
2010-06-27 04:07:55 +00:00
2009-09-02 07:25:43 +00:00
2007-10-04 13:43:16 +00:00
2011-07-01 16:11:27 +00:00
2009-09-02 07:25:43 +00:00
2009-10-24 00:17:08 +00:00
2009-09-02 07:25:43 +00:00
2011-08-09 15:20:03 +00:00
2008-01-03 05:27:55 +00:00
2009-01-06 01:03:27 +00:00
2011-01-01 16:43:53 +00:00
2011-07-24 14:20:15 +00:00
2011-07-24 14:20:15 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2011-07-22 20:22:38 +00:00
2010-10-09 06:50:23 +00:00
2010-06-27 04:07:55 +00:00
2010-10-09 06:50:23 +00:00
2010-10-08 14:00:50 +00:00
2009-09-02 07:25:43 +00:00
2010-12-31 16:43:46 +00:00
2011-08-02 19:58:06 +00:00
2011-07-22 20:22:38 +00:00
2011-07-22 20:22:38 +00:00
2011-07-22 20:22:38 +00:00
2011-08-01 19:25:48 +00:00
2009-09-02 07:25:43 +00:00
2011-08-01 19:25:48 +00:00
2009-09-02 07:25:43 +00:00
2008-08-28 14:07:50 +00:00
2009-09-02 07:25:43 +00:00
2008-08-28 14:07:50 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2008-08-28 14:07:50 +00:00
2008-08-28 14:07:50 +00:00
2010-10-09 06:50:23 +00:00
2010-10-09 06:50:23 +00:00
2010-10-09 06:50:23 +00:00
2010-02-13 04:38:57 +00:00
2010-10-09 06:50:23 +00:00
2010-10-09 06:50:23 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2010-10-11 22:18:42 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2011-07-24 14:20:15 +00:00
2011-07-24 14:20:15 +00:00
2009-09-02 07:25:43 +00:00
2010-06-27 04:07:55 +00:00
2010-10-09 06:50:23 +00:00
2010-06-28 14:41:59 +00:00
2010-10-09 06:50:23 +00:00
2011-08-09 15:20:03 +00:00
2011-07-24 14:04:51 +00:00
2011-08-09 15:20:03 +00:00
2011-08-09 15:20:03 +00:00
2009-09-02 07:25:43 +00:00
2010-02-03 12:47:06 +00:00
2010-06-27 04:07:55 +00:00
2010-10-09 06:50:23 +00:00
2010-01-02 18:50:59 +00:00
2010-10-09 06:50:23 +00:00
2009-09-02 07:25:43 +00:00
2010-10-08 14:00:50 +00:00
2010-10-08 14:00:50 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2010-07-03 08:27:23 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2011-08-05 16:52:50 +00:00
2011-08-05 16:52:50 +00:00
2009-09-02 07:25:43 +00:00
2010-10-25 15:33:54 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2011-06-29 20:46:11 +00:00
2011-06-29 20:46:11 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2010-10-09 06:50:23 +00:00
2010-10-09 06:50:23 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00