From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.1 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 10710 invoked from network); 2 Jun 2020 02:10:24 -0000 Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with ESMTPUTF8; 2 Jun 2020 02:10:24 -0000 Received: (qmail 7821 invoked by uid 550); 2 Jun 2020 02:10:22 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 7798 invoked from network); 2 Jun 2020 02:10:21 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:reply-to:from:date:message-id :subject:to:cc; bh=+7m6vrFlYxJlg+VKjlZxTMCRkWjisBQ38Em1XzbwCBI=; b=bTg4ds9Hoch/ZaoyyR+UH8c7QzufliQk3sa91NlT7dJJMDuVbSfLFRbDRSNtsL144z fffZMsDNHrrC8Lo1WR8iyWiaiFcZBtvrHXK0BUDylCqLO43j4yg5CexNBT8HeZsm7jMZ tIR6cFV/Nx9KnIkaioIZ5IZz4vBbIQvx9TCB0hGONLQT90H0AKw/htjMFQ/haTOZfd+5 SRjP4+jIIcKKfyONOEBXxjghg3WenDuaQKQGTnq2w9X/5uyOUYht1iBPGIXoAlAbJRWX SC6lEdDRr8nF/v8No23/69xidaNX86zwrM07UbGC4az8gOYUN7uLitIeTp2fPAy4HBAC 8kwQ== 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=fD/U2/XusBUD8mOYd9AX//ITdamxRD8n7xxKtDSBC2xBH4HF92g1nqaB6LR5GZugfD AqIZEdYI8YGg+u+nUo3gnoF0xeZkDWlC9FZQhRtQCJozLSLmlhBk0P9pwze+AoBLMo/R TYK3d8JWmc2m+dc5PTWwAiE8LYwqKM3U+UDWqnj3bQdHWFhh94I9Ydi41INtdKMPGAdF rdDyuoYkH6XfzVmxUqXHdu+PQ0ZhgLRfptcqXA0a16ygz6Vr+/z7EzlgV7cu+r6JS/cv KORpNlXhTE9hkJSaLsRCg5Q0I9HzEQu5tNw68MLO2++BRnPEUK7eJJAzDMTkXoa6SFac ZbPA== X-Gm-Message-State: AOAM533gmmURfUmZe0pAyJF1UbBq85vJC8k8O+3qWdNb+9xw9feqhNM0 lJIN+Siexn9oVuNQ9gQ59Ayij10KEopYaKTjlU7jsMVpRe0= 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> From: Jeffrey Walton Date: Mon, 1 Jun 2020 22:09:38 -0400 Message-ID: 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" Subject: Re: [musl] Re: ppc64le and 32-bit LE userland compatibility 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