OSDN Git Service

[ gas/ChangeLog ]
authorcgd <cgd>
Tue, 31 Dec 2002 08:11:16 +0000 (08:11 +0000)
committercgd <cgd>
Tue, 31 Dec 2002 08:11:16 +0000 (08:11 +0000)
commit495cdf072136a76623fbc3ef62b00e50024b6459
treec6e135b64edadfc35029678a6bc959263166093d
parent2aa9b9995e9505a7b1e7ecc0ccbe75b0c0634cb4
[ gas/ChangeLog ]
2002-12-31  Chris Demetriou  <cgd@broadcom.com>

* config/tc-mips.c (validate_mips_insn, mips_ip): Recognize
the "+D" operand, which will be used only by the disassembler.

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

* gas/mips/cp0sel-names-mips32.d: New test.
* gas/mips/cp0sel-names-mips32r2.d: New test.
* gas/mips/cp0sel-names-mips64.d: New test.
* gas/mips/cp0sel-names-numeric.d: New test.
* gas/mips/cp0sel-names-sb1.d: New test.
* gas/mips/cp0sel-names.s: New test source file.
* gas/mips/mips.exp: Run new tests.

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

* mips.h: Note that the "+D" operand type name is now used.

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

* mips-dis.c (mips_cp0sel_name): New structure.
(mips_cp0sel_names_mips3264, mips_cp0sel_names_mips3264r2)
(mips_cp0sel_names_sb1): New arrays.
(mips_arch_choice): New structure members "cp0sel_names" and
"cp0sel_names_len".
(mips_arch_choices): Add references to new cp0sel_names arrays
as appropriate, and make all existing entries reference
appropriate mips_XXX_names_numeric arrays rather than simply
using NULL.
(mips_cp0sel_names, mips_cp0sel_names_len): New variables.
(lookup_mips_cp0sel_name): New function.
(set_default_mips_dis_options): Set mips_cp0sel_names and
mips_cp0sel_names_len as appropriate.  Remove now-unnecessary
checks for NULL register name arrays.
(parse_mips_dis_option): Likewise.
(print_insn_arg): Handle "+D" operand type.
* mips-opc.c (mips_builtin_opcodes): Add new "+D" variants
of mfc0, mtc0, dmfc0, and dmtc0 to print CP0+sel register
names symbolically.
15 files changed:
gas/ChangeLog
gas/config/tc-mips.c
gas/testsuite/ChangeLog
gas/testsuite/gas/mips/cp0sel-names-mips32.d [new file with mode: 0644]
gas/testsuite/gas/mips/cp0sel-names-mips32r2.d [new file with mode: 0644]
gas/testsuite/gas/mips/cp0sel-names-mips64.d [new file with mode: 0644]
gas/testsuite/gas/mips/cp0sel-names-numeric.d [new file with mode: 0644]
gas/testsuite/gas/mips/cp0sel-names-sb1.d [new file with mode: 0644]
gas/testsuite/gas/mips/cp0sel-names.s [new file with mode: 0644]
gas/testsuite/gas/mips/mips.exp
include/opcode/ChangeLog
include/opcode/mips.h
opcodes/ChangeLog
opcodes/mips-dis.c
opcodes/mips-opc.c