4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-15 11:00:04 +08:00
Richard Sandiford ac96b15958 include/opcode/
* mips.h (mips_operand_type, mips_reg_operand_type): New enums.
	(mips_operand, mips_int_operand, mips_mapped_int_operand)
	(mips_msb_operand, mips_reg_operand, mips_reg_pair_operand)
	(mips_pcrel_operand): New structures.
	(mips_insert_operand, mips_extract_operand, mips_signed_operand)
	(mips_decode_int_operand, mips_decode_pcrel_operand): New functions.
	(decode_mips_operand, decode_micromips_operand): Declare.

opcodes/
	* mips-formats.h: New file.
	* mips-opc.c: Include mips-formats.h.
	(reg_0_map): New static array.
	(decode_mips_operand): New function.
	* micromips-opc.c: Remove <stdio.h> include.  Include mips-formats.h.
	(reg_0_map, reg_28_map, reg_29_map, reg_31_map, reg_m16_map)
	(reg_mn_map, reg_q_map, reg_h_map1, reg_h_map2, int_b_map)
	(int_c_map): New static arrays.
	(decode_micromips_operand): New function.
	* mips-dis.c (micromips_to_32_reg_b_map, micromips_to_32_reg_c_map)
	(micromips_to_32_reg_d_map, micromips_to_32_reg_e_map)
	(micromips_to_32_reg_f_map, micromips_to_32_reg_g_map)
	(micromips_to_32_reg_h_map1, micromips_to_32_reg_h_map2)
	(micromips_to_32_reg_l_map, micromips_to_32_reg_m_map)
	(micromips_to_32_reg_n_map, micromips_to_32_reg_q_map)
	(micromips_imm_b_map, micromips_imm_c_map): Delete.
	(print_reg): New function.
	(mips_print_arg_state): New structure.
	(init_print_arg_state, print_insn_arg): New functions.
	(print_insn_args): Change interface and use mips_operand structures.
	Delete GET_OP_S.  Move GET_OP definition to...
	(print_insn_mips): ...here.  Update the call to print_insn_args.
	(print_insn_micromips): Use print_insn_args.

gas/
	* config/tc-mips.c (validate_mips_insn): Move further up file.
	Add insn_bits and decode_operand arguments.  Use the mips_operand
	fields to work out which bits an operand occupies.  Detect double
	definitions.
	(validate_micromips_insn): Move further up file.  Call into
	validate_mips_insn.
2013-07-14 13:28:56 +00:00
..
2012-12-17 16:56:03 +00:00
2012-12-10 12:48:00 +00:00
2013-07-10 08:16:34 +00:00
2013-07-12 15:58:15 +00:00
2013-03-15 17:53:41 +00:00
2012-12-10 12:48:00 +00:00
2012-12-10 12:48:00 +00:00
2013-07-14 13:28:56 +00:00
2012-12-10 12:48:00 +00:00
2012-12-10 12:48:00 +00:00
2012-12-17 16:56:03 +00:00
2012-12-18 17:41:27 +00:00
2013-02-18 23:50:26 +00:00
2010-04-15 10:26:09 +00:00
2013-06-08 10:22:55 +00:00
2012-12-10 12:48:00 +00:00
2013-04-03 18:21:40 +00:00
2012-11-11 22:37:19 +00:00
2009-06-01 19:40:32 +00:00
2009-06-01 19:40:32 +00:00
2012-07-13 23:39:46 +00:00
2011-01-03 21:05:50 +00:00
2012-12-17 16:56:03 +00:00
2012-12-17 16:56:03 +00:00
2012-12-17 16:56:03 +00:00
2010-06-10 18:30:17 +00:00
2010-04-15 10:26:09 +00:00
2011-09-28 20:01:37 +00:00
2009-10-07 02:57:27 +00:00
2012-12-17 16:56:03 +00:00
2013-01-30 16:52:35 +00:00
2010-04-15 10:26:09 +00:00
2012-10-10 03:11:22 +00:00
2010-04-15 10:26:09 +00:00
2013-01-30 16:52:35 +00:00
2010-11-17 02:03:39 +00:00
2012-04-10 17:07:28 +00:00
2011-09-28 20:01:37 +00:00
2005-07-12 10:34:51 +00:00
2011-07-25 17:11:44 +00:00
2011-01-03 21:05:50 +00:00
2010-04-15 10:26:09 +00:00