Add benchtests for trunc and truncf

System Internals / glibc - Joseph Myers [codesourcery.com] - 19 September 2017 08:59 EDT

This patch adds benchtests for the trunc and truncf functions. The inputs listed are fairly arbitrary; I do not assert they are representative of any particular application.

- benchtests/Makefile (bench-math): Add trunc and truncf. (CFLAGS-bench-trunc.c): New variable. (CFLAGS-bench-truncf.c): Likewise.
- benchtests/trunc-inputs: New file.
- benchtests/truncf-inputs: Likewise.

eb375de Add benchtests for trunc and truncf.
ChangeLog | 8 ++++++++
benchtests/Makefile | 4 +++-
benchtests/trunc-inputs | 22 ++++++++++++++++++++++
benchtests/truncf-inputs | 21 +++++++++++++++++++++
4 files changed, 54 insertions(+), 1 deletion(-)

Upstream: sourceware.org


  • Share