- else if (strcmp (name, "smartmips") == 0)
- {
- if (!ISA_SUPPORTS_SMARTMIPS)
- as_warn (_("%s ISA does not support SmartMIPS ASE"),
- mips_cpu_info_from_isa (mips_opts.isa)->name);
- mips_opts.ase |= ASE_SMARTMIPS;
- }
- else if (strcmp (name, "nosmartmips") == 0)
- mips_opts.ase &= ~ASE_SMARTMIPS;
- else if (strcmp (name, "mips3d") == 0)
- mips_opts.ase |= ASE_MIPS3D;
- else if (strcmp (name, "nomips3d") == 0)
- mips_opts.ase &= ~ASE_MIPS3D;
- else if (strcmp (name, "mdmx") == 0)
- mips_opts.ase |= ASE_MDMX;
- else if (strcmp (name, "nomdmx") == 0)
- mips_opts.ase &= ~ASE_MDMX;
- else if (strcmp (name, "dsp") == 0)
- {
- if (!ISA_SUPPORTS_DSP_ASE)
- as_warn (_("%s ISA does not support DSP ASE"),
- mips_cpu_info_from_isa (mips_opts.isa)->name);
- mips_opts.ase |= ASE_DSP;
- mips_opts.ase &= ~ASE_DSPR2;
- }
- else if (strcmp (name, "dspr2") == 0)
- {
- if (!ISA_SUPPORTS_DSPR2_ASE)
- as_warn (_("%s ISA does not support DSP R2 ASE"),
- mips_cpu_info_from_isa (mips_opts.isa)->name);
- mips_opts.ase |= ASE_DSP | ASE_DSPR2;
- }
- else if (strcmp (name, "nodsp") == 0
- || strcmp (name, "nodspr2") == 0)
- mips_opts.ase &= ~(ASE_DSP | ASE_DSPR2);
- else if (strcmp (name, "eva") == 0)
- {
- if (!ISA_SUPPORTS_EVA_ASE)
- as_warn (_("%s ISA does not support EVA ASE"),
- mips_cpu_info_from_isa (mips_opts.isa)->name);
- mips_opts.ase |= ASE_EVA;
- }
- else if (strcmp (name, "noeva") == 0)
- mips_opts.ase &= ~ASE_EVA;
- else if (strcmp (name, "mt") == 0)
- {
- if (!ISA_SUPPORTS_MT_ASE)
- as_warn (_("%s ISA does not support MT ASE"),
- mips_cpu_info_from_isa (mips_opts.isa)->name);
- mips_opts.ase |= ASE_MT;
- }
- else if (strcmp (name, "nomt") == 0)
- mips_opts.ase &= ~ASE_MT;
- else if (strcmp (name, "mcu") == 0)
- mips_opts.ase |= ASE_MCU;
- else if (strcmp (name, "nomcu") == 0)
- mips_opts.ase &= ~ASE_MCU;
- else if (strcmp (name, "virt") == 0)
- {
- if (!ISA_SUPPORTS_VIRT_ASE)
- as_warn (_("%s ISA does not support Virtualization ASE"),
- mips_cpu_info_from_isa (mips_opts.isa)->name);
- mips_opts.ase |= ASE_VIRT;
- }
- else if (strcmp (name, "novirt") == 0)
- mips_opts.ase &= ~ASE_VIRT;