This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Code size issues on FP-emulation on libgcc compared to LLVM's compiler_rt
- From: Szabolcs Nagy <szabolcs dot nagy at arm dot com>
- To: Zinovy Nis <zinovy dot nis at gmail dot com>, Joseph Myers <joseph at codesourcery dot com>
- Cc: "H.J. Lu" <hjl dot tools at gmail dot com>, GCC Development <gcc at gcc dot gnu dot org>
- Date: Wed, 01 Jul 2015 16:46:55 +0100
- Subject: Re: Code size issues on FP-emulation on libgcc compared to LLVM's compiler_rt
- Authentication-results: sourceware.org; auth=none
- References: <CAEUiFF7idsCfpFXTMB36hnw4LGukx47T6et4mgN9OT3Pwwr0Gg at mail dot gmail dot com> <alpine dot DEB dot 2 dot 10 dot 1506301734010 dot 31171 at digraph dot polyomino dot org dot uk> <CAMe9rOowcAngH4tm4mPw8he-LvWJKge99evJ_Hvvni29H0ESVA at mail dot gmail dot com> <alpine dot DEB dot 2 dot 10 dot 1506302001030 dot 16184 at digraph dot polyomino dot org dot uk> <CAEUiFF6z0HSNj04Z2gnwZMAQJfUJucGidWrpe-FQSv09hiRe7Q at mail dot gmail dot com> <CAEUiFF7=o6bSj=EaSJr_LNSF1onkHP_0-4=3Kby2wDaStnqNmA at mail dot gmail dot com>
On 01/07/15 16:34, Zinovy Nis wrote:
> The only idea on size difference I have is:
>
> headers text in many of FP-emulation files from compiler_rt contains lines like:
>
> // This file implements quad-precision soft-float addition ***with the
> IEEE-754 default rounding*** (to nearest, ties to even).
>
nearest rounding and no exception flags.
in other words they assume no fenv access.