4 ms·
Oh, interesting. I was inferring that from the Go code out there that uses machine code directly: https://github.com/minio/blake2b-simd/blob/master/compressAvx2
by pcwalton 10y ago
Oh, interesting. I was inferring that from the Go code out there that uses machine code directly: https://github.com/minio/blake2b-simd/blob/master/compressAvx2_amd64.s#L181 https://github.com/minio/blake2b-simd/blob/master/compressAv...
I guess it must be a recent addition.
- burntsushi 10y agoI think it was recent, yeah. I also recall there being problems with their assembler not being able to parse various SIMD instructions in the past. I also recall seeing code like in your link too. Hmm, Go 1.7 introduced support[1] for various AVX instructions (plus at least one SSE 4.2 instruction), some of which are used in blake2b-simd. I can't wait to get SIMD on Rust stable. It's going to be exciting. [1] - https://golang.org/doc/go1.7#tools https://golang.org/doc/go1.7#tools