mailing list of musl libc
 help / color / mirror / code / Atom feed
* [musl] Floating Point Operations Cycles/Latency for ARM + RISC-V + POWER10
@ 2023-10-21  0:02 Damian McGuckin
  2023-10-21  0:35 ` David Edelsohn
  0 siblings, 1 reply; 3+ messages in thread
From: Damian McGuckin @ 2023-10-21  0:02 UTC (permalink / raw)
  To: musl


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().

Thanks - Damian


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-10-21  1:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-21  0:02 [musl] Floating Point Operations Cycles/Latency for ARM + RISC-V + POWER10 Damian McGuckin
2023-10-21  0:35 ` David Edelsohn
2023-10-21  1:06   ` Damian McGuckin

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).