This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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: [gfortran,patch] Don't call library function for string copying, take 2


On 7/4/06, François-Xavier Coudert <fxcoudert@gmail.com> wrote:
:ADDPATCH fortran:

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 huge (positive)
performance impact of this on at least one of the polyhedron
benchmarks, aermod.

The differences with my first version of the patch are:
  -- I propose to remove the copy_string function from libgfortran,
since it's not used anywhere else

You need to bump the .so version of libgfortran if you do this (maybe we have done so for 4.2 compared to 4.1.x already).

Richard.


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