From patchwork Tue Sep 11 12:34:26 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Szabolcs Nagy X-Patchwork-Id: 968540 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-95742-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="s+bDp5eU"; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="mUAmI4jW"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 428krQ3pflz9s3l for ; Tue, 11 Sep 2018 22:34:46 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:cc:to:from:subject:message-id:date :mime-version:content-type:content-transfer-encoding; q=dns; s= default; b=B6O3QRLjhhy2uIiTP4StUJDDdzQ4WVwYxZu3S2NXw+wIWo5KaoOZY ZzT1V6MGdsHwVBZNFohoiw44Hg4DYFY7VzHqOiKT8iAHsbIgB4k3T4hcwnEK/dAS wKkulJqUjWwhLsH7Z7yi1aIK2I1k8ghop2lrCnXdmeJWxVmYnW4zK0= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:cc:to:from:subject:message-id:date :mime-version:content-type:content-transfer-encoding; s=default; bh=dEfKHkMzypiJned1SOV/IutjHI4=; b=s+bDp5eURMD45xRXo+yUlq/4hlrN qd8Tb8ixRZqZQ7w3hy+aB310NOo+m5og5I/vDQVBpzDAtNimy/kjTkRixRTvQjRd 7tXxCRtyADKgSKmHeDd05mTDyhdfimbuPxMGTCNszkRAblSQWHh7xEt9A/0NRUCU mOcAijt77K9Dxd4= Received: (qmail 85300 invoked by alias); 11 Sep 2018 12:34:40 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 85288 invoked by uid 89); 11 Sep 2018 12:34:39 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-6.9 required=5.0 tests=BAYES_00, GIT_PATCH_2, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_PASS autolearn=ham version=3.3.2 spammy=pow, H*r:10a6 X-HELO: EUR02-AM5-obe.outbound.protection.outlook.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector1-arm-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=5bV86LOhky2+tYZtF4qRVAZKn61ebofylOJzAwsBekE=; b=mUAmI4jW4sVHjTBoU5sW9KXFtHIQhARkOmJl7ja0XDukeVKwnptPLVcJ+6rVKPLNBQ7ewTKAwWFu6mTGIqzVVwBfQF4BRRPpsARZ4RS+Cg5+wPmJbHmG0VxFGDa8eHzPf5V5AZouAWvZzJkqVEYg0jX4WNPJdpXr9OliGvThdKw= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Szabolcs.Nagy@arm.com; Cc: nd@arm.com To: GNU C Library From: Szabolcs Nagy Subject: [PATCH 0/3] New log, log2 and pow Message-ID: <391ac2f9-9ee4-ac23-b791-09f0438c2b91@arm.com> Date: Tue, 11 Sep 2018 13:34:26 +0100 User-Agent: Mozilla/5.0 (X11; Linux aarch64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 Received-SPF: None (protection.outlook.com: arm.com does not designate permitted sender hosts) updated the patches with comments about the lookup tables. Szabolcs Nagy (3): Add new log implementation Add new log2 implementation Add new pow implementation NEWS | 2 +- math/Makefile | 3 +- sysdeps/generic/math_private.h | 1 - sysdeps/i386/fpu/e_log2_data.c | 1 + sysdeps/i386/fpu/e_log_data.c | 1 + sysdeps/i386/fpu/e_pow_log_data.c | 1 + sysdeps/ia64/fpu/e_log2_data.c | 1 + sysdeps/ia64/fpu/e_log_data.c | 1 + sysdeps/ia64/fpu/e_pow_log_data.c | 1 + sysdeps/ieee754/dbl-64/Makefile | 1 - sysdeps/ieee754/dbl-64/e_exp.c | 35 +- sysdeps/ieee754/dbl-64/e_log.c | 257 +- sysdeps/ieee754/dbl-64/e_log2.c | 240 +- sysdeps/ieee754/dbl-64/e_log2_data.c | 220 + sysdeps/ieee754/dbl-64/e_log_data.c | 347 + sysdeps/ieee754/dbl-64/e_pow.c | 657 +- sysdeps/ieee754/dbl-64/e_pow_log_data.c | 195 + sysdeps/ieee754/dbl-64/math_config.h | 54 + sysdeps/ieee754/dbl-64/ulog.h | 93 - sysdeps/ieee754/dbl-64/ulog.tbl | 3326 --------- sysdeps/ieee754/dbl-64/upow.h | 76 - sysdeps/ieee754/dbl-64/upow.tbl | 10188 -------------------------- sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c | 128 - sysdeps/m68k/m680x0/fpu/e_log2_data.c | 1 + sysdeps/m68k/m680x0/fpu/e_log_data.c | 1 + sysdeps/m68k/m680x0/fpu/e_pow_log_data.c | 1 + sysdeps/x86_64/fpu/multiarch/Makefile | 4 +- 27 files changed, 1411 insertions(+), 14425 deletions(-) create mode 100644 sysdeps/i386/fpu/e_log2_data.c create mode 100644 sysdeps/i386/fpu/e_log_data.c create mode 100644 sysdeps/i386/fpu/e_pow_log_data.c create mode 100644 sysdeps/ia64/fpu/e_log2_data.c create mode 100644 sysdeps/ia64/fpu/e_log_data.c create mode 100644 sysdeps/ia64/fpu/e_pow_log_data.c create mode 100644 sysdeps/ieee754/dbl-64/e_log2_data.c create mode 100644 sysdeps/ieee754/dbl-64/e_log_data.c create mode 100644 sysdeps/ieee754/dbl-64/e_pow_log_data.c delete mode 100644 sysdeps/ieee754/dbl-64/ulog.h delete mode 100644 sysdeps/ieee754/dbl-64/ulog.tbl delete mode 100644 sysdeps/ieee754/dbl-64/upow.h delete mode 100644 sysdeps/ieee754/dbl-64/upow.tbl delete mode 100644 sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c create mode 100644 sysdeps/m68k/m680x0/fpu/e_log2_data.c create mode 100644 sysdeps/m68k/m680x0/fpu/e_log_data.c create mode 100644 sysdeps/m68k/m680x0/fpu/e_pow_log_data.c