1
0
mirror of https://github.com/golang/go synced 2024-10-04 13:21:22 -06:00
go/src
Keith Randall 9369f22b84 cmd/compile: testing harness for checking generated assembly
Add a test which compiles a function and checks the
generated assembly to make sure certain patterns are present.
This test allows us to do white box tests of the compiler
to make sure optimizations don't regress.

Added a few simple tests for now.  More to come.

Change-Id: I4ab5ce5d95b9e04e7d0d9328ffae47b8d1f95e74
Reviewed-on: https://go-review.googlesource.com/23403
Reviewed-by: David Chase <drchase@google.com>
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2016-05-26 23:07:01 +00:00
..
archive archive/zip: use HTTPS for documentation link 2016-05-14 17:27:44 +00:00
bufio all: use SeekStart, SeekCurrent, SeekEnd 2016-05-06 00:10:41 +00:00
builtin
bytes all: use SeekStart, SeekCurrent, SeekEnd 2016-05-06 00:10:41 +00:00
cmd cmd/compile: testing harness for checking generated assembly 2016-05-26 23:07:01 +00:00
compress compress/flate: simplify using subtests and sub-benchmarks 2016-05-25 17:44:22 +00:00
container all: fixed a handful of typos 2016-05-24 21:18:03 +00:00
context context: make DeadlineExceeded have a Timeout method 2016-05-19 23:09:16 +00:00
crypto crypto/sha1: fix AVX2 variant on AMD64 2016-05-26 11:34:32 +00:00
database/sql database/sql: clone data for named []byte types 2016-04-30 18:40:36 +00:00
debug debug/gosym: parse remote packages correctly 2016-05-17 22:16:38 +00:00
encoding encoding/json: improve Decode example 2016-05-26 22:40:14 +00:00
errors
expvar expvar: slightly expand documentation for Var's String method 2016-05-19 04:20:47 +00:00
flag
fmt fmt: remove extra space in too few arguments example 2016-05-12 20:45:48 +00:00
go cmd/compile, go/types: omit needless word in error message 2016-05-24 15:07:16 +00:00
hash hash/crc64: Use slicing by 8. 2016-05-18 14:38:04 +00:00
html html/template: mention risks of the CSS, HTML, JS, etc. types 2016-05-18 18:31:18 +00:00
image image/gif: accept an out-of-bounds transparent color index. 2016-04-29 00:01:22 +00:00
index/suffixarray
internal net, net/http: don't trace DNS dials 2016-05-14 00:14:25 +00:00
io io: remove SizedReaderAt 2016-05-24 15:37:27 +00:00
log
math math/big: using Run for some more benchmarks 2016-05-26 19:14:13 +00:00
mime mime/multipart: sort header keys to ensure reproducible output 2016-05-16 22:55:16 +00:00
net net/http: add missing HTTP status codes 2016-05-25 23:27:21 +00:00
os os/exec: remove Cmd.RunContext and Cmd.WaitContext, add CommandContext 2016-05-20 21:19:32 +00:00
path
reflect runtime: tell race detector about reflectOffs.lock 2016-05-26 14:43:27 +00:00
regexp regexp/syntax: clarify that \Z means Perl's \Z 2016-05-18 04:43:32 +00:00
runtime build: enable framepointer mode by default 2016-05-26 19:02:00 +00:00
sort
strconv
strings strings: fix Contains on amd64 2016-05-15 05:21:03 +00:00
sync cmd/vet: check sync.* types' copying 2016-05-06 16:43:51 +00:00
syscall syscall: fix unshare test on mips 2016-05-20 05:52:35 +00:00
testing testing: added package doc for sub(tests/benchmarks) 2016-05-25 17:37:28 +00:00
text text/scanner: better error message if no error handler is installed 2016-05-25 15:44:28 +00:00
time time: run genzabbrs.go with new source data 2016-05-23 18:14:21 +00:00
unicode unicode: improve SimpleFold performance for ascii 2016-04-26 21:59:50 +00:00
unsafe
vendor/golang.org/x/net net/http: update bundled http2 2016-05-19 03:51:11 +00:00
all.bash
all.bat
all.rc
androidtest.bash all: make copyright headers consistent with one space after period 2016-05-02 13:43:18 +00:00
bootstrap.bash all: make copyright headers consistent with one space after period 2016-05-02 13:43:18 +00:00
buildall.bash
clean.bash
clean.bat
clean.rc
cmp.bash cmd/compile: switch to compact export format by default 2016-04-27 16:59:55 +00:00
iostest.bash
make.bash build: unset GOBIN during build 2016-05-19 18:40:53 +00:00
make.bat build: unset GOBIN during build 2016-05-19 18:40:53 +00:00
Make.dist
make.rc build: unset GOBIN during build 2016-05-19 18:40:53 +00:00
naclmake.bash
nacltest.bash all: make copyright headers consistent with one space after period 2016-05-02 13:43:18 +00:00
race.bash
race.bat
run.bash build: unset GOBIN during build 2016-05-19 18:40:53 +00:00
run.bat build: unset GOBIN during build 2016-05-19 18:40:53 +00:00
run.rc build: unset GOBIN during build 2016-05-19 18:40:53 +00:00