This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, MIPS] Add Octeon target
Hi David,
David Daney wrote:
> Adam Nemet wrote:
>> --- gcc.orig/config.gcc 2008-08-18 18:56:11.000000000 -0700
>> +++ gcc/config.gcc 2008-08-18 19:07:37.000000000 -0700
>> @@ -1551,6 +1551,10 @@ mips64*-*-linux* | mipsisa64*-*-linux*)
>> tm_file="${tm_file} mips/st.h"
>> tmake_file="${tmake_file} mips/t-st"
>> ;;
>> + mips64octeon*-*-linux*)
>> + tm_defines="${tm_defines} MIPS_CPU_STRING_DEFAULT=\\\"octeon\\\""
>> + target_cpu_default=MASK_SOFT_FLOAT_ABI
>> + ;;
>> mipsisa64r2*-*-linux*)
>> tm_defines="${tm_defines} MIPS_ISA_DEFAULT=65"
>> ;;
>
> What is the advantage of this over configuring with
> --target=mips64-unknown-linux --with-float=soft --with-cpu=octeon?
At this point the only advantage is to build GCC and binutils with the
same configuration name and expect both to default to Octeon. This is
of course more important when using the combined tree.
In the long run I'd like this configuration to closely match our toolchain:
* pass the new -msoft-float flag to gas in case that is not acceptable
generally
* add uclibc multilib
* remove o32 multilib
Adam