about summary refs log tree commit diff
path: root/benchtests
Commit message (Collapse)AuthorAgeFilesLines
* Add benchmark inputs for sinSiddhesh Poyarekar2013-04-024-1/+47
|
* Add benchmark tests for slowpow and slowexpSiddhesh Poyarekar2013-04-027-6/+64
| | | | | | | Separate benchmarks for the fast and slow implementations of pow and exp since measuring both together doesn't make sense. Adjust the iterations for pow and exp accordingly so that they run long enough for the measurements to be meaningful.
* PowerPC: remove branch prediction from rint implementationAdhemerval Zanella2013-04-012-1/+10
| | | | | | | | The branch prediction hints is actually hurts performance in this case. The assembly implementation make two assumptions: 1. 'fabs (x) < 2^52' is unlikely and 2. 'x > 0.0' is unlike (if 1. is true). Since it a general floating point function, expected input is not bounded and then it is better to let the hardware handle the branches.
* Framework for performance benchmarking of functionsSiddhesh Poyarekar2013-03-154-0/+136
See benchtests/Makefile to know how to use it.