From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi1-x230.google.com (mail-oi1-x230.google.com [IPv6:2607:f8b0:4864:20::230]) by sourceware.org (Postfix) with ESMTPS id D01633858D37 for ; Mon, 4 Apr 2022 19:23:03 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org D01633858D37 Received: by mail-oi1-x230.google.com with SMTP id j83so11094709oih.6 for ; Mon, 04 Apr 2022 12:23:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=QxUK0UUsIX//vtpds7rJi0Z1A/ym8bXXkjGyP90I958=; b=BZazBVt9a8xo6GmfLy1POJjcQzhLvHEPOqsERj9xkmL/8hqG9AUxnC/Pr7GX3MI2Tl K9aFZHYoteiHhB2sD5CqgDQjaqnpksgxAa4NW6LofrCy1mHlEeNV949lEAWJU2xHuy7o QQUS1CvKpU+qVqvxdIGqjw03SdtfeunVK6oWmpM40xz+coGxSBVSLFs/MgDd5au5Kjd1 FNCkI8FE14eIe4QblQTkaUHjmIyhOD+VCz+45uPe+dXCjwVPIgKL7RI+zcs7laK7IwGy ut0qt/bJDTNWp35wzdKg8DiFqSePLbECjMf1+dSmZuXG6ezVVus8qc7sMBOwbHayRKj0 iwzg== X-Gm-Message-State: AOAM533TDQ8HuemDb2k7Pa/0WTzTToqEo90TU/qvGN7Umvkg5m/lTbIE IXiCz0iw23Nq+O/j+FBTzBq4bDMvZJ5fUQ== X-Google-Smtp-Source: ABdhPJyEnmjLK9TZUXPd0qougxYhmHdFzeEbgRzX2wRKhy+kJy0meDrR4oUi9Fk+NL/TrgrehIQALA== X-Received: by 2002:a05:6808:1b27:b0:2f9:62e0:ebf with SMTP id bx39-20020a0568081b2700b002f962e00ebfmr320370oib.184.1649100182836; Mon, 04 Apr 2022 12:23:02 -0700 (PDT) Received: from birita.. ([2804:431:c7cb:a6c0:94cf:60bc:16d1:2727]) by smtp.gmail.com with ESMTPSA id o185-20020acabec2000000b002ecf1218c53sm4508025oif.15.2022.04.04.12.23.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Apr 2022 12:23:02 -0700 (PDT) From: Adhemerval Zanella To: libc-alpha@sourceware.org Subject: [PATCH] alpha: Remove s_abs implementations Date: Mon, 4 Apr 2022 16:22:44 -0300 Message-Id: <20220404192244.2628411-1-adhemerval.zanella@linaro.org> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-12.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Apr 2022 19:23:05 -0000 The generic implementation already uses builtins. --- sysdeps/alpha/fpu/s_fabs.c | 28 ---------------------------- sysdeps/alpha/fpu/s_fabsf.c | 27 --------------------------- 2 files changed, 55 deletions(-) delete mode 100644 sysdeps/alpha/fpu/s_fabs.c delete mode 100644 sysdeps/alpha/fpu/s_fabsf.c diff --git a/sysdeps/alpha/fpu/s_fabs.c b/sysdeps/alpha/fpu/s_fabs.c deleted file mode 100644 index aebfd337de..0000000000 --- a/sysdeps/alpha/fpu/s_fabs.c +++ /dev/null @@ -1,28 +0,0 @@ -/* Copyright (C) 2000-2022 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 - . */ - -#include -#include -#include - -double -__fabs (double x) -{ - return __builtin_fabs (x); -} - -libm_alias_double (__fabs, fabs) diff --git a/sysdeps/alpha/fpu/s_fabsf.c b/sysdeps/alpha/fpu/s_fabsf.c deleted file mode 100644 index ad216bdb45..0000000000 --- a/sysdeps/alpha/fpu/s_fabsf.c +++ /dev/null @@ -1,27 +0,0 @@ -/* Copyright (C) 2000-2022 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 - . */ - -#include -#include - -float -__fabsf (float x) -{ - return __builtin_fabsf (x); -} - -libm_alias_float (__fabs, fabs) -- 2.32.0