]> git.ipfire.org Git - thirdparty/glibc.git/blame - sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c
Update copyright dates with scripts/update-copyrights
[thirdparty/glibc.git] / sysdeps / x86_64 / fpu / test-float-libmvec-sincosf.c
CommitLineData
ee2196bb 1/* Test for vector sincosf ABI.
2b778ceb 2 Copyright (C) 2016-2021 Free Software Foundation, Inc.
ee2196bb
AS
3 This file is part of the GNU C Library.
4
5 The GNU C Library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the License, or (at your option) any later version.
9
10 The GNU C Library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Lesser General Public License for more details.
14
15 You should have received a copy of the GNU Lesser General Public
16 License along with the GNU C Library; if not, see
5a82c748 17 <https://www.gnu.org/licenses/>. */
ee2196bb 18
ee2196bb
AS
19#include <math-tests-arch.h>
20
fe0cf861
L
21extern int test_sincosf_abi (void);
22
ee2196bb
AS
23int arch_check = 1;
24
25static void
fe0cf861 26check_arch (void)
ee2196bb 27{
ee2196bb 28 CHECK_ARCH_EXT;
ee2196bb 29 arch_check = 0;
ee2196bb
AS
30}
31
32static int
fe0cf861 33do_test (void)
ee2196bb 34{
fe0cf861 35 check_arch ();
ee2196bb
AS
36
37 if (arch_check)
38 return 77;
39
ee2196bb
AS
40 return test_sincosf_abi ();
41}
42
43#define TEST_FUNCTION do_test ()
44#include "../../../test-skeleton.c"