This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [mips patch RFA] dumping CP0 register names w/ "sel"
- From: cgd at broadcom dot com
- To: binutils at sources dot redhat dot com
- Date: 31 Dec 2002 00:11:12 -0800
- Subject: Re: [mips patch RFA] dumping CP0 register names w/ "sel"
- References: <yov5hecv0ygg.fsf@broadcom.com><mailpost.1041298117.28459@news-sj1-1>
Eric approved off-list. Applied.
cgd
At Tue, 31 Dec 2002 01:28:37 +0000 (UTC), cgd@broadcom.com wrote:
> [ gas/ChangeLog ]
> 2002-12-30 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-30 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-30 Chris Demetriou <cgd@broadcom.com>
>
> * mips.h: Note that the "+D" operand type name is now used.
>
> [ opcodes/ChangeLog ]
> 2002-12-30 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.