OSDN Git Service

* config/tc-mips.c (mips_set_options): Add ase_dsp for DSP instructions.
authorchaoyingfu <chaoyingfu>
Thu, 25 Aug 2005 18:17:34 +0000 (18:17 +0000)
committerchaoyingfu <chaoyingfu>
Thu, 25 Aug 2005 18:17:34 +0000 (18:17 +0000)
commit353c4070611e7ab1767e891aee5d04abc32ec464
treef98dd044cda95e87dd93b3c93e69810487cf9afb
parentb7e976b7036a1ceb1af698048c748f645e8c9a68
* 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/ChangeLog
gas/config/tc-mips.c