diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-12-01 10:57:32 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-12-13 10:08:46 -0300 |
commit | ecb94e958707d907327f164b95ae92320e0aab48 (patch) | |
tree | e8735d5fa564e0996312c2b7b3cb20f0e97898c4 /sysdeps/aarch64/fpu/s_fminf.c | |
parent | 583c4d424ec29f506c2c21fad99de3dd3caf53bb (diff) | |
download | glibc-ecb94e958707d907327f164b95ae92320e0aab48.tar.gz glibc-ecb94e958707d907327f164b95ae92320e0aab48.tar.xz glibc-ecb94e958707d907327f164b95ae92320e0aab48.zip |
aarch64: Add math-use-builtins-f{max,min}.h
It allows to remove the arch-specific implementations.
Diffstat (limited to 'sysdeps/aarch64/fpu/s_fminf.c')
-rw-r--r-- | sysdeps/aarch64/fpu/s_fminf.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/sysdeps/aarch64/fpu/s_fminf.c b/sysdeps/aarch64/fpu/s_fminf.c deleted file mode 100644 index 3665fabb6b..0000000000 --- a/sysdeps/aarch64/fpu/s_fminf.c +++ /dev/null @@ -1,28 +0,0 @@ -/* Copyright (C) 2011-2021 Free Software Foundation, Inc. - - This file is part of the GNU C Library. - - The GNU C Library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public License as - published by the Free Software Foundation; either version 2.1 of the - License, or (at your option) any later version. - - The GNU C Library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library; if not, see - <https://www.gnu.org/licenses/>. */ - -#include <math.h> -#include <libm-alias-float.h> - -float -__fminf (float x, float y) -{ - return __builtin_fminf (x, y); -} - -libm_alias_float (__fmin, fmin) |