From patchwork Tue Jun 9 21:32:50 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella X-Patchwork-Id: 39533 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 C9331388B004; Tue, 9 Jun 2020 21:33:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C9331388B004 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1591738391; bh=FTrP+F30HK2YMCy9nEziAr85vKynzs1AA2Kq9LWiXLU=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=ljUEOV/tbNX/Hmm+1DXxn8XLF+3EHTB2wHGvrk4rg2/D5SjfYTc2fabRKM6jSvSUl UgzPxcDNYQs7BQG1UJJahmhMVjyRzVOhHAfV0hmAVm7YjMwLADK4jy4Qd+PtYDm3zM Tr2BYmrH/kAudkaOXCqdqjRt4PvL+CJb/UGUTQHs= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-qk1-x736.google.com (mail-qk1-x736.google.com [IPv6:2607:f8b0:4864:20::736]) by sourceware.org (Postfix) with ESMTPS id 3BBC6388A837 for ; Tue, 9 Jun 2020 21:33:09 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 3BBC6388A837 Received: by mail-qk1-x736.google.com with SMTP id l17so88803qki.9 for ; Tue, 09 Jun 2020 14:33:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=FTrP+F30HK2YMCy9nEziAr85vKynzs1AA2Kq9LWiXLU=; b=S62pZals6snu6PvGcKntVFTqFnjFYMDPmk5ij6JqwHpehlXO0kNCyyfKyKOs6QeLNi IEd/kZWj4ZxvKzA1etO8RyTT7vB0nBMvltGaTSq9Hbo5jbTAONcrDICogvqoUqDmnoC8 oo0zV5LZZgqQe9eHOluTb7Jm4h09b3Atm9ojhEy+LhUFzbWCVKToEmDNk3XlEuY0tTNC 0Qn1MhHs8oaovFYO7BJptp1KNUz/WBcVImBDkRbyqeWTMu0CIePNqjToyWaqhxUxKLlV MiRdDy2tNSIxg6cZvO6JIn4Pq4lDSvc+QkXDuTcduPSY1BPrRycv81VWHhemjxegjGhn XMxA== X-Gm-Message-State: AOAM531y6WPqEWQW/n2+qb1MRTJgvaidiKwYu+izi2vHUCyIhXcjJcnd FNYqE3mvFgF0PNMFs7BLXPkSO5V7eh8= X-Google-Smtp-Source: ABdhPJynzzU0ER/E3gH1VTNiaHg5vpgRiYdhf/tWmOn2xfZ3zpv6AJUyWQMkADXUbmedcgmteW7dUw== X-Received: by 2002:ae9:e84c:: with SMTP id a73mr27691151qkg.158.1591738388362; Tue, 09 Jun 2020 14:33:08 -0700 (PDT) Received: from localhost.localdomain ([177.194.48.209]) by smtp.googlemail.com with ESMTPSA id d193sm10746214qke.124.2020.06.09.14.33.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jun 2020 14:33:07 -0700 (PDT) To: libc-alpha@sourceware.org Subject: [PATCH 02/13] aarch64: Use math-use-builtins for ceil{f} Date: Tue, 9 Jun 2020 18:32:50 -0300 Message-Id: <20200609213301.3591135-2-adhemerval.zanella@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200609213301.3591135-1-adhemerval.zanella@linaro.org> References: <20200609213301.3591135-1-adhemerval.zanella@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-14.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 autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) 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 Reply-To: Adhemerval Zanella Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" The define is already set on the math-use-builtins-ceil.h, the patch just removes the implementations (it was missed on c9feb1be93). Checked on aarch64-linux-gnu. Reviewed-by: Szabolcs Nagy --- sysdeps/aarch64/fpu/s_ceil.c | 29 ----------------------------- sysdeps/aarch64/fpu/s_ceilf.c | 29 ----------------------------- 2 files changed, 58 deletions(-) delete mode 100644 sysdeps/aarch64/fpu/s_ceil.c delete mode 100644 sysdeps/aarch64/fpu/s_ceilf.c diff --git a/sysdeps/aarch64/fpu/s_ceil.c b/sysdeps/aarch64/fpu/s_ceil.c deleted file mode 100644 index f3cefdc824..0000000000 --- a/sysdeps/aarch64/fpu/s_ceil.c +++ /dev/null @@ -1,29 +0,0 @@ -/* Copyright (C) 2011-2020 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 - -double -__ceil (double x) -{ - return __builtin_ceil (x); -} - -libm_alias_double (__ceil, ceil) diff --git a/sysdeps/aarch64/fpu/s_ceilf.c b/sysdeps/aarch64/fpu/s_ceilf.c deleted file mode 100644 index 1cde85fbaa..0000000000 --- a/sysdeps/aarch64/fpu/s_ceilf.c +++ /dev/null @@ -1,29 +0,0 @@ -/* Copyright (C) 2011-2020 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 -__ceilf (float x) -{ - return __builtin_ceilf (x); -} - -libm_alias_float (__ceil, ceil)