[gfortran,patch] Don't call library function for string copying, take 2
Thomas Koenig
Thomas.Koenig@online.de
Tue Jul 11 13:37:00 GMT 2006
On Tue, Jul 11, 2006 at 10:11:18AM +0200, François-Xavier Coudert wrote:
> >Attached patch is the second take on PR fortran/28163. Instead of
> >generating calls to libgfortran copy_string, we emit the code
> >directly. As my previous mails showed, the size impact is minimal
> >since the code emitted is small. There is a 27%
> >performance impact of this on at least one of the polyhedron
> >benchmarks, aermod.
> >
> >Bootstrapped and regtested on i686-linux. OK for mainline?
> ping
I was about to OK this, but Paul Thomas beat me to it :-)
Another thought: Can you inline compare_string as well, or maybe
only call a library function if the memcmp returned equal?
Regards
Thomas
More information about the Fortran
mailing list