aboutsummaryrefslogtreecommitdiff
path: root/test/rotate.go
AgeCommit message (Collapse)Author
2016-05-02all: make copyright headers consistent with one space after periodEmmanuel Odeke
Follows suit with https://go-review.googlesource.com/#/c/20111. Generated by running $ grep -R 'Go Authors. All' * | cut -d":" -f1 | while read F;do perl -pi -e 's/Go Authors. All/Go Authors. All/g' $F;done The code in cmd/internal/unvendor wasn't changed. Fixes #15213 Change-Id: I4f235cee0a62ec435f9e8540a1ec08ae03b1a75f Reviewed-on: https://go-review.googlesource.com/21819 Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
2013-01-11test: add rotate.go and fixedbugs/bug313Rémy Oudompheng
Update #4139. R=golang-dev, iant CC=golang-dev https://golang.org/cl/7094047
2012-09-23test: expand run.go's errorcheck, make clear which bugs runRuss Cox
Today, if run.go doesn't understand a test header line it just ignores the test, making it too easy to write or edit tests that are not actually being run. - expand errorcheck to accept flags, so that bounds.go and escape*.go can run. - create a whitelist of skippable tests in run.go; skipping others is an error. - mark all skipped tests at top of file. Update #4139. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6549054
2012-06-04test: avoid interface conversion in rotate.goRémy Oudompheng
It is not necessary for the test to be effective and uses a lot of resources in the compiler. Memory usage is halved and compilation around 8x faster. R=golang-dev, r, rsc, r CC=golang-dev https://golang.org/cl/6290044
2012-06-04cmd/gc: recognize u<<1 op u>>31 as a rotate when op is ^, not just |.Nigel Tao
R=rsc CC=golang-dev https://golang.org/cl/6249071
2012-05-24cmd/gc: faster code, mainly for rotateRuss Cox
* 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