about summary refs log tree commit diff
path: root/sysdeps/aarch64/fpu/s_fmax.c
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-12-01 10:57:32 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-12-13 10:08:46 -0300
commitecb94e958707d907327f164b95ae92320e0aab48 (patch)
treee8735d5fa564e0996312c2b7b3cb20f0e97898c4 /sysdeps/aarch64/fpu/s_fmax.c
parent583c4d424ec29f506c2c21fad99de3dd3caf53bb (diff)
downloadglibc-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_fmax.c')
-rw-r--r--sysdeps/aarch64/fpu/s_fmax.c28
1 files changed, 0 insertions, 28 deletions
diff --git a/sysdeps/aarch64/fpu/s_fmax.c b/sysdeps/aarch64/fpu/s_fmax.c
deleted file mode 100644
index 7e3593fbda..0000000000
--- a/sysdeps/aarch64/fpu/s_fmax.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-double.h>
-
-double
-__fmax (double x, double y)
-{
-  return __builtin_fmax (x, y);
-}
-
-libm_alias_double (__fmax, fmax)