go/src
Alexandru Moșoi afafab3b97 cmd/compile: simplify shifts when the counter fits 6 bits.
In f the extra & 63 is redundant because SHRQ already
looks at the bottom 6 bits only. This is a trick on AMD64
to get rid of CMPQ/SBBQ/ANDQ if one knows that the shift
counter is small.

func f(x uint64, s uint) uint64 {
        return x >> (s & 63)
}

Change-Id: I4861c902168dabec9a6a14a85750246dde94fc08
Reviewed-on: https://go-review.googlesource.com/21073
Reviewed-by: Keith Randall <khr@golang.org>
Run-TryBot: Alexandru Moșoi <alexandru@mosoi.ro>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2016-03-24 20:06:34 +00:00
..
archive all: delete dead test code 2016-03-21 07:10:08 +00:00
bufio all: delete dead test code 2016-03-21 07:10:08 +00:00
builtin
bytes all: delete dead test code 2016-03-21 07:10:08 +00:00
cmd cmd/compile: simplify shifts when the counter fits 6 bits. 2016-03-24 20:06:34 +00:00
compress compress/flate: rework matching algorithm 2016-03-23 11:33:29 +00:00
container all: single space after period. 2016-03-02 00:13:47 +00:00
crypto all: delete dead test code 2016-03-21 07:10:08 +00:00
database/sql database/sql/driver: remove string exclusion 2016-03-23 02:42:31 +00:00
debug debug/dwarf: add Reader.SeekPC and Data.Ranges 2016-03-22 14:06:09 +00:00
encoding encoding/json, internal/testenv: use Fatalf 2016-03-22 05:58:27 +00:00
errors all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
expvar all: single space after period. 2016-03-02 00:13:47 +00:00
flag all: single space after period. 2016-03-02 00:13:47 +00:00
fmt fmt: cleanup and optimize doPrintf for simple formats 2016-03-23 06:31:12 +00:00
go net/http, internal/testenv: find go binary in PATH 2016-03-22 02:02:23 +00:00
hash hash/crc32: use slicing by 8 for Castagnoli and smaller sizes 2016-03-08 16:46:24 +00:00
html all: single space after period. 2016-03-02 00:13:47 +00:00
image image/png: ignore trailing IDAT chunks 2016-03-24 10:57:01 +00:00
index/suffixarray
internal encoding/json, internal/testenv: use Fatalf 2016-03-22 05:58:27 +00:00
io all: single space after period. 2016-03-02 00:13:47 +00:00
log all: single space after period. 2016-03-02 00:13:47 +00:00
math math/big: much simplified and faster Float rounding 2016-03-22 17:07:34 +00:00
mime mime/multipart: don't call Read on io.Reader after an error is seen 2016-03-07 19:50:16 +00:00
net net/http: redirect if the URL path is a dir & doesn't end in a slash 2016-03-24 02:30:19 +00:00
os os: skip TestStatStdin on Android 2016-03-24 19:07:11 +00:00
path path: fix up bizarre test 2016-03-16 03:59:03 +00:00
reflect cmd/link, reflect: remove some method type data 2016-03-23 17:00:43 +00:00
regexp all: delete dead test code 2016-03-21 07:10:08 +00:00
runtime runtime: improve last ditch signal forwarding for Unix libraries 2016-03-24 19:34:17 +00:00
sort all: single space after period. 2016-03-02 00:13:47 +00:00
strconv all: single space after period. 2016-03-02 00:13:47 +00:00
strings all: single space after period. 2016-03-02 00:13:47 +00:00
sync sync: don't assume b.N > 0 2016-03-18 16:37:39 +00:00
syscall syscall: correct spelling/typos in comment 2016-03-22 20:35:53 +00:00
testing testing: expose subtest and subbenchmark functionality 2016-03-22 14:56:15 +00:00
text all: single space after period. 2016-03-02 00:13:47 +00:00
time all: single space after period. 2016-03-02 00:13:47 +00:00
unicode all: single space after period. 2016-03-02 00:13:47 +00:00
unsafe all: single space after period. 2016-03-02 00:13:47 +00:00
vendor
Make.dist
all.bash
all.bat
all.rc
androidtest.bash
bootstrap.bash
buildall.bash build: use go tool dist list 2016-02-26 03:58:58 +00:00
clean.bash
clean.bat
clean.rc
iostest.bash
make.bash cmd/dist: redo flag-passing for bootstrap 2016-03-18 19:00:03 +00:00
make.bat cmd/go, go/build: add support for Fortran 2016-02-24 15:06:38 +00:00
make.rc
nacltest.bash
race.bash
race.bat
run.bash
run.bat
run.rc