This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] GAS supports for MIPS32 MT ASE


Chao-ying Fu wrote:
[snip]
> include/opcode/ChangeLog
> 2005-08-30  Chao-ying Fu  <fu@mips.com>
> 
>     * mips.h (OP_SH_MT_U, OP_MASK_MT_U, OP_SH_MT_H, OP_MASK_MT_H,
>     OP_SH_MTACC_T, OP_MASK_MTACC_T, OP_SH_MTACC_D, OP_MASK_MTACC_D): New
>     define.
>     Document !, $, *, &, g, +t, +T operand formats for MT instructions.
>     (INSN_ASE_MASK): Update to include INSN_MT.
>     (INSN_MT): New define for MT ASE.
> 
> opcodes/ChangeLog
> 2005-08-30  Chao-ying Fu  <fu@mips.com>
> 
>     * mips-opc.c (MT32): New define.
>     (mips_builtin_opcodes): Move "bc0f", "bc0fl", "bc0t", "bc0tl" to the
>     bottom to avoid opcode collision with "mftr" and "mttr".
>     Add MT instructions.
>     * mips-dis.c (mips_arch_choices): Enable INSN_MT for mips32r2.
>     (print_insn_args): Add supports for +t, +T, !, $, *, &, g operand
>     formats.
> 
> gas/ChangeLog
> 2005-08-30  Chao-ying Fu  <fu@mips.com>
> 
>     * config/tc-mips.c (mips_set_options): Add ase_mt for MT instructions.
>     (mips_opts): Add -1 to initialize ase_mt.
>     (file_ase_mt): New variable for -mmt.
>     (CPU_HAS_MT): New define.
>     (validate_mips_insn): Add supports for +t, +T, !, $, *, &, g operand
>     formats.
>     (mips_ip): Check ase_mt to enable MT instructions.
>     Handle !, $, *, &, +T, +t, g operand formats.
>     For "mftc1", "mfthc1", "cftc1", "mttc1", "mtthc1", "cttc1", we allow
>     odd float registers.
>     (OPTION_MT, OPTION_NO_MT): New define.
>     (OPTION_COMPAT_ARCH_BASE): Change because of inserting MT define.
>     (md_parse_option): Parse OPTION_MT and OPTION_NO_MT.
>     (mips_after_parse_args): Set ase_mt based on CPU.
>     (s_mipsset): Handle ".set mt" and ".set nomt".
>     (mips_elf_final_processing): Remind of adding new flag for MT ASE.
>     (md_show_usage): Show usage of -mmt and -mno-mt.
> 
> gas/testsuite/ChangeLog
> 2005-08-30  Chao-ying Fu  <fu@mips.com>
> 
>     * gas/mips/mips.exp: Run MT test for mips32r2 only.
>     * gas/mips/mips32-mt.[sdl]: New test.

Ok. Can you also update the assembler documentation for -mmt in a
followup patch?


Thiemo


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]