golang/go
View on GitHubcmd/compile: intrinsify math/bits.RotateLeft{32,64} on all architectures
Open
#31,265 opened on Apr 4, 2019
NeedsFixPerformancecompiler/runtimehelp wanted
Repository metrics
- Stars
- (133,883 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
https://github.com/golang/go/issues/21536#issuecomment-480003894 reminded me about this. Currently the intrinsic is only implemented on amd64, arm64, ppc64 and s390x. We should enable it everywhere. It will need tests in tests/codegen. Could be a good beginner compiler issue to tackle.
CLs so far: