Re:Show HN: Accelerating SHA256 by 100x in Golang on ARM
by pcwalton on Wednesday July 27, 2016 @10:51PM
(#12178037)
> How would a compiler know that you can use a SHA2 instruction?
Intrinsics.
There's basically zero benefit to coding this stuff in assembly. Many standard libraries prefer intrinsics, because there's basically zero benefit to writing this stuff in assembly and many drawbacks from an optimization perspective.
Intrinsics.
There's basically zero benefit to coding this stuff in assembly. Many standard libraries prefer intrinsics, because there's basically zero benefit to writing this stuff in assembly and many drawbacks from an optimization perspective.