This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc 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: [PATCH] Apply the regparm and stdcall attributes to internalregex functions


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


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