cmd/gc: faster code, mainly for rotate
* Eliminate bounds check on known small shifts. * Rewrite x<<s | x>>(32-s) as a rotate (constant s). * More aggressive (but still minimal) range analysis. R=ken, dave, iant CC=golang-dev https://golang.org/cl/6209077
Showing
test/bounds.go
0 → 100644
test/rotate.go
0 → 100644
Please
register
or
sign in
to comment