]> Cypherpunks repositories - gostls13.git/commit
hash/crc32: add SSE4.2 support
authorAdam Langley <agl@golang.org>
Tue, 12 Jul 2011 13:29:24 +0000 (09:29 -0400)
committerAdam Langley <agl@golang.org>
Tue, 12 Jul 2011 13:29:24 +0000 (09:29 -0400)
commit9f4c288c168b38aa4110b227cead4a53e9e86075
treeb9fb7f13f76775cb972434ca4f41c3a3892ad471
parent0f8678a74730c69ca19f2589ae45d9d2eb3d302e
hash/crc32: add SSE4.2 support

Using the CRC32 instruction speeds up the Castagnoli computation by
about 20x on a modern Intel CPU.

R=rsc
CC=golang-dev
https://golang.org/cl/4650072
src/cmd/6a/lex.c
src/cmd/6l/6.out.h
src/cmd/6l/l.h
src/cmd/6l/optab.c
src/cmd/6l/span.c
src/pkg/hash/crc32/Makefile
src/pkg/hash/crc32/crc32.go
src/pkg/hash/crc32/crc32_amd64.go [new file with mode: 0644]
src/pkg/hash/crc32/crc32_amd64.s [new file with mode: 0644]
src/pkg/hash/crc32/crc32_generic.go [new file with mode: 0644]
src/pkg/hash/crc32/crc32_test.go