mailing list of musl libc
 help / color / mirror / code / Atom feed
From: David Edelsohn <dje.gcc@gmail.com>
To: musl@lists.openwall.com
Subject: Re: [musl] Floating Point Operations Cycles/Latency for ARM + RISC-V + POWER10
Date: Fri, 20 Oct 2023 20:35:17 -0400	[thread overview]
Message-ID: <CAGWvnymR+YNY+C6VLjT588qEG9UkLENu+PR9YY+EZammfr9=pQ@mail.gmail.com> (raw)
In-Reply-To: <1de79c9a-b970-5285-3a90-a3d5a8df90e9@esi.com.au>

[-- Attachment #1: Type: text/plain, Size: 958 bytes --]

On Fri, Oct 20, 2023 at 8:02 PM Damian McGuckin <damianm@esi.com.au> wrote:

>
> What modern CPUs have a penalty for double precision floating point
> arithmetic on scalars compared to single precision once they are in a
> register, i.e. ignoring memory fetch issues.
>
> I have Agner Fog's excellent document for X86-64 which basically says that
> 32
> bit and 64 bit operations for scalars take the same amount of time.
>
> I am looking for the same type of information for ARM and RISC-V. I found
> the
> data for 32-bit in the online documentation. But nothing bout 64 bit.
>
> I cannot find anything on this topic on RISC-V or POWER10.
>
> Maybe I am not searching on the right terms.
>
> Note that I am after the raw performance, not say the relative performance
> of say the MUSL sin() routine compared with the MUSL sinf().
>

Have you looked at the scheduler description for ARM, RISC-V and POWER in
GCC or LLVM?

David

[-- Attachment #2: Type: text/html, Size: 1305 bytes --]

  reply	other threads:[~2023-10-21  0:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-21  0:02 Damian McGuckin
2023-10-21  0:35 ` David Edelsohn [this message]
2023-10-21  1:06   ` Damian McGuckin

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='CAGWvnymR+YNY+C6VLjT588qEG9UkLENu+PR9YY+EZammfr9=pQ@mail.gmail.com' \
    --to=dje.gcc@gmail.com \
    --cc=musl@lists.openwall.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.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

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 NNTP newsgroup(s).