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

kookman thekookman at gmail.com
Thu May 13 04:40:25 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 v1.26 is already doing a very good job IMHO. I'm running with 
native ARM (brew.sh) LDC on Mac mini M1 and compiles are not 
noticeably slower than DMD on my Intel MacBook. Impressive!


More information about the Digitalmars-d mailing list