Commit 2fd7f0c1 by Aldy Hernandez Committed by Aldy Hernandez

mips.c (override_options): Do not override ISA when ABI specified if…

mips.c (override_options): Do not override ISA when ABI specified if MIPS_CPU_STRING_DEFAULT was specified.

        * config/mips/mips.c (override_options): Do not override ISA when ABI
        specified if MIPS_CPU_STRING_DEFAULT was specified.

From-SVN: r45476
parent 0ef02b2d
2001-09-06 Aldy Hernandez <aldyh@redhat.com>
* config/mips/mips.c (override_options): Do not override ISA when ABI
specified if MIPS_CPU_STRING_DEFAULT was specified.
2001-09-07 Richard Henderson <rth@redhat.com>
* loop.c (record_giv): Avoid simplifying MULT to ASHIFT.
......
......@@ -4804,6 +4804,7 @@ override_options ()
mips_abi = ABI_64;
}
#ifdef MIPS_CPU_STRING_DEFAULT
/* A specified ABI defaults the ISA if it was not specified. */
else if (mips_isa_string == 0 && mips_abi_string
&& mips_abi != ABI_EABI && mips_abi != ABI_O64)
......@@ -4815,6 +4816,7 @@ override_options ()
else
mips_isa = 4;
}
#endif
/* If both ABI and ISA were specified, check for conflicts. */
else if (mips_isa_string && mips_abi_string)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment