"Jürgen Urban" <juergenur...@gmx.de> writes:
>> "Jürgen Urban" <juergenur...@gmx.de> writes:
>> > Index: gcc/config.gcc
>> > ===================================================================
>> > --- gcc/config.gcc (Revision 200583)
>> > +++ gcc/config.gcc (Arbeitskopie)
>> > @@ -3080,7 +3080,7 @@
>> >    esac
>> >  fi
>> >
>> > -# Infer a default setting for --with-float.
>> > +# Infer a default setting for --with-float and --with-fpu.
>> >  if test x$with_float = x; then
>> >    case ${target} in
>> >      mips64r5900-*-* | mips64r5900el-*-* | mipsr5900-*-* | mipsr5900el-*-*)
>> > @@ -3089,6 +3089,17 @@
>> >        with_float=soft
>> >        ;;
>> >    esac
>> > +else
>> > +  case ${target} in
>> > +    mips64r5900-*-* | mips64r5900el-*-* | mipsr5900-*-* | mipsr5900el-*-*)
>> > +      if test $with_float = hard; then
>> > +        if test x$with_fpu = x; then
>> > +    # The FPU of the R5900 is 32 bit.
>> > +    with_fpu=single
>> > +        fi
>> > +      fi
>> > +      ;;
>> > +  esac
>> >  fi
>>
>> I think the --with-fpu default should be independent of the --with-float
>> default.  Passing -mhard-float to the default soft-float configuration
>> should produce the same code as configuring with --with-float=hard.
>
> OK. I hoped to get more software working on the PS2 when the default is
> the same as on other mips64 systems with soft float.

The patch doesn't change that.  -msingle-float and -mdouble-float don't
affect the -msoft-float behaviour, just the -mhard-float behaviour.

Thanks,
Richard

Reply via email to