dalek-cryptography / curve25519-dalek

A pure-Rust implementation of group operations on Ristretto and Curve25519
Other
850 stars 416 forks source link

AVX512-IFMA & AVX10 status #635

Open pinkforest opened 4 months ago

pinkforest commented 4 months ago

This is probably still 1) worth supporting and this may be still 2) set as default without heavy opt-in ?

The downside by keeping it as default nightly-on is dealing with the nightly stuff changes if any

The upside is that the current AMD consumer flagships seems to be have good numbers and performance-per-watt with it that would indicate the enterprise stuff may work well as well.

I don't have 7950X to test withbut phoronix has some general numbers: https://www.phoronix.com/review/amd-zen4-avx512

intel however seems to have pretty much yanked it by now and AVX10 seems to promise a lot and legacy backwards compatibility. chipsandcheese thinks AVX10 is a silly idea and the register has interesting article + tom's hardware hot take.

This also poses a question how AVX-512 code is tested reasonably and does it need to be changed in near future - it doesn't currently really change at all but anyways :woman_shrugging:

Thoughts ?