]> Cypherpunks repositories - gostls13.git/commit
test/codegen: test ppc64 TrailingZeros, OnesCount codegen
authorAlberto Donizetti <alb.donizetti@gmail.com>
Fri, 12 Oct 2018 18:56:12 +0000 (20:56 +0200)
committerAlberto Donizetti <alb.donizetti@gmail.com>
Mon, 15 Oct 2018 16:53:03 +0000 (16:53 +0000)
commit7c96d87eda45c93bf7218b79bc8ba85a3a21b066
tree6f78f7f5801eb9e7124e0bf49538ea012160c4bb
parenta55f3ee46dda090131afba3018856e19bd0f426d
test/codegen: test ppc64 TrailingZeros, OnesCount codegen

This change adds codegen tests for the intrinsification on ppc64 of
the OnesCount{64,32,16,8}, and TrailingZeros{64,32,16,8} math/bits
functions.

Change-Id: Id3364921fbd18316850e15c8c71330c906187fdb
Reviewed-on: https://go-review.googlesource.com/c/141897
Reviewed-by: Lynn Boger <laboger@linux.vnet.ibm.com>
test/codegen/mathbits.go