From patchwork Tue Jun 9 21:32:54 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella Netto X-Patchwork-Id: 39538 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 D7FF5388C00D; Tue, 9 Jun 2020 21:33:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D7FF5388C00D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1591738398; bh=NjWAOvPMXH8/Wl6HfCNGDV6/YuZiktOOpbAHCBFC1BY=; 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=C4VD5iV3WJDCWUSdaRrjneIUzytfDyCg6ggKz4sH6D6Gv4sICO/ScCMqogiGLPE1m CqKVciJEFcAPRRZANhMlFgWUWKYiJk/qIBCEYFqIK9ybJ+t7pfscF4pkjXvWsr/TlY PZ0aO0UVSjxquqy7hf/yzguaYYszr8UNSRb/82lo= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-qt1-x829.google.com (mail-qt1-x829.google.com [IPv6:2607:f8b0:4864:20::829]) by sourceware.org (Postfix) with ESMTPS id 9214C388C003 for ; Tue, 9 Jun 2020 21:33:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 9214C388C003 Received: by mail-qt1-x829.google.com with SMTP id w90so152645qtd.8 for ; Tue, 09 Jun 2020 14:33:15 -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=NjWAOvPMXH8/Wl6HfCNGDV6/YuZiktOOpbAHCBFC1BY=; b=Gx12S0l+IHBa9Sg7PoTYXKe5I3RyeClgVOoWh3wX9JtlKFHFs9fUzT1Gm0big55HF3 NBRj/4iDbq98lZnhtGND02GQw3Va+xiu6gJdrRYkm6oF8iGwq9nLFuXbVwL6Ez27l0/n 4LA95PYicbHbc48JxaaWgWBWymwITMYHmhNNQsBh8nJK1/2Mq/bXD+8fNnLWbR17zuJh GG8J2ndIsN6xtEN7GhDBdOvjlJGYtm43ADwc5C+kaFGRxBLV68cGJq05MJap+d2wV++4 QtcSo/2zuq+Y8B7CQP4YrFTYekxF3qJDyaA78NJB7a5ijMqL5WPCO4DoGZVmeORpAOSP 7EHw== X-Gm-Message-State: AOAM531MJhdFuiwilHZ7Wxoye7gtWq3doHz8FYtKylZSfggF/w/nZAsf V1xw78ph61KLBXQ5zLPRnvwqrfg+DXQ= X-Google-Smtp-Source: ABdhPJzxf8ZWSHnP7In7C6FGvBNM+EfWymWPcg5zE6Bee+/Gl3Vtsal7sHNc9qbDfVDLyQk6hoy++A== X-Received: by 2002:aed:2369:: with SMTP id i38mr4952280qtc.238.1591738394850; Tue, 09 Jun 2020 14:33:14 -0700 (PDT) Received: from localhost.localdomain ([177.194.48.209]) by smtp.googlemail.com with ESMTPSA id d193sm10746214qke.124.2020.06.09.14.33.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jun 2020 14:33:14 -0700 (PDT) To: libc-alpha@sourceware.org Subject: [PATCH 06/13] i386: Use builtin sqrtl Date: Tue, 9 Jun 2020 18:32:54 -0300 Message-Id: <20200609213301.3591135-6-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, 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 Netto Reply-To: Adhemerval Zanella Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" Checked on i686-linux-gnu. --- sysdeps/i386/fpu/e_sqrtl.c | 21 --------------------- sysdeps/{x86_64 => x86}/fpu/e_sqrtl.c | 0 2 files changed, 21 deletions(-) delete mode 100644 sysdeps/i386/fpu/e_sqrtl.c rename sysdeps/{x86_64 => x86}/fpu/e_sqrtl.c (100%) diff --git a/sysdeps/i386/fpu/e_sqrtl.c b/sysdeps/i386/fpu/e_sqrtl.c deleted file mode 100644 index 8f284dd75c..0000000000 --- a/sysdeps/i386/fpu/e_sqrtl.c +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Written by J.T. Conklin . - * Public domain. - * - * Adapted for `long double' by Ulrich Drepper . - */ - -#include -#include - -#undef __ieee754_sqrtl -long double -__ieee754_sqrtl (long double x) -{ - long double res; - - asm ("fsqrt" : "=t" (res) : "0" (x)); - - return res; -} -libm_alias_finite (__ieee754_sqrtl, __sqrtl) diff --git a/sysdeps/x86_64/fpu/e_sqrtl.c b/sysdeps/x86/fpu/e_sqrtl.c similarity index 100% rename from sysdeps/x86_64/fpu/e_sqrtl.c rename to sysdeps/x86/fpu/e_sqrtl.c