benchtests: Add fma benchtests

Random inputs in the range [0,10].

Reviewed-by: Wilco Dijkstra  <Wilco.Dijkstra@arm.com>
This commit is contained in:
Adhemerval Zanella 2025-11-13 09:58:18 -03:00
parent ff92750112
commit 8ce2b5dd27
2 changed files with 1007 additions and 0 deletions

View File

@ -75,6 +75,7 @@ bench-math := \
expm1f \
floor \
floorf \
fma \
fmal \
fmax \
fmaxf \
@ -344,6 +345,7 @@ CFLAGS-bench-ffsll.c += -fno-builtin
CFLAGS-bench-sqrt.c += -fno-builtin
CFLAGS-bench-fmin.c += -fno-builtin
CFLAGS-bench-fminf.c += -fno-builtin
CFLAGS-bench-fma.c += -fno-builtin
CFLAGS-bench-fmax.c += -fno-builtin
CFLAGS-bench-fmaxf.c += -fno-builtin
CFLAGS-bench-trunc.c += -fno-builtin

1005
benchtests/fma-inputs Normal file

File diff suppressed because it is too large Load Diff