4 ms·
A heavy SIMD user is in all things cryptographic. You can read what Google did on Android phones to encrypt drives here for instance: https://lwn.net/Articles/
by espadrine 6y ago
A heavy SIMD user is in all things cryptographic.
You can read what Google did on Android phones to encrypt drives here for instance: https://lwn.net/Articles/776721/ https://lwn.net/Articles/776721/
- zamadatix 6y agoIn real world though anything but the lowest end hardware will have cryptographic offloads either in the CPU or storage controller (or both). The M1 actually excels at AES throughput for instance. For esoteric/custom crypto it could play a part though but you have to have good reasons to not want to use standard crypto at higher speed for it to be your use case which is why I say it'd be uncommon.
- espadrine 6y agoThat is especially true for algorithms that are not so easy to put in SIMD. Modern designs tend to be very SIMD-aware, such as BLAKE3[0] and Gimli[1]. [0]: https://github.com/BLAKE3-team/BLAKE3/blob/master/c/README.md#arm-neon https://github.com/BLAKE3-team/BLAKE3/blob/master/c/README.m... [1]: § 5.6 https://gimli.cr.yp.to/gimli-20170627.pdf https://gimli.cr.yp.to/gimli-20170627.pdf
- chongli 6y agoIsn’t that already handled by crypto instructions on the chip?