From patchwork Mon Apr 4 19:22:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella Netto X-Patchwork-Id: 1613144 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=X4+omgM+; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4KXLKN3qg8z9sBJ for ; Tue, 5 Apr 2022 05:23:20 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 536053858434 for ; Mon, 4 Apr 2022 19:23:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 536053858434 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1649100198; bh=QxUK0UUsIX//vtpds7rJi0Z1A/ym8bXXkjGyP90I958=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=X4+omgM+Yx36hHVMTFHvPWGRiSeNUNK+rwOeNGWgAYzm/J71GSzR/qlCyif+M9Ku8 iq+mvmrg0H+7Lb7euK0CGThVJAq2qK9K9e/nTcoozsGzJxXBfcM80zgky83UTaeij+ pt0x1AYKyaMHJgpTuRqThvqRHb7IBPvh8sE1G+Mo= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org 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) 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 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-Patchwork-Original-From: Adhemerval Zanella via Libc-alpha From: Adhemerval Zanella Netto Reply-To: Adhemerval Zanella Errors-To: libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org Sender: "Libc-alpha" 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)