about summary refs log tree commit diff
path: root/math/gen-libm-test.py
diff options
context:
space:
mode:
authorWilco Dijkstra <wilco.dijkstra@arm.com>2023-08-15 18:01:53 +0100
committerWilco Dijkstra <wilco.dijkstra@arm.com>2023-09-18 11:50:23 +0100
commit5bc9b3a1f6a003f6456f717b590615ea98e2d6fb (patch)
tree39c7b1ac8c2afca1ad7467c6c281cd166fddec0f /math/gen-libm-test.py
parentbb5bbc20702981c287aa3e44640e7d2f2b9a28cf (diff)
downloadglibc-5bc9b3a1f6a003f6456f717b590615ea98e2d6fb.tar.gz
glibc-5bc9b3a1f6a003f6456f717b590615ea98e2d6fb.tar.xz
glibc-5bc9b3a1f6a003f6456f717b590615ea98e2d6fb.zip
math: Add a no-mathvec flag for sin (-0.0)
Add support for a no-mathvec flag to gen-auto-libm-tests.c.
Update input test sin (-0.0) to be skipped in vector math libraries and
regenerate testcases.

Reviewed-By: Paul Zimmermann  <Paul.Zimmermann@inria.fr>
Diffstat (limited to 'math/gen-libm-test.py')
-rwxr-xr-xmath/gen-libm-test.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/math/gen-libm-test.py b/math/gen-libm-test.py
index 6ae78beb01..a573c3b8cb 100755
--- a/math/gen-libm-test.py
+++ b/math/gen-libm-test.py
@@ -93,7 +93,8 @@ BEAUTIFY_MAP = {'minus_zero': '-0',
 
 # Flags in auto-libm-test-out that map directly to C flags.
 FLAGS_SIMPLE = {'ignore-zero-inf-sign': 'IGNORE_ZERO_INF_SIGN',
-                'xfail': 'XFAIL_TEST'}
+                'xfail': 'XFAIL_TEST',
+                'no-mathvec': 'NO_TEST_MATHVEC'}
 
 # Exceptions in auto-libm-test-out, and their corresponding C flags
 # for being required, OK or required to be absent.