From a357259bf854478d154727bbc9e39f89c952f6cc Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Mon, 7 Oct 2013 11:51:24 +0530 Subject: Add more directives to benchmark input files This patch adds some more directives to the benchmark inputs file, moving functionality from the Makefile and making the code generation script a bit cleaner. The function argument and return types that were earlier added as variables in the makefile and passed to the script via command line arguments are now the 'args' and 'ret' directive respectively. 'args' should be a colon separated list of argument types (skipped if the function doesn't accept any arguments) and 'ret' should be the return type. Additionally, an 'includes' directive may have a comma separated list of headers to include in the source. For example, the pow input file now looks like this: 42.0, 42.0 1.0000000000000020, 1.5 I did this to unclutter the benchtests Makefile a bit and eventually eliminate dependency of the tests on the Makefile and have tests depend on their respective include files only. --- ChangeLog | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 44ebf726d3..0983299137 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,26 @@ +2013-10-07 Siddhesh Poyarekar + + * benchtests/Makefile: Remove ARGLIST and RET variables. + ($(objpfx)bench-%.c): Pass only function name to the script. + * benchtests/README: Update documentation. + * benchtests/acos-inputs: Add new directives. + * benchtests/acosh-inputs: Likewise. + * benchtests/asin-inputs: Likewise. + * benchtests/asinh-inputs: Likewise. + * benchtests/atan-inputs: Likewise. + * benchtests/atanh-inputs: Likewise. + * benchtests/cos-inputs: Likewise. + * benchtests/cosh-inputs: Likewise. + * benchtests/exp-inputs: Likewise. + * benchtests/log-inputs: Likewise. + * benchtests/pow-inputs: Likewise. + * benchtests/rint-inputs: Likewise. + * benchtests/sin-inputs: Likewise. + * benchtests/sinh-inputs: Likewise. + * benchtests/tan-inputs: Likewise. + * benchtests/tanh-inputs: Likewise. + * scripts/bench.pl: Add support for new directives. + 2013-10-07 Alan Modra * README: Fix careless merge. -- cgit 1.4.1