newlib/include/opcode
Chris Demetriou 1de386c0a1 [ bfd/ChangeLog ]
2002-12-30  Chris Demetriou  <cgd@broadcom.com>

	* aoutx.h (NAME(aout,machine_type)): Add bfd_mach_mipsisa32r2 case.
	* archures.c (bfd_mach_mipsisa32r2): New define.
	* bfd-in2.h: Regenerate.
	* cpu-mips.c (I_mipsisa32r2): New enum value.
	(arch_info_struct): Add entry for I_mipsisa32r2.
	* elfxx-mips.c (elf_mips_isa, _bfd_elf_mips_mach)
	(_bfd_mips_elf_print_private_bfd_data): Handle E_MIPS_ARCH_32R2.
	(_bfd_mips_elf_final_write_processing): Add
	bfd_mach_mipsisa32r2 case.
	(_bfd_mips_elf_merge_private_bfd_data): Handle merging of
	binaries marked as using MIPS32 Release 2.

[ binutils/ChangeLog ]
2002-12-30  Chris Demetriou  <cgd@broadcom.com>

	* doc/binutils.texi (objdump): Note MIPS HWR (Hardware Register)
	changes in MIPS -M options.

[ gas/ChangeLog ]
2002-12-30  Chris Demetriou  <cgd@broadcom.com>

	* configure.in: Recognize mipsisa32r2, mipsisa32r2el, and
	CPU variants.
	* configure: Regenerate.
	* config/tc-mips.c (ISA_HAS_DROR, ISA_HAS_ROR): New defines.
	(macro_build): Handle "K" operand.
	(macro2): Use ISA_HAS_DROR and ISA_HAS_ROR in the places where
	CPU_HAS_DROR and CPU_HAS_ROR are currently used.
	(mips_ip): New variable "lastpos", and implement "+A", "+B",
	and "+C" operands for MIPS32 Release 2 ins/ext instructions.
	Implement "K" operand for MIPS32 Release 2 rdhwr instruction.
	(validate_mips_insn): Implement "+" as a way to extend the
	allowed operands, and implement "K", "+A", "+B", and "+C"
	operands.
	(OPTION_MIPS32R2): New define.
	(md_longopts): Add entry for OPTION_MIPS32R2.
	(OPTION_ELF_BASE): Adjust to accomodate OPTIONS_MIPS32R2.
	(md_parse_option): Handle OPTION_MIPS32R2.
	(s_mipsset): Reimplement handling of ".set mipsN" options
	and add support for ".set mips32r2".
	(mips_cpu_info_table): Add entry for "mips32r2" (MIPS32 Release 2).
	(md_show_usage): Document "-mips32r2" option.
	* doc/as.texinfo: Document "-mips32r2" option.
	* doc/c-mips.texi: Likewise.

[ gas/testsuite/ChangeLog ]
2002-12-30  Chris Demetriou  <cgd@broadcom.com>

	* gas/mips/cp0-names-mips32r2.d: New test.
	* gas/mips/hwr-names-mips32r2.d: New test.
	* gas/mips/hwr-names-numeric.d: New test.
	* gas/mips/hwr-names.s: New test source file.
	* gas/mips/mips32r2.d: New test.
	* gas/mips/mips32r2.s: New test source file.
	* gas/mips/mips32r2-ill.l: New test.
	* gas/mips/mips32r2-ill.s: New test source file.
	* gas/mips/mips.exp: Add mips32r2 architecture data array
	entry.  Run new tests mentioned above.

[ include/elf/ChangeLog ]
2002-12-30  Chris Demetriou  <cgd@broadcom.com>

	* mips.h (E_MIPS_ARCH_32R2): New define.

[ include/opcode/ChangeLog ]
2002-12-30  Chris Demetriou  <cgd@broadcom.com>

	* mips.h: Document "+" as the start of two-character operand
	type names, and add new "K", "+A", "+B", and "+C" operand types.
	(OP_MASK_INSMSB, OP_SH_INSMSB, OP_MASK_EXTMSB)
	(OP_SH_EXTMSB, INSN_ISA32R2, ISA_MIPS32R2, CPU_MIPS32R2): New
	defines.

[ opcodes/ChangeLog ]
2002-12-30  Chris Demetriou  <cgd@broadcom.com>

	* mips-dis.c (mips_cp0_names_mips3264r2, mips_hwr_names_numeric)
	(mips_hwr_names_mips3264r2): New arrays.
	(mips_arch_choice): New "hwr_names" member.
	(mips_arch_choices): Adjust for structure change, and add a new
	entry for "mips32r2" ISA.
	(mips_hwr_names): New variable.
	(set_default_mips_dis_options): Set mips_hwr_names.
	(parse_mips_dis_option): New "hwr-names" option which sets
	mips_hwr_names, and adjust "reg-names=ARCH" to set mips_hwr_names.
	(print_insn_arg): Change return type to "int"
	and use that to indicate number of characters consumed.
	Add support for "+" operand extension character, "+A", "+B",
	"+C", and "K" operands.
	(print_insn_mips): Adjust for changes to print_insn_arg.
	(print_mips_disassembler_options): Adjust for "hwr-names"
	addition and "reg-names" change.
	* mips-opc (I33): New define (shorthand for INSN_ISA32R2).
	(mips_builtin_opcodes): Note that "nop" and "ssnop" are special
	forms of "sll".  Add new MIPS32 Release 2 instructions: ehb,
	di, ei, ext, ins, jr.hb, jalr.hb, mfhc1, mfhc2, mthc1, mthc2,
	rdhwr, rdpgpr, seb, seh, synci, wrpgpr, wsbh.
	Note that hardware rotate instructions (ror, rorv) can be
	used on MIPS32 Release 2, and add the official mnemonics
	for them (rotr, rotrv) and the similar "rotl" mnemonic for
	left-rotate.
2002-12-31 07:29:29 +00:00
..
ChangeLog [ bfd/ChangeLog ] 2002-12-31 07:29:29 +00:00
a29k.h * a29k.h: Replace CONST with const. 2002-06-08 07:32:12 +00:00
alpha.h * alpha.h (struct alpha_operand): Pack elements into bitfields. 2001-09-05 02:52:17 +00:00
arc.h 2002-11-18 Klee Dienes <kdienes@apple.com> 2002-11-18 16:49:56 +00:00
arm.h Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
avr.h * avr.h: Update for new devices. 2001-11-10 09:40:53 +00:00
cgen.h * cgen.h (struct cgen_maybe_multi_ifield): Add "const PTR p" to union. 2002-12-02 21:51:52 +00:00
convex.h * a29k.h: Replace CONST with const. 2002-06-08 07:32:12 +00:00
cris.h * cris.h (enum cris_insn_version_usage): Correct comment for 2001-04-05 19:35:17 +00:00
d10v.h * d10v.h (OPERAND_NOSP): New macro. 2001-12-04 10:06:40 +00:00
d30v.h For include/opcode: 2001-08-26 11:47:39 +00:00
dlx.h * a29k.h: Replace CONST with const. 2002-06-08 07:32:12 +00:00
h8300.h Added some more pseudo opcodes for system call processing. 2002-12-30 10:50:32 +00:00
hppa.h * hppa.h (completer_chars): #if 0 out. 2002-12-16 09:57:03 +00:00
i370.h Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
i386.h gas/ChangeLog 2002-07-08 10:03:11 +00:00
i860.h 2002-11-18 Klee Dienes <kdienes@apple.com> 2002-11-18 16:49:56 +00:00
i960.h Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
ia64.h Patch to update IA-64 port to SDM 2.1. 2002-12-05 02:08:02 +00:00
m68hc11.h * m68hc11.h (M6812_OP_PAGE): Define to identify call operand. 2002-08-13 19:00:40 +00:00
m68k.h Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
m88k.h 2002-11-16 Klee Dienes <kdienes@apple.com> 2002-11-16 18:43:03 +00:00
mips.h [ bfd/ChangeLog ] 2002-12-31 07:29:29 +00:00
mmix.h Add MMIX support 2001-10-30 15:20:10 +00:00
mn10200.h 19990502 sourceware import 1999-05-03 07:29:06 +00:00
mn10300.h Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
msp430.h Add support for msp430. 2002-12-30 19:25:12 +00:00
np1.h Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
ns32k.h * ns32k.h (struct ns32k_opcode): Constify "name", "operands" and 2002-12-16 09:53:48 +00:00
or32.h * a29k.h: Replace CONST with const. 2002-06-08 07:32:12 +00:00
pdp11.h * pdp11.h: Add format codes for float instruction formats. 2002-03-05 03:09:01 +00:00
pj.h * pj.h (pj_opc_info_t): Add union. 2002-12-12 21:52:05 +00:00
pn.h Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
ppc.h 2002-08-19 Elena Zannoni <ezannoni@redhat.com> 2002-08-19 20:55:48 +00:00
pyr.h Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
s390.h Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
sparc.h * ia64.h: Use #include "" instead of <> for local header files. 2002-05-25 12:53:48 +00:00
tahoe.h 19990502 sourceware import 1999-05-03 07:29:06 +00:00
tic4x.h Fixed LDHI constraint 2002-11-19 11:59:12 +00:00
tic30.h 19990502 sourceware import 1999-05-03 07:29:06 +00:00
tic54x.h Fix tic54x testsuite failures and Lmem disassembly bugs. 2001-11-13 14:22:52 +00:00
tic80.h Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00
v850.h Remove spurious comment 2001-09-27 07:45:32 +00:00
vax.h Fix typos in ChangeLogs; add coff/external.h; fix copyright dates 2001-03-14 02:27:44 +00:00