This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc compile-time performance
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: dewar at gnat dot com (Robert Dewar)
- Cc: Richard dot Earnshaw at arm dot com, gcc at gcc dot gnu dot org
- Date: Mon, 20 May 2002 15:32:42 +0100
- Subject: Re: gcc compile-time performance
- Organization: ARM Ltd.
- Reply-to: Richard dot Earnshaw at arm dot com
> <<Surely either native floating-point code, or even some simple fixed-point
> code, would be good enough here.
> >>
>
> there is no reason not to use native floating-point code for this purpose
> (branch probability calculations). I don't think worrying about hosts with
> no fpt at all is an issue.
The only *possible* reason I can think of (note: possible, not good) is
that it would help to ensure that cross-compilers would behave the
identically regardless of native FP format/accuracy etc. A simple
fixed-point library would fix that.
R.