3 ms·
What did the Go team change to do this? Compiler optimizations or code changes? SIMD instructions?
by Jabbles 14y ago
What did the Go team change to do this? Compiler optimizations or code changes? SIMD instructions?
- jgrahamc 14y agoAMD64 and 386 assembly implementations. My blog post links to the actual changes.
- drivebyacct2 14y agoOh, I assumed some of it was from the GC/scheduler work, or mostly just the asm impls?
- dchest 14y agoWhile not related to these ASM implementations, the code generator for Go code has also been improved: e.g. it now can generate rotatation instructions, which helps SHA-2 and some other crypto primitives.
- kzrdude 14y agoYup that's absolutely essential for most block ciphers and similar crypto (i.e. hash functions).