Lines Matching refs:n_ops
147 static void update_random_ops(int n_ops, enum precision prec) in update_random_ops() argument
151 for (i = 0; i < n_ops; i++) { in update_random_ops()
194 static void fill_random(union fp *ops, int n_ops, enum precision prec, in fill_random() argument
199 for (i = 0; i < n_ops; i++) { in fill_random()
232 static void bench(enum precision prec, enum op op, int n_ops, bool no_neg) in bench() argument
241 update_random_ops(n_ops, prec); in bench()
244 fill_random(ops, n_ops, prec, no_neg); in bench()
279 fill_random(ops, n_ops, prec, no_neg); in bench()
314 fill_random(ops, n_ops, prec, no_neg); in bench()
349 fill_random(ops, n_ops, prec, no_neg); in bench()
384 fill_random(ops, n_ops, prec, no_neg); in bench()
426 #define GEN_BENCH(name, type, prec, op, n_ops) \ argument
429 bench(prec, op, n_ops, false); \
432 #define GEN_BENCH_NO_NEG(name, type, prec, op, n_ops) \ argument
435 bench(prec, op, n_ops, true); \
438 #define GEN_BENCH_ALL_TYPES(opname, op, n_ops) \ argument
439 GEN_BENCH(bench_ ## opname ## _float, float, PREC_SINGLE, op, n_ops) \
440 GEN_BENCH(bench_ ## opname ## _double, double, PREC_DOUBLE, op, n_ops) \
441 GEN_BENCH(bench_ ## opname ## _float32, float32, PREC_FLOAT32, op, n_ops) \
442 GEN_BENCH(bench_ ## opname ## _float64, float64, PREC_FLOAT64, op, n_ops) \
443 GEN_BENCH(bench_ ## opname ## _float128, float128, PREC_FLOAT128, op, n_ops)