golang/go

cmd/compile: intrinsify math/bits.RotateLeft{32,64} on all architectures

Open

#31,265 opened on Apr 4, 2019

View on GitHub
 (9 comments) (3 reactions) (0 assignees)Go (19,008 forks)batch import
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:

Contributor guide