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] |
Ok. I changed INSN_DSP to 0x00001000, built and test GAS with mipsisa32-elf and mipsisa64-elf. The latest patch is attached. Thanks! Regards, Chao-ying include/opcode/ChangeLog 2005-08-23 Chao-ying Fu <fu@mips.com> * mips.h (OP_SH_DSPACC, OP_MASK_DSPACC, OP_SH_DSPACC_S, OP_MASK_DSPACC_S, OP_SH_DSPSFT, OP_MASK_DSPSFT, OP_SH_DSPSFT_7, OP_MASK_DSPSFT_7, OP_SH_SA3, OP_MASK_SA3, OP_SH_SA4, OP_MASK_SA4, OP_SH_IMM8, OP_MASK_IMM8, OP_SH_IMM10, OP_MASK_IMM10, OP_SH_WRDSP, OP_MASK_WRDSP, OP_SH_RDDSP, OP_MASK_RDDSP): New define. Document 3, 4, 5, 6, 7, 8, 9, 0, :, ', @ operand formats for DSP instructions. (INSN_DSP): New define for DSP ASE. opcodes/ChangeLog 2005-08-23 Chao-ying Fu <fu@mips.com> * mips-opc.c (WR_a, RD_a, MOD_a, DSP_VOLA, D32): New define. (mips_builtin_opcodes): Add DSP instructions. * mips-dis.c (mips_arch_choices): Enable INSN_DSP for mips32, mips32r2, mips64, mips64r2. (print_insn_args): Add supports for 3, 4, 5, 6, 7, 8, 9, 0, :, ', @ operand formats. gas/ChangeLog 2005-08-23 Chao-ying Fu <fu@mips.com> * config/tc-mips.c (mips_set_options): Add ase_dsp for DSP instructions. (mips_opts): Add -1 to initialize ase_dsp. (file_ase_dsp): New variable for -mdsp. (CPU_HAS_DSP): New define. (validate_mips_insn): Add supports for 3, 4, 5, 6, 7, 8, 9, 0, ', :, @ operand formats. (mips_ip): Add min_range and max_range for checking singed numbers. Check ase_dsp to enable DSP instructions. Handle 3, 4, 5, 6, 7, 8, 9, 0, ', :, @ operand formats. (OPTION_DSP, OPTION_NO_DSP): New define. (OPTION_COMPAT_ARCH_BASE): Change because of inserting DSP define. (md_parse_option): Parse OPTION_DSP and OPTION_NO_DSP. (mips_after_parse_args): Set ase_dsp based on CPU. (s_mipsset): Handle ".set dsp" and ".set nodsp". (mips_elf_final_processing): Remind of adding new flag for DSP ASE. (md_show_usage): Show usage of -mdsp and -mno-dsp. gas/testsuite/ChangeLog 2005-08-23 Chao-ying Fu <fu@mips.com> * gas/mips/mips.exp: Run DSP test. * gas/mips/mips32-dsp.[sdl]: New test. ----- Original Message ----- From: "Eric Christopher" <echristo@apple.com> To: "Chao-ying Fu" <fu@mips.com> Cc: <binutils@sourceware.org>; "Thiemo Seufer" <ths@networkno.de> Sent: Monday, August 22, 2005 10:41 PM Subject: Re: [patch ping] GAS supports for MIPS32 DSP ASE > > > available. Do you prefer changing it to 0x00001000? > > > > Yes. I was looking at the hole and wondering why it wasn't used :) > > > (However, "bposge32" itself doesn't need DSP_VOLA.) > > Is this ok? Thanks! > > > > OK with the one change. > > -eric > > >
Attachment:
src.diff
Description: Binary data
Attachment:
mips32-dsp.s
Description: Binary data
Attachment:
mips32-dsp.l
Description: Binary data
Attachment:
mips32-dsp.d
Description: Binary data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |