Benchtests: Increase benchmark iterations

Increase benchmark iterations for math and vector math functions to improve
timing accuracy.  Vector math benchmarks now take 1-3 seconds on a modern CPU.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
This commit is contained in:
Wilco Dijkstra 2024-01-02 17:08:02 +00:00
parent 9fd2ceb55d
commit 7c14d8a985
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@
#include <bench-libmvec-arch.h>
#include <bench-util.c>
#define D_ITERS 10000
#define D_ITERS 200000
int
main (int argc, char **argv)

View File

@ -48,7 +48,7 @@ main (int argc, char **argv)
memset (&runtime, 0, sizeof (runtime));
unsigned long iters = 1000;
unsigned long iters = 2000;
#ifdef BENCH_INIT
BENCH_INIT ();