This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][4.3][RFC] Combined patch providing SSE inline expansions for C99 rounding functions
- From: Steven Bosscher <stevenb dot gcc at gmail dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: Richard Guenther <rguenther at suse dot de>
- Date: Sun, 17 Sep 2006 21:43:55 +0200
- Subject: Re: [PATCH][4.3][RFC] Combined patch providing SSE inline expansions for C99 rounding functions
- References: <Pine.LNX.4.64.0608241431060.4573@nyjnma.fhfr.qr>
On Thursday 24 August 2006 14:39, Richard Guenther wrote:
> This is a combined quilt patch series that adds inline expansions for the
> C99 rounding functions for -fno-trapping-math/-fno-math-errno (where
> appropriate) for both x86_64 and i686 (where appropriate). It includes
> expanders for floor, ceil, trunc, rint, round, lfloor, lceil,
> lrint, and lround that have been benchmarked and tested out-of-line
> against the libm implemenation. SPEC 2k shows around 10% improvement
> for lucas on x86_64.
Hi Richi,
Very nice stuff!
I wanted to try your patches on my favorite numerical codes and on
the Polyhedron suite. So I unpacked your .tar.gz file in the toplevel
directory and tried to apply the patches. But no luck:
$ for f in `cat series | xargs`; do echo $f; cat $f | patch -s -p0 --dry-run; done
lrint
lround
1 out of 2 hunks FAILED -- saving rejects to file gcc/builtins.c.rej
1 out of 1 hunk FAILED -- saving rejects to file gcc/genopinit.c.rej
2 out of 2 hunks FAILED -- saving rejects to file gcc/optabs.c.rej
2 out of 2 hunks FAILED -- saving rejects to file gcc/optabs.h.rej
lfloorceil
1 out of 1 hunk FAILED -- saving rejects to file gcc/config/i386/i386-protos.h.rej
1 out of 2 hunks FAILED -- saving rejects to file gcc/config/i386/i386.c.rej
2 out of 3 hunks FAILED -- saving rejects to file gcc/optabs.c.rej
2 out of 4 hunks FAILED -- saving rejects to file gcc/optabs.h.rej
rint
1 out of 1 hunk FAILED -- saving rejects to file gcc/config/i386/i386-protos.h.rej
1 out of 2 hunks FAILED -- saving rejects to file gcc/config/i386/i386.c.rej
floorceil
1 out of 1 hunk FAILED -- saving rejects to file gcc/config/i386/i386-protos.h.rej
4 out of 5 hunks FAILED -- saving rejects to file gcc/config/i386/i386.c.rej
round
1 out of 1 hunk FAILED -- saving rejects to file gcc/config/i386/i386-protos.h.rej
trunc
1 out of 1 hunk FAILED -- saving rejects to file gcc/config/i386/i386-protos.h.rej
1 out of 1 hunk FAILED -- saving rejects to file gcc/config/i386/i386.c.rej
fix-mno-ieee
$
It seems GCC moves fast... ;-)
Could you rediff the patches and put them up somewhere for download (or
mail them to me privately)?
Thanks,
Gr.
Steven