public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Iain Sandoe <idsandoe@googlemail.com>
To: Segher Boessenkool <segher@kernel.crashing.org>
Cc: Sandra Loosemore <sandra@codesourcery.com>,
	Tobias Burnus <tobias@codesourcery.com>,
	"gcc-patches@gcc.gnu.org" <gcc-patches@gcc.gnu.org>,
	David Edelsohn <dje.gcc@gmail.com>,
	"fortran@gcc.gnu.org" <fortran@gcc.gnu.org>
Subject: Re: [Patch v3 Fortran] Fix c_float128 and c_float128_complex on targets with 128-bit long double.
Date: Wed, 11 Aug 2021 12:29:06 +0100	[thread overview]
Message-ID: <DAC32BD5-C7F4-401F-9D6C-56FF34E90A69@googlemail.com> (raw)
In-Reply-To: <20210811105539.GQ1583@gate.crashing.org>

Hi Folks

> On 11 Aug 2021, at 11:55, Segher Boessenkool <segher@kernel.crashing.org> wrote:

> On Tue, Aug 10, 2021 at 04:46:11PM -0600, Sandra Loosemore wrote:
>> OK.  I used your wording verbatim for the first one.  For the second 
>> one, I'm still pretty confused as I think it is at least theoretically 
>> possible on PowerPC to have a target with 64-bit long double (AIX?) that 
> 
> Some embedded and embedded-like subtargets use 64-bit long double by
> default.  You can also configure this on any Power target (not that it
> will necessarily work ;-) )
> 
> I don't know if any subtarget with default 64-bit long double supports
> Fortran.

I realize that this is not directly relevant to unscrambling the PPC 128bit stuff,
but aarch64-apple-darwin2x has only 64b long double and supports gfortran.
(on both the new M1 desktop macOS and embedded iOS)

 - it is not clear to me yet if there will at some point be a transition to a 128b
   long double for at least the desktop version.

So the permutation definitely exists for at least one non-legacy, non-embedded
platform (and gfortran is very much in demand from the new M1 users).

Iain

>> also supports the __ibm128 format, and it would be wrong to assume that 
>> *any* 128-bit mode that's not long double is IEEE.
> 
> Absolutely.  Modes are not types, and types are not modes.  There are
> 128-bit floating point modes that are not IEEE, there are that are, and
> either can be used for long double, or neither.
> 
> 
> Segher


  reply	other threads:[~2021-08-11 11:29 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-04 20:14 [RFC, " Sandra Loosemore
2021-08-05 17:33 ` Michael Meissner
2021-08-05 18:19   ` Sandra Loosemore
2021-08-05 20:09     ` Michael Meissner
2021-08-09 21:42       ` [Patch v2 " Sandra Loosemore
2021-08-10  8:29         ` Tobias Burnus
2021-08-10 11:59           ` Segher Boessenkool
2021-08-10 15:58           ` Sandra Loosemore
2021-08-10 22:46           ` [Patch v3 " Sandra Loosemore
2021-08-11  8:05             ` Tobias Burnus
2021-08-11 14:38               ` Sandra Loosemore
2021-08-11 10:55             ` Segher Boessenkool
2021-08-11 11:29               ` Iain Sandoe [this message]
2021-08-11 11:55                 ` Segher Boessenkool
2021-08-11 20:47               ` Michael Meissner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DAC32BD5-C7F4-401F-9D6C-56FF34E90A69@googlemail.com \
    --to=idsandoe@googlemail.com \
    --cc=dje.gcc@gmail.com \
    --cc=fortran@gcc.gnu.org \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=sandra@codesourcery.com \
    --cc=segher@kernel.crashing.org \
    --cc=tobias@codesourcery.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).