]> git.ipfire.org Git - thirdparty/glibc.git/commit
Add benchtests for trunc and truncf.
authorJoseph Myers <joseph@codesourcery.com>
Tue, 19 Sep 2017 12:59:01 +0000 (12:59 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Tue, 19 Sep 2017 12:59:01 +0000 (12:59 +0000)
commiteb375def3ddd2a1738ed6bc5ace98753f0f7e5e6
treeccaa8a1599d1601cbdc7c3c8f6a35971cba1e86b
parentbd17ba29eb5cb4ec7251c1ed0b4dcd7d287c0c0c
Add benchtests for trunc and truncf.

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.
ChangeLog
benchtests/Makefile
benchtests/trunc-inputs [new file with mode: 0644]
benchtests/truncf-inputs [new file with mode: 0644]