From patchwork Thu Apr 7 18:14:03 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: 52716 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 543383858036 for ; Thu, 7 Apr 2022 18:15:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 543383858036 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1649355301; bh=ilxGeFjsN5cbZQ3bfSLQ0pUdvjirAjSMlVWp3aUTqbs=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=bw2JrrwJebIgX7aspLQX2Y48Ok0EAVj2T9inoLYEoiJl3T/WFdG+UmpyZX8l4CcAZ ZQBOPUEoCE9E/NBl+M1Zcw5ObiJg5mXKAM41gpzGScrU3tnnQM+Gd0EhFU4CX6Nx6G VmclZl89v6j2U03VKKAJtcqqGwg8oKdEHjmgUGMo= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-oa1-x29.google.com (mail-oa1-x29.google.com [IPv6:2001:4860:4864:20::29]) by sourceware.org (Postfix) with ESMTPS id 8C1073858427 for ; Thu, 7 Apr 2022 18:14:09 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 8C1073858427 Received: by mail-oa1-x29.google.com with SMTP id 586e51a60fabf-d39f741ba0so7195035fac.13 for ; Thu, 07 Apr 2022 11:14:09 -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=ilxGeFjsN5cbZQ3bfSLQ0pUdvjirAjSMlVWp3aUTqbs=; b=MVi7ReApHH30fOH+14G5UwEBzKnUgHddUDZoF3fLuIjF7x/QXb4hdLDIujIWPrcPPZ OfWqeM1p0zRCwcNnT2BdMu3tWnumdUYDbPtd0opb+U2q8F2/xOvw+4HkbVtGG4X4KQZN w1kdfbAkRlZPDadiIU5eWOM1JO3rn7T6aLP1pkDwFgFPriRXDiYh7pjzjZZbwfiXgdff RMrlxZ6KuMpyMQxazy8SeSSkcnGvg9moWstGFrTjz6yA5iuPlIbYC48aXigE1MyaNCMI oHZw8buLQvM8wNw9v7mjDIpM3YlL26aK0iUtKntFHw1AZbdRnFMHjtDVlxkyGDb4Wx/b X63A== X-Gm-Message-State: AOAM532udXu0EpSoAoYWECneb2YplKLnACkH/abq9pP33mXMLcD+m8Ir +VFfCjaVSa+iEj69WiC7hmLNmOyu/uImZQ== X-Google-Smtp-Source: ABdhPJzFmI0XOBhmiE+Bwn6WOy+SsAr9+9Z2z9X8yKtDM/t3sJOM00gHu+8eh+M+E1ylxmNq5B4rqg== X-Received: by 2002:a05:6870:a799:b0:e1:eda4:c9cb with SMTP id x25-20020a056870a79900b000e1eda4c9cbmr7065193oao.274.1649355248597; Thu, 07 Apr 2022 11:14:08 -0700 (PDT) Received: from birita.. ([2804:431:c7cb:321:9304:77a6:d900:ebb]) by smtp.gmail.com with ESMTPSA id q203-20020acad9d4000000b002f8ee3f69e2sm7845647oig.52.2022.04.07.11.14.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Apr 2022 11:14:07 -0700 (PDT) To: libc-alpha@sourceware.org Subject: [COMMITTED] alpha: Remove fcopysign{f} implementation Date: Thu, 7 Apr 2022 15:14:03 -0300 Message-Id: <20220407181403.3386175-1-adhemerval.zanella@linaro.org> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 X-Spam-Status: No, score=-12.9 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+patchwork=sourceware.org@sourceware.org Sender: "Libc-alpha" The generic code already uses builtins. --- sysdeps/alpha/fpu/s_copysign.c | 32 -------------------------------- sysdeps/alpha/fpu/s_copysignf.c | 28 ---------------------------- 2 files changed, 60 deletions(-) delete mode 100644 sysdeps/alpha/fpu/s_copysign.c delete mode 100644 sysdeps/alpha/fpu/s_copysignf.c diff --git a/sysdeps/alpha/fpu/s_copysign.c b/sysdeps/alpha/fpu/s_copysign.c deleted file mode 100644 index 619b6a92c7..0000000000 --- a/sysdeps/alpha/fpu/s_copysign.c +++ /dev/null @@ -1,32 +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 - . */ - -#define NO_MATH_REDIRECT -#include -#include -#include - -double -__copysign (double x, double y) -{ - return __builtin_copysign (x, y); -} - -libm_alias_double (__copysign, copysign) -#if LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) -compat_symbol (libc, __copysign, copysignl, GLIBC_2_0); -#endif diff --git a/sysdeps/alpha/fpu/s_copysignf.c b/sysdeps/alpha/fpu/s_copysignf.c deleted file mode 100644 index 4726489dd3..0000000000 --- a/sysdeps/alpha/fpu/s_copysignf.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 - . */ - -#define NO_MATH_REDIRECT -#include -#include - -float -__copysignf (float x, float y) -{ - return __builtin_copysignf (x, y); -} - -libm_alias_float (__copysign, copysign)