From patchwork Thu May 24 04:35:48 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Gabriel F. T. Gomes" X-Patchwork-Id: 919546 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-92732-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=inconstante.eti.br Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="U+zR1AZe"; 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 40rxR058C1z9s0x for ; Thu, 24 May 2018 14:36:11 +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:from:to:subject:date:message-id:mime-version :content-type; q=dns; s=default; b=R4CdOZBqHQcuCw1W/wwpDMsPmhket UuNcvADR04URj/ykURYQsVKtyomGIHc/rZ8AqbnencVL9NgOX93knJFgIMVDXyUL tEUsf8uQwlq8sI3vTfm8BLYThxzhbSXIJSyQUT2K4MsDN3keNOJa50MIIUI3AOP5 iM2WPi2LezfAe8= 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:from:to:subject:date:message-id:mime-version :content-type; s=default; bh=po8fKh+BSlx4BRiF5dP7+e7Tieo=; b=U+z R1AZe8kA/LaT9qMw0FDs49UzteCPuxWtYrm/StQaFUrQZRR9i4zd6ISqKbCCSl1u pQor4pLH3xPTHllZQvXo2HS4YfqV2GuZgeB+fzooJl0mHcJdK+sBF/qvJixUV+9Y uSqNxx970jL8zKI+5cE0pPdqd1I760+7r8fXYMtk= Received: (qmail 25648 invoked by alias); 24 May 2018 04:36:04 -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 25631 invoked by uid 89); 24 May 2018 04:36:04 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-5.9 required=5.0 tests=BAYES_00, GIT_PATCH_3, KAM_LAZY_DOMAIN_SECURITY, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=H*F:D*br X-HELO: mo19.mail-out.ovh.net From: "Gabriel F. T. Gomes" To: Subject: [RFC PATCH 0/5] *printf/*scanf functions for the long double migration on powerpc64le Date: Thu, 24 May 2018 01:35:48 -0300 Message-ID: <20180524043553.23569-1-gabriel@inconstante.eti.br> MIME-Version: 1.0 X-ClientProxiedBy: EX1.emp.local (172.16.2.1) To EX4.emp.local (172.16.2.4) X-Ovh-Tracer-Id: 4696972938102689475 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedthedrgeeigddugecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemuceftddtnecu Each RFC patch in this thread has its own comments, but I'd like to point out that: * Patch 1/5 is currently under review on libc-alpha, but I added it to this series, because it makes the series usable (testable). * Patches 2/5 and 3/5 are new cleanups (required by the next patch). * Patch 4/5 is the bulk of the RFC. * Patch 5/5 is there just to allow people to test the series. Gabriel F. T. Gomes (4): Do not define and undefine vfprintf in vfprintf.c Do not declare __mpn_extract_float128 when long double has binary128 format RFC: Two vfprintf implementations (IBM and IEEE 128) RFC: powerpc64le: Convert default long double format to IEEE binary128 Tulio Magno Quites Machado Filho (1): powerpc: Move around math-related Implies include/gmp.h | 2 +- libio/stdio.h | 9 ++++ stdio-common/vfprintf.c | 9 ++-- sysdeps/ieee754/ldbl-128ibm-compat/Makefile | 20 +++++++++ sysdeps/ieee754/ldbl-128ibm-compat/Versions | 12 +++++ .../ldbl-128ibm-compat/bits/stdio-ieee128.h | 30 +++++++++++++ .../ieee754/ldbl-128ibm-compat/ieee128-printf_fp.c | 16 +++++++ .../ldbl-128ibm-compat/ieee128-printf_fphex.c | 16 +++++++ .../ieee754/ldbl-128ibm-compat/ieee128-vfprintf.c | 13 ++++++ .../ldbl-128ibm-compat/test-printf-ibm128.c | 1 + .../ldbl-128ibm-compat/test-printf-ieee128.c | 1 + .../ldbl-128ibm-compat/test-printf-ldbl-compat.c | 51 ++++++++++++++++++++++ sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h | 27 +++++++++++- .../powerpc/{Implies => powerpc32/Implies-after} | 0 sysdeps/powerpc/powerpc64/be/Implies-after | 5 +++ sysdeps/powerpc/powerpc64/le/Implies-before | 6 +++ .../powerpc/powerpc64/le/ldbl-128ibm-compat-abi.h | 8 ++++ .../sysv/linux/powerpc/powerpc64/libc-le.abilist | 3 ++ 18 files changed, 221 insertions(+), 8 deletions(-) create mode 100644 sysdeps/ieee754/ldbl-128ibm-compat/Makefile create mode 100644 sysdeps/ieee754/ldbl-128ibm-compat/Versions create mode 100644 sysdeps/ieee754/ldbl-128ibm-compat/bits/stdio-ieee128.h create mode 100644 sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_fp.c create mode 100644 sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_fphex.c create mode 100644 sysdeps/ieee754/ldbl-128ibm-compat/ieee128-vfprintf.c create mode 100644 sysdeps/ieee754/ldbl-128ibm-compat/test-printf-ibm128.c create mode 100644 sysdeps/ieee754/ldbl-128ibm-compat/test-printf-ieee128.c create mode 100644 sysdeps/ieee754/ldbl-128ibm-compat/test-printf-ldbl-compat.c rename sysdeps/powerpc/{Implies => powerpc32/Implies-after} (100%) create mode 100644 sysdeps/powerpc/powerpc64/be/Implies-after create mode 100644 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/ldbl-128ibm-compat-abi.h