Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
math, crypto, hash: Write power64 versions of assembler routines where applicable #8913
We want to write power64 versions of the assembler routines in the math package, in several crypto packages, and in the hash/crc32 package. For each of those packages where we have .s files, we should either write a power64 version or determine that the Go version is as good as we can write in assembler.
This is specifically: crypto/md5/md5block_power64x.s crypto/rc4/rc4_power64x.s crypto/sha1/sha1block_power64x.s crypto/sha256/sha256block_power64x.s crypto/sha512/sha512block_power64x.s hash/crc32/crc32_power64x.s math/abs_power64x.s math/asin_power64x.s math/atan2_power64x.s math/atan_power64x.s math/dim_power64x.s math/exp2_power64x.s math/exp_power64x.s math/expm1_power64x.s math/floor_power64x.s math/frexp_power64x.s math/hypot_power64x.s math/ldexp_power64x.s math/log10_power64x.s math/log1p_power64x.s math/low_power64x.s math/mod_power64x.s math/modf_power64x.s math/remainder_power64x.s math/sin_power64x.s math/sincos_power64x.s math/sqrt_power64x.s math/tan_power64x.s math/big/arith_power64x.s reflect/asm_power64x.s runtime/memclr_power64x.s runtime/memmove_power64x.s Several of the math files are likely to be trivial, simply jumps to the Go code.