From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-il1-x141.google.com (mail-il1-x141.google.com [IPv6:2607:f8b0:4864:20::141]) by sourceware.org (Postfix) with ESMTPS id BCE0538708F9; Tue, 2 Jun 2020 02:10:09 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org BCE0538708F9 Received: by mail-il1-x141.google.com with SMTP id t8so10860304ilm.7; Mon, 01 Jun 2020 19:10: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:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:cc; bh=+7m6vrFlYxJlg+VKjlZxTMCRkWjisBQ38Em1XzbwCBI=; b=YF6KXGK/a3fkitUGBYerGUcP/nGF25uR3L3UZZr7gWfGhqncR/0Jh7kvBUJNESf2eV h056mRQRg8F/MU6NJDAzvvZFZgEnvdybO+k/jhcwdqiK8ZD6oom+n2PPNNTFy0YOXdqw FzVzalVnQaO8+8DiYS/NBGDW7lC1S3GFZudTgZ9YgJy71AGi3in2gi6TZ9HqGa6HtNab SXSIGdlrU6328aZT2NIXik92tLLkm0n+7gXzfL5tVrY8t9C5tg4kH6zXZUe/9lQ2i+W3 3tsuzJNbVWl3Gx6gKKaml5BpeIQriBtQm52suV83ape9mA74y5wsTLO1PqsuVGkDlxp6 TAcA== X-Gm-Message-State: AOAM532yRuXJTN/2SCT3O/qV5/z/TvXQG8ZkLuZ/KzC5hAEkc1vdRsvp 3IrPzIYNRsnWmu7sTLS7uOJZ7WzWN4SEA/KH3xGcO2s7+8E= X-Google-Smtp-Source: ABdhPJz2q2NeDb6mBVASQ+sOSgcExL0gg9O+y2MOV6FfgW/UIZ4Kxh1SuiyMBQzAUeMrdHk9z5Apr0DbjQRFvq4xKcA= X-Received: by 2002:a92:c103:: with SMTP id p3mr5537275ile.166.1591063809287; Mon, 01 Jun 2020 19:10:09 -0700 (PDT) MIME-Version: 1.0 References: <2047231.C4sosBPzcN@sheen> <20200602015802.GN31009@gate.crashing.org> In-Reply-To: <20200602015802.GN31009@gate.crashing.org> Reply-To: noloader@gmail.com From: Jeffrey Walton Date: Mon, 1 Jun 2020 22:09:38 -0400 Message-ID: Subject: Re: [musl] Re: ppc64le and 32-bit LE userland compatibility To: musl@lists.openwall.com Cc: Daniel Kolesa , Joseph Myers , Will Springer , libc-alpha@sourceware.org, eery@paperfox.es, Palmer Dabbelt via binutils , via libc-dev , linuxppc-dev@lists.ozlabs.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, 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: binutils@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Jun 2020 02:10:11 -0000 On Mon, Jun 1, 2020 at 9:58 PM Segher Boessenkool wrote: > > On Tue, Jun 02, 2020 at 01:26:37AM +0200, Daniel Kolesa wrote: > > On Mon, Jun 1, 2020, at 23:28, Joseph Myers wrote: > > Are you sure this would be a new port? Glibc already works in this combination, as it seems to me it'd be best if it was just a variant of the existing 32-bit PowerPC port, sharing most conventions besides endianness with the BE port. > > That's right. Except it isn't an "official" existing port, never has > been "officially" supported. > > > 128-bit IEEE long double would not work, since that relies on VSX being present (gcc will explicitly complain if it's not). I'd be all for using 64-bit long double, though (musl already does, on all ppc ports). > > The current IEEE QP float support requires VSX for its emulation, yes > (possibly even Power8?) ... I believe Steven Munroe has an implementation that includes emulation for lesser POWER architectures at https://github.com/munroesj52/pveclib. If I am not mistaken, Munroe 's library supports back to POWER7. Modern GCC is fine. Clang has problems because it lacks support for ISO/IEC TS 18661 or N2341 (http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2341.pdf). Jeff