M1 10x faster than Intel at integral division, throughput one 64-bit divide in two cycles

Nicholas Wilson iamthewilsonator at hotmail.com
Thu May 13 06:02:31 UTC 2021


On Thursday, 13 May 2021 at 01:59:15 UTC, Andrei Alexandrescu 
wrote:
> https://www.reddit.com/r/programming/comments/nawerv/benchmarking_division_and_libdivide_on_apple_m1/
>
> Integral division is the strongest arithmetic operation.
>
> I have a friend who knows some M1 internals. He said it's 
> really Star Trek stuff.
>
> This will seriously challenge other CPU producers.
>
> What perspectives do we have to run the compiler on M1 and 
> produce M1 code?

LDC works out of the box.
GDC may support it with GDC11 (no idea on time frame).
DMD has no support for ARM whatsoever.
non-dmdfe based compilers, no idea. Probably not.


More information about the Digitalmars-d mailing list