diff options
| author | Keith Randall <khr@golang.org> | 2016-05-28 21:15:24 -0700 |
|---|---|---|
| committer | Keith Randall <khr@golang.org> | 2016-05-29 20:36:21 +0000 |
| commit | 17396575135ba71472ab8a5b82f31af50d8bf312 (patch) | |
| tree | 7f7433cbd6b65c4ee967737929cbc34e5331236d /src/net/timeout_test.go | |
| parent | 79f7ccf2c3931745aeb97c5c985b6ac7b44befb4 (diff) | |
| download | go-17396575135ba71472ab8a5b82f31af50d8bf312.tar.xz | |
cmd/compile: shift tests, fix triple-shift rules
Add a bunch of tests for shifts.
Fix triple-shift rules to always take constant shifts as 64 bits.
(Earlier rules always promote shift amounts to 64 bits.)
Add overflow checks.
Increases generic rule coverage to 91%
Change-Id: I6b42d368d19d36ac482dbb8e0d4f67e30ad7145d
Reviewed-on: https://go-review.googlesource.com/23555
Reviewed-by: Todd Neal <todd@tneal.org>
Diffstat (limited to 'src/net/timeout_test.go')
0 files changed, 0 insertions, 0 deletions
