glibc/scripts
Siddhesh Poyarekar 9298ecba15 Accept output arguments to benchmark functions
This patch adds the ability to accept output arguments to functions
being benchmarked, by nesting the argument type in <> in the args
directive.  It includes the sincos implementation as an example, where
the function would have the following args directive:

  ## args: double:<double *>:<double *>

This simply adds a definition for a static variable whose pointer gets
passed into the function, so it's not yet possible to pass something
more complicated like a pre-allocated string or array.  That would be
a good feature to add if a function needs it.

The values in the input file will map only to the input arguments.  So
if I had a directive like this for a function foo:

  ## args: int:<int *>:int:<int *>

and I have a value list like this:

1, 2
3, 4
5, 6

then the function calls generated would be:

foo (1, &out1, 2, &out2);
foo (3, &out1, 4, &out2);
foo (5, &out1, 6, &out2);
2013-12-05 10:12:59 +05:30
..
abi-versions.awk [BZ #6024] 2008-04-09 05:39:54 +00:00
abilist.awk Properly handle indirect functions in ABI check on powerpc64 2012-11-28 16:19:08 +01:00
begin-end-check.pl Add rules to run scripts/begin-end-check.pl. 2005-09-17 17:15:50 +00:00
bench.pl Accept output arguments to benchmark functions 2013-12-05 10:12:59 +05:30
check-c++-types.sh Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
check-execstack.awk Do check-execstack test using readelf rather than a build-time C program. 2012-05-01 13:27:52 -07:00
check-local-headers.sh Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
check-localplt.awk Add flexibility to localplt-*.data files, using an awk script rather than diff to check the results. 2012-04-24 14:48:15 -07:00
check-textrel.awk Do check-textrel test using readelf rather than a build-time C program. 2012-05-01 13:27:11 -07:00
config-uname.sh Rejigger header generation for default uname implementation. 2010-08-24 11:56:52 -07:00
config.guess Update miscellaneous scripts from upstream. 2013-06-06 19:02:09 +00:00
config.sub Update miscellaneous scripts from upstream. 2013-06-06 19:02:09 +00:00
cpp * locale/xlocale.h (struct __locale_struct): New member `__names'. 2002-08-30 10:36:44 +00:00
cross-test-ssh.sh Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
documented.sh Recognize documentation of obsolete functions. 2001-04-09 23:15:45 +00:00
firstversions.awk Fix bug in firstversions.awk version range handling. 2012-01-28 12:02:44 -05:00
gen-as-const.awk Fix 64-bit platform handling in test cases for generated headers with constants. 2009-08-16 00:39:43 -07:00
gen-libc-abis Missing files for libc ABI handling. 2010-03-16 04:47:33 -07:00
gen-sorted.awk Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
install-sh Update miscellaneous scripts from upstream. 2013-06-06 19:02:09 +00:00
lib-names.awk Convert WORDSIZE[32|64]/ld entries to abi-variants 2012-05-30 08:33:26 -07:00
list-sources.sh Regenerate libc.pot. 2012-06-21 07:58:27 -07:00
localplt.awk Do check-localplt test using readelf rather than a build-time C program. 2012-05-01 13:30:35 -07:00
mkinstalldirs Update miscellaneous scripts from upstream. 2013-06-06 19:02:09 +00:00
move-if-change Update miscellaneous scripts from upstream. 2013-06-06 19:02:09 +00:00
output-format.sed 2004-08-13 Daniel Jacobowitz <dan@debian.org> 2004-08-14 06:54:39 +00:00
rellns-sh Add support for rtld directory different from slib directory 2013-03-19 12:07:26 +01:00
rpm2dynsym.sh 2003-03-27 Roland McGrath <roland@redhat.com> 2003-03-27 22:48:49 +00:00
soversions.awk Convert WORDSIZE[32|64]/ld entries to abi-variants 2012-05-30 08:33:26 -07:00
sysd-rules.awk Sort sysd-rules-patterns by descending pattern length. 2013-06-17 09:55:49 -07:00
test-installation.pl Update miscellaneous copyright dates. 2013-01-02 19:43:40 +00:00
update-copyrights Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
versions.awk Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00