This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [PATCH] Apply the regparm and stdcall attributes to internalregex functions
- From: Ulrich Drepper <drepper at redhat dot com>
- To: bonzini at gnu dot org
- Cc: libc-alpha at sources dot redhat dot com
- Date: Wed, 17 Dec 2003 14:48:19 -0800
- Subject: Re: [PATCH] Apply the regparm and stdcall attributes to internalregex functions
- Organization: Red Hat, Inc.
- References: <3FE05C17.8040700@polimi.it>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Paolo Bonzini wrote:
> This achieves a small but consistent 1% improvement in the sed testsuite
> (gcc 3.4 has unit-at-a-time mode which does this at -O2).
As Jakub said, use internal_function as the macro name. Also, you
should add internal_function to all the function definitions as well.
Some attributes need to be repeated for the definitions.
- --
â Ulrich Drepper â Red Hat, Inc. â 444 Castro St â Mountain View, CA â
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQE/4N0z2ijCOnn/RHQRAjxRAKDN8ubBHOAgfZIuoGPGrjTe+6jt+QCfXXdK
rHe0JcTHmuNeKQYX3HC9PcE=
=eYvK
-----END PGP SIGNATURE-----