This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch/rfc] Add host's floatformat


Andrew Cagney <cagney@gnu.org> writes:

> +# Figure out which floatformat to use.
> +case "${host}" in
> +i[34567]86-*-*)
> +	host_float_format="&floatformat_ieee_single_little"
> +	host_double_format="&floatformat_ieee_double_little"
> +	host_long_double_format="&floatformat_i387_ext"
> +	;;
> +hppa*-*-linux*)
> +	host_float_format="&floatformat_ieee_single_big"
> +	host_double_format="&floatformat_ieee_double_big"
> +	host_long_double_format="&floatformat_ieee_double_big"
> +	;;
  +m68*-*-*)
  +	host_float_format="&floatformat_ieee_single_big"
  +	host_double_format="&floatformat_ieee_double_big"
  +	host_long_double_format="&floatformat_m68881_ext"
  +	;;

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]