From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.3 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F094FC433E0 for ; Mon, 1 Jun 2020 16:38:25 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B8B9D20734 for ; Mon, 1 Jun 2020 16:38:25 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="EipqEZ6Y"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="mpXwN18N" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B8B9D20734 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-snps-arc-bounces+linux-snps-arc=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date: Message-ID:Subject:From:References:To:Reply-To:Content-ID:Content-Description :Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=sjxxhfA1/FPmzypEtRSdAbEjDvuAXDRPnH3AYk1CVxk=; b=EipqEZ6YhTFgWN tT53en3La7NTnAH/i0rI5Mu7q/McOLkhV1G/RZ6d2ftqmxU+NMn4tt+xkgsopfFMx32+mtllQeWS/ yhlfyOSBKHfc41cifYx6Auu0o58mKL2nQzdQPRXpuCcPEVu6WF0XKfd5KIlOZiYefHeJiEgBfq3xX uYMM7zPiogg0TipY4dI595GEW6Gy9SAE5h8yqdZOGeYuavZQutjOuDyu0u0Tw2BoT2JlTtqJ8zMoi WfyDnyOr3hkIbBO3T6GO9UA29Mi/w4nwmjS/UGUDP9+5rkwTF5cbefj4MBVcaIoqV06BzQsOVET1o KjcGYicXTTeled/wR8Sg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jfnSB-000403-0k; Mon, 01 Jun 2020 16:38:23 +0000 Received: from mail-qk1-x741.google.com ([2607:f8b0:4864:20::741]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jfnS7-0003z3-R4 for linux-snps-arc@lists.infradead.org; Mon, 01 Jun 2020 16:38:21 +0000 Received: by mail-qk1-x741.google.com with SMTP id c14so8618682qka.11 for ; Mon, 01 Jun 2020 09:38:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=to:cc:references:from:autocrypt:subject:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=0fBRIiR+xDCBVwPCigHVNb6AIyZMxyZe8nY5hsGQfxo=; b=mpXwN18NKYEfk2uztY2fdmxkQby0Gd4CBRrVmxPTUXC1S/3podiIKAqUxyAkFF+PiJ TnoczyEZFLTwk5ZXh4VzqmdDw2+AZyh1giGtPYms92y9sbAak0bnbqyr+GzrSR3Luo44 yOoWDDoSIqEckzM7yaagD+mZn73krgYPNSJ/bJbKIKWceCRebDo90dy7pW10av+5+NMn gBgyalwz+aX4b2oxwpSe8Bp9ogNHvethLPI3rQN1IaBog9KLxpJgFuMkF9EBPCV7lz5U DIij34LARzo0DUJJ+Yq0kvq2TCddhkTzkwm2KUGIppwfsnLu86TuagsJBrT643fFe+sm 3zLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:cc:references:from:autocrypt:subject :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=0fBRIiR+xDCBVwPCigHVNb6AIyZMxyZe8nY5hsGQfxo=; b=qEAv54L2CUnJY4YD82oZKnq4riTD57JhwiAMJ0T3JhNaM53NGsYR5l7ad88ubaRU4G SOYCapjviVkQsYfPA4IQIU2Fj82FZHS5kfl5coeIwXJ1MoJ/dnzDYdF7vLlaB3Tzoj6C 6KG2xbgfq13jicgiDjBVsGiIUgjLiT8PTC8yanZypCYOYElnjj6bYpvsXP9xaCjBuSCa 0H0hqF+BSLaIblhAiMJxaVf2oHHq9Pu8OFs+IDwvFIrE5los6ib7p9spx8E7mMBqbsbh erdxKaDNekPHmUwlfk21NDWY7TV9gTIZ3vH7eCuqHvEitxHw504huNAyifUo6QrkMjPu aKaQ== X-Gm-Message-State: AOAM533jeusLM2V5XH8pe2KEXwDOyDDMuGgrc7hakVZUtgU2SoZQxczQ HTN3yUkwOvA0cjhHYFIYsa+GsaHeNAg= X-Google-Smtp-Source: ABdhPJzLQpOoNPdWOAvt3+VuUZHUoqwK56CRG3t2ullIinXQgcwZlATqMTMgxtft10a9Kk2KKx9OTw== X-Received: by 2002:a37:70c5:: with SMTP id l188mr21330309qkc.396.1591029496390; Mon, 01 Jun 2020 09:38:16 -0700 (PDT) Received: from [192.168.1.4] ([177.194.48.209]) by smtp.googlemail.com with ESMTPSA id 80sm14173604qkl.116.2020.06.01.09.38.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 01 Jun 2020 09:38:15 -0700 (PDT) To: Vineet Gupta , libc-alpha@sourceware.org References: <20200530020047.5490-1-vgupta@synopsys.com> <20200530020047.5490-5-vgupta@synopsys.com> From: Adhemerval Zanella Autocrypt: addr=adhemerval.zanella@linaro.org; prefer-encrypt=mutual; keydata= mQINBFcVGkoBEADiQU2x/cBBmAVf5C2d1xgz6zCnlCefbqaflUBw4hB/bEME40QsrVzWZ5Nq 8kxkEczZzAOKkkvv4pRVLlLn/zDtFXhlcvQRJ3yFMGqzBjofucOrmdYkOGo0uCaoJKPT186L NWp53SACXguFJpnw4ODI64ziInzXQs/rUJqrFoVIlrPDmNv/LUv1OVPKz20ETjgfpg8MNwG6 iMizMefCl+RbtXbIEZ3TE/IaDT/jcOirjv96lBKrc/pAL0h/O71Kwbbp43fimW80GhjiaN2y WGByepnkAVP7FyNarhdDpJhoDmUk9yfwNuIuESaCQtfd3vgKKuo6grcKZ8bHy7IXX1XJj2X/ BgRVhVgMHAnDPFIkXtP+SiarkUaLjGzCz7XkUn4XAGDskBNfbizFqYUQCaL2FdbW3DeZqNIa nSzKAZK7Dm9+0VVSRZXP89w71Y7JUV56xL/PlOE+YKKFdEw+gQjQi0e+DZILAtFjJLoCrkEX w4LluMhYX/X8XP6/C3xW0yOZhvHYyn72sV4yJ1uyc/qz3OY32CRy+bwPzAMAkhdwcORA3JPb kPTlimhQqVgvca8m+MQ/JFZ6D+K7QPyvEv7bQ7M+IzFmTkOCwCJ3xqOD6GjX3aphk8Sr0dq3 4Awlf5xFDAG8dn8Uuutb7naGBd/fEv6t8dfkNyzj6yvc4jpVxwARAQABtElBZGhlbWVydmFs IFphbmVsbGEgTmV0dG8gKExpbmFybyBWUE4gS2V5KSA8YWRoZW1lcnZhbC56YW5lbGxhQGxp bmFyby5vcmc+iQI3BBMBCAAhBQJXFRpKAhsDBQsJCAcDBRUKCQgLBRYCAwEAAh4BAheAAAoJ EKqx7BSnlIjv0e8P/1YOYoNkvJ+AJcNUaM5a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Message-ID: Date: Mon, 1 Jun 2020 13:38:13 -0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: <20200530020047.5490-5-vgupta@synopsys.com> Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200601_093819_946036_43D5289C X-CRM114-Status: GOOD ( 20.18 ) X-BeenThere: linux-snps-arc@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on Synopsys ARC Processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-snps-arc@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-snps-arc" Errors-To: linux-snps-arc-bounces+linux-snps-arc=archiver.kernel.org@lists.infradead.org On 29/05/2020 23:00, Vineet Gupta wrote: > Signed-off-by: Vineet Gupta LGTM, some comments below. > --- > sysdeps/aarch64/fpu/e_sqrt.c | 27 ---------- > sysdeps/aarch64/fpu/e_sqrtf.c | 27 ---------- > sysdeps/aarch64/fpu/math-use-builtins.h | 70 +++++++++++++++++++++++++ > sysdeps/aarch64/fpu/s_fma.c | 28 ---------- > sysdeps/aarch64/fpu/s_fmaf.c | 28 ---------- > 5 files changed, 70 insertions(+), 110 deletions(-) > delete mode 100644 sysdeps/aarch64/fpu/e_sqrt.c > delete mode 100644 sysdeps/aarch64/fpu/e_sqrtf.c > create mode 100644 sysdeps/aarch64/fpu/math-use-builtins.h > delete mode 100644 sysdeps/aarch64/fpu/s_fma.c > delete mode 100644 sysdeps/aarch64/fpu/s_fmaf.c > > diff --git a/sysdeps/aarch64/fpu/e_sqrt.c b/sysdeps/aarch64/fpu/e_sqrt.c > deleted file mode 100644 > index abb67ef7b061..000000000000 > --- a/sysdeps/aarch64/fpu/e_sqrt.c > +++ /dev/null > @@ -1,27 +0,0 @@ > -/* Square root of floating point number. > - Copyright (C) 2015-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 > - . */ > - > -#include > -#include > - > -double > -__ieee754_sqrt (double d) > -{ > - return __builtin_sqrt (d); > -} > -libm_alias_finite (__ieee754_sqrt, __sqrt) Ok. > diff --git a/sysdeps/aarch64/fpu/e_sqrtf.c b/sysdeps/aarch64/fpu/e_sqrtf.c > deleted file mode 100644 > index 13008a4f45d6..000000000000 > --- a/sysdeps/aarch64/fpu/e_sqrtf.c > +++ /dev/null > @@ -1,27 +0,0 @@ > -/* Single-precision floating point square root. > - Copyright (C) 2015-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 > - . */ > - > -#include > -#include > - > -float > -__ieee754_sqrtf (float s) > -{ > - return __builtin_sqrtf (s); > -} > -libm_alias_finite (__ieee754_sqrtf, __sqrtf) Ok. > diff --git a/sysdeps/aarch64/fpu/math-use-builtins.h b/sysdeps/aarch64/fpu/math-use-builtins.h > new file mode 100644 > index 000000000000..52f0a0dad6dd > --- /dev/null > +++ b/sysdeps/aarch64/fpu/math-use-builtins.h > @@ -0,0 +1,70 @@ > +/* Using math gcc builtins instead of generic implementation. aarch64 version. > + Copyright (C) 2019-2020 Free Software Foundation, Inc. I think it should be just 2020 here. > + 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 > + . */ > + > +#ifndef MATH_USE_BUILTINS_H > +#define MATH_USE_BUILTINS_H 1 > + > +#include /* For __GNUC_PREREQ. */ > + > +/* Define these macros to 1 to use __builtin_xyz instead of the > + generic implementation. */ > +#define USE_NEARBYINT_BUILTIN 0 > +#define USE_NEARBYINTF_BUILTIN 0 > +#define USE_NEARBYINTL_BUILTIN 0 > +#define USE_NEARBYINTF128_BUILTIN 0 Since we are adding this new file for aarch64, we could also enable it fo nearbyint{f} and remove sysdeps/aarch64/fpu/s_nearbyint{f}.c as well. > + > +#define USE_RINT_BUILTIN 0 > +#define USE_RINTF_BUILTIN 0 > +#define USE_RINTL_BUILTIN 0 > +#define USE_RINTF128_BUILTIN 0 Ditto. > + > +#define USE_FLOOR_BUILTIN 0 > +#define USE_FLOORF_BUILTIN 0 > +#define USE_FLOORL_BUILTIN 0 > +#define USE_FLOORF128_BUILTIN 0 Ditto. > + > +#define USE_CEIL_BUILTIN 0 > +#define USE_CEILF_BUILTIN 0 > +#define USE_CEILL_BUILTIN 0 > +#define USE_CEILF128_BUILTIN 0 Ditto. > + > +#define USE_TRUNC_BUILTIN 0 > +#define USE_TRUNCF_BUILTIN 0 > +#define USE_TRUNCL_BUILTIN 0 > +#define USE_TRUNCF128_BUILTIN 0 Ditto. > + > +#define USE_ROUND_BUILTIN 0 > +#define USE_ROUNDF_BUILTIN 0 > +#define USE_ROUNDL_BUILTIN 0 > +#define USE_ROUNDF128_BUILTIN 0 Ditto. > + > +#define USE_COPYSIGNL_BUILTIN 1 > +#if __GNUC_PREREQ (7, 0) > +# define USE_COPYSIGNF128_BUILTIN 1 > +#else > +# define USE_COPYSIGNF128_BUILTIN 0 > +#endif > + It should be described in commit message as well (although generated instruction are essentially the same). > +#define USE_SQRT_BUILTIN 1 > +#define USE_SQRTF_BUILTIN 1 > + > +#define USE_FMA_BUILTIN 1 > +#define USE_FMAF_BUILTIN 1 > +#define USE_FMAL_BUILTIN 0 > + > +#endif /* math-use-builtins.h */ Ok. > diff --git a/sysdeps/aarch64/fpu/s_fma.c b/sysdeps/aarch64/fpu/s_fma.c > deleted file mode 100644 > index 48bb40482dc9..000000000000 > --- a/sysdeps/aarch64/fpu/s_fma.c > +++ /dev/null > @@ -1,28 +0,0 @@ > -/* Copyright (C) 1996-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 > - . */ > - > -#include > -#include > - > -double > -__fma (double x, double y, double z) > -{ > - return __builtin_fma (x, y, z); > -} > - > -libm_alias_double (__fma, fma) Ok. > diff --git a/sysdeps/aarch64/fpu/s_fmaf.c b/sysdeps/aarch64/fpu/s_fmaf.c > deleted file mode 100644 > index 544f32e27aec..000000000000 > --- a/sysdeps/aarch64/fpu/s_fmaf.c > +++ /dev/null > @@ -1,28 +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 > - . */ > - > -#include > -#include > - > -float > -__fmaf (float x, float y, float z) > -{ > - return __builtin_fmaf (x, y, z); > -} > - > -libm_alias_float (__fma, fma) > Ok. _______________________________________________ linux-snps-arc mailing list linux-snps-arc@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-snps-arc