acadia-newlib/include/opcode
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
..
ChangeLog include/opcode/ 2013-07-14 13:28:56 +00:00
ChangeLog-9103 Add copyright notices 2012-12-10 12:48:00 +00:00
aarch64.h include/opcode/ 2013-02-28 19:18:40 +00:00
alpha.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
arc.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
arm.h Add support for AArch32 CRC instruction in ARMv8. 2013-03-11 11:09:32 +00:00
avr.h * gas/config/tc-avr.c: Change ISA for devices with USB support to 2013-06-01 07:14:44 +00:00
bfin.h sim: bfin: fix sign extension in dsp insns with MM flag 2011-06-18 19:42:55 +00:00
cgen.h cgen/ 2010-10-09 06:50:21 +00:00
convex.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
cr16.h (make_instruction): Rename to cr16_make_instruction. 2013-01-07 15:09:07 +00:00
cris.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
crx.h gas/ 2012-02-27 06:37:38 +00:00
d10v.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
d30v.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
dlx.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
h8300.h * elf32-h8300 (h8_relax_section): Add new relaxation of mov 2013-03-21 16:08:06 +00:00
hppa.h * hppa.h (pa_opcodes): Use "cX" completer instead of "cx" in fstqx 2012-10-15 00:22:35 +00:00
i370.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
i386.h Implement Intel Transactional Synchronization Extensions 2012-02-08 18:20:39 +00:00
i860.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
i960.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
ia64.h Add Intel Itanium Series 9500 support 2012-09-04 13:52:04 +00:00
m68hc11.h * config/tc-m68hc11.c: Add S12X and XGATE co-processor support. 2012-05-15 12:55:51 +00:00
m68k.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
m88k.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
metag.h * common.h: Fix case of "Meta". 2013-01-10 09:49:18 +00:00
mips.h include/opcode/ 2013-07-14 13:28:56 +00:00
mmix.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
mn10200.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
mn10300.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
moxie.h Don't abort() when disassembling bad moxie instructions. 2012-09-28 03:53:39 +00:00
msp430-decode.h * msp430-decode.opc: New. 2013-06-21 15:01:56 +00:00
msp430.h * archures.c: Add some more MSP430 machine numbers. 2013-05-02 21:06:14 +00:00
nios2.h 2013-06-12 Sandra Loosemore <sandra@codesourcery.com> 2013-06-12 23:03:20 +00:00
np1.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
ns32k.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
or32.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
pdp11.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
pj.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
pn.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
ppc.h include/opcode/ 2013-01-11 02:25:35 +00:00
pyr.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
rl78.h [.] 2011-11-02 03:09:07 +00:00
rx.h [include/opcode] 2010-07-29 18:41:26 +00:00
s390.h 2012-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> 2012-10-04 08:47:32 +00:00
score-datadep.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
score-inst.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
sparc.h Increase the accuracy of sparc instruction aliases. 2013-04-06 22:22:03 +00:00
spu-insns.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
spu.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
tahoe.h Add copyright notices 2012-12-17 16:56:03 +00:00
tic4x.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
tic6x-control-registers.h include/ 2010-09-29 10:14:02 +00:00
tic6x-insn-formats.h PR binutils/15068 2013-03-27 11:43:37 +00:00
tic6x-opcode-table.h PR binutils/15068 2013-03-28 09:25:11 +00:00
tic6x.h PR binutils/15068 2013-03-27 11:43:37 +00:00
tic30.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
tic54x.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
tic80.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
tilegx.h Improve TLS support on TILE-Gx/TILEPro: 2012-02-25 22:24:21 +00:00
tilepro.h Improve TLS support on TILE-Gx/TILEPro: 2012-02-25 22:24:21 +00:00
v850.h * elf32-v850.c (v850_elf_is_target_special_symbol): New function. 2013-04-03 14:42:10 +00:00
vax.h Upgrade header files to use GPLv3 2010-04-15 10:26:09 +00:00
xgate.h gas/config/ 2012-07-05 19:37:52 +00:00