public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Tulio Magno Quites Machado Filho <tuliom@ascii.art.br>
To: Florian Weimer <fweimer@redhat.com>,
	Paul Zimmermann <Paul.Zimmermann@inria.fr>
Cc: libc-alpha@sourceware.org
Subject: Re: use of fma
Date: Wed, 28 Apr 2021 12:00:29 -0300	[thread overview]
Message-ID: <87im46zc6q.fsf@linux.ibm.com> (raw)
In-Reply-To: <87sg3ake7i.fsf@oldenburg.str.redhat.com>

Florian Weimer via Libc-alpha <libc-alpha@sourceware.org> writes:

> * Paul Zimmermann:
>
>> However, on PowerPC __FP_FAST_FMA is defined without -march=native:
>>
>> pzimmermann@drac-12:~$ gcc -O2 -g -dM -E -xc /dev/null | grep -q __FP_FAST_FMA
>> pzimmermann@drac-12:~$ echo $?
>> 0
>
> I assume that this is powerpc64le, which has a POWER8 baseline.  The
> switch to little endian neatly eliminated requirements for backwards
> compatibility.

Side note: single and double-precision multiply-add have been available since
the PPC ISA and POWER1 ISA respectively.
So, they're also available by default on powerpc64 and powerpc builds
supporting hw fpu.

-- 
Tulio Magno

  parent reply	other threads:[~2021-04-28 15:18 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-28  7:23 Paul Zimmermann
2021-04-28  8:25 ` Florian Weimer
2021-04-28  8:42   ` Paul Zimmermann
2021-04-28  9:06     ` Florian Weimer
2021-04-28 17:29     ` Joseph Myers
2021-04-28 15:00   ` Tulio Magno Quites Machado Filho [this message]
2021-04-28 15:18     ` Paul Zimmermann
2021-04-28 15:45       ` Tulio Magno Quites Machado Filho
2021-04-28 17:46         ` Joseph Myers

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=87im46zc6q.fsf@linux.ibm.com \
    --to=tuliom@ascii.art.br \
    --cc=Paul.Zimmermann@inria.fr \
    --cc=fweimer@redhat.com \
    --cc=libc-alpha@sourceware.org \
    /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).