newlib/include
Richard Sandiford b98e294936 include/opcode/
2013-08-04  Jürgen Urban  <JuergenUrban@gmx.de>
	    Richard Sandiford  <rdsandiford@googlemail.com>

	* mips.h: Document new VU0 operand characters.
	(OP_VU0_SUFFIX, OP_VU0_MATCH_SUFFIX): New mips_operand_types.
	(OP_REG_VF, OP_REG_VI, OP_REG_R5900_I, OP_REG_R5900_Q, OP_REG_R5900_R)
	(OP_REG_R5900_ACC): New mips_reg_operand_types.
	(INSN2_VU0_CHANNEL_SUFFIX): New macro.
	(mips_vu0_channel_mask): Declare.

opcodes/
2013-08-04  Jürgen Urban  <JuergenUrban@gmx.de>
	    Richard Sandiford  <rdsandiford@googlemail.com>

	* mips-dis.c (print_reg): Handle OP_REG_VI, OP_REG_VF, OP_REG_R5900_I,
	OP_REG_R5900_Q, OP_REG_R5900_R and OP_REG_R5900_ACC.
	(print_vu0_channel): New function.
	(print_insn_arg): Handle OP_VU0_SUFFIX and OP_VU0_MATCH_SUFFIX.
	(print_insn_args): Handle '#'.
	(print_insn_mips): Handle INSN2_VU0_CHANNEL_SUFFIX.
	* mips-opc.c (mips_vu0_channel_mask): New constant.
	(decode_mips_operand): Handle new VU0 operand types.
	(VU0, VU0CH): New macros.
	(mips_builtin_opcodes): Add VU0 opcodes.  Use "+7" rather than "E"
	for LQC2 and SQC2.  Use "+9" rather than "G" for EE CFC2 and CTC2.
	Use "+6" rather than "G" for QMFC2 and QMTC2.

gas/
2013-08-04  Jürgen Urban  <JuergenUrban@gmx.de>
	    Richard Sandiford  <rdsandiford@googlemail.com>

	* config/tc-mips.c (MAX_OPERANDS): Bump to 6.
	(RWARN): Bump to 0x8000000.
	(RTYPE_VI, RTYPE_VF, RTYPE_R5900_I, RTYPE_R5900_Q, RTYPE_R5900_R)
	(RTYPE_R5900_ACC): New register types.
	(RTYPE_MASK): Include them.
	(R5900_I_NAMES, R5900_Q_NAMES, R5900_R_NAMES, R5900_ACC_NAMES): New
	macros.
	(reg_names): Include them.
	(mips_parse_register_1): New function, split out from...
	(mips_parse_register): ...here.  Add a channels_ptr parameter.
	Look for VU0 channel suffixes when nonnull.
	(reg_lookup): Update the call to mips_parse_register.
	(mips_parse_vu0_channels): New function.
	(OT_CHANNELS, OT_DOUBLE_CHAR): New mips_operand_token_types.
	(mips_operand_token): Add a "channels" field to the union.
	Extend the comment above "ch" to OT_DOUBLE_CHAR.
	(mips_parse_base_start): Match -- and ++.  Handle channel suffixes.
	(mips_parse_argument_token): Handle channel suffixes here too.
	(validate_mips_insn): Handle INSN2_VU0_CHANNEL_SUFFIX.
	Ignore OP_VU0_MATCH_SUFFIX when calculating the used bits.
	Handle '#' formats.
	(md_begin): Register $vfN and $vfI registers.
	(operand_reg_mask): Handle OP_VU0_SUFFIX and OP_VU0_MATCH_SUFFIX.
	(convert_reg_type): Handle OP_REG_VI, OP_REG_VF, OP_REG_R5900_I,
	OP_REG_R5900_Q, OP_REG_R5900_R and OP_REG_R5900_ACC.
	(match_vu0_suffix_operand): New function.
	(match_operand): Handle OP_VU0_SUFFIX and OP_VU0_MATCH_SUFFIX.
	(macro): Use "+7" rather than "E" for LDQ2 and STQ2.
	(mips_lookup_insn): New function.
	(mips_ip): Use it.  Allow "+K" operands to be elided at the end
	of an instruction.  Handle '#' sequences.

gas/testsuite/
2013-08-04  Jürgen Urban  <JuergenUrban@gmx.de>

	* gas/mips/r5900-vu0.d: Expect $vfN and $viN instead of numeric
	coprocessor registers.
	* gas/mips/r5900-all-vu0.s, gas/mips/r5900-all-vu0.d,
	gas/mips/r5900-full-vu0.s, gas/mips/r5900-full-vu0.d,
	gas/mips/r5900-error-vu0.s, gas/mips/r5900-error-vu0.l: New tests.
	* gas/mips/mips.exp: Run them.
2013-08-04 07:31:38 +00:00
..
aout Add copyright notices 2012-12-17 16:56:03 +00:00
cgen PR binutils/15728 2013-07-18 13:53:04 +00:00
coff include/coff/ 2013-07-10 08:16:34 +00:00
elf include/elf/ 2013-07-15 15:07:30 +00:00
gdb gdb: 2013-03-15 17:53:41 +00:00
mach-o Add copyright notices 2012-12-10 12:48:00 +00:00
nlm Add copyright notices 2012-12-10 12:48:00 +00:00
opcode include/opcode/ 2013-08-04 07:31:38 +00:00
som Add copyright notices 2012-12-10 12:48:00 +00:00
vms Add copyright notices 2012-12-10 12:48:00 +00:00
alloca-conf.h Add copyright notices 2012-12-17 16:56:03 +00:00
ansidecl.h merge from gcc 2012-12-18 17:41:27 +00:00
bfdlink.h include/ 2013-02-18 23:50:26 +00:00
binary-io.h
bout.h
ChangeLog gas/ 2013-06-08 10:22:55 +00:00
ChangeLog-9103 Add copyright notices 2012-12-10 12:48:00 +00:00
COPYING
COPYING3
demangle.h merge from gcc 2013-04-03 18:21:40 +00:00
dis-asm.h 2013-02-06 Sandra Loosemore <sandra@codesourcery.com> 2013-02-06 23:22:18 +00:00
dwarf2.def merge from gcc 2012-11-11 22:37:19 +00:00
dwarf2.h Restore patch lost in last merge from GCC. 2013-03-01 23:40:38 +00:00
dyn-string.h
fibheap.h
filenames.h include/ 2012-07-13 23:39:46 +00:00
floatformat.h merge from gcc 2011-01-03 21:05:50 +00:00
fnmatch.h
fopen-bin.h Add copyright notices 2012-12-17 16:56:03 +00:00
fopen-same.h Add copyright notices 2012-12-17 16:56:03 +00:00
fopen-vms.h Add copyright notices 2012-12-17 16:56:03 +00:00
gdbm.h
getopt.h
hashtab.h
hp-symtab.h
ieee.h
leb128.h * leb128.h: #include stdint.h, inttypes.h. 2012-05-24 01:18:15 +00:00
libiberty.h merge from gcc 2011-09-28 20:01:37 +00:00
lto-symtab.h
MAINTAINERS Add copyright notices 2012-12-17 16:56:03 +00:00
md5.h PR other/54620 2013-01-30 16:52:35 +00:00
oasys.h
objalloc.h merge from gcc 2012-10-10 03:11:22 +00:00
obstack.h * obstack.h [!GNUC] (obstack_free): Avoid cast to int. 2011-10-22 01:35:29 +00:00
os9k.h
partition.h
plugin-api.h This patch assigns explicit integers to enum values corresponding 2013-02-11 19:36:56 +00:00
progress.h
safe-ctype.h
sha1.h PR other/54620 2013-01-30 16:52:35 +00:00
simple-object.h merge from gcc 2010-11-17 02:03:39 +00:00
sort.h
splay-tree.h merge from gcc 2012-04-10 17:07:28 +00:00
symcat.h
timeval-utils.h merge from gcc 2011-09-28 20:01:37 +00:00
xregex2.h
xregex.h merge from gcc 2011-07-25 17:11:44 +00:00
xtensa-config.h merge from gcc 2011-01-03 21:05:50 +00:00
xtensa-isa-internal.h
xtensa-isa.h