[PATCH] Apply the regparm and stdcall attributes to internal regex functions

Ulrich Drepper drepper@redhat.com
Wed Dec 17 22:50:00 GMT 2003


-----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-----



More information about the Libc-alpha mailing list