[PATCH v2 3/5] math: Add +/-1 to the libmvec lane control values
Adhemerval Zanella
adhemerval.zanella@linaro.org
Fri Nov 13 12:32:07 GMT 2026
They are at the edge of the domain of log1p, acosh, atanh, asin and
acos, which vector routines often handle in a separate path. Each input
now runs VEC_LEN + 24 times.
Checked on x86_64-linux-gnu and aarch64-linux-gnu.
---
math/test-math-vector.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/math/test-math-vector.h b/math/test-math-vector.h
index 6c82279ee54..475491bf95d 100644
--- a/math/test-math-vector.h
+++ b/math/test-math-vector.h
@@ -67,6 +67,8 @@ mathvec_fill (FLOAT *vec, FLOAT val, int len)
{ -FUNC (__builtin_nan) (""), "-qNaN" },
{ CONCAT (PREFIX, _MAX), "max" },
{ -CONCAT (PREFIX, _MAX), "-max" },
+ { 1.0, "1" },
+ { -1.0, "-1" },
{ CONCAT (PREFIX, _TRUE_MIN), "min_subnorm" },
{ -CONCAT (PREFIX, _TRUE_MIN), "-min_subnorm" },
{ 0.0, "0" },
--
2.53.0
More information about the Libc-alpha
mailing list