Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(919)

Issue 6249071: code review 6249071: cmd/gc: recognize u<<1 op u>>31 as a rotate when op is ... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 10 months ago by nigeltao
Modified:
12 years, 9 months ago
Reviewers:
CC:
rsc, golang-dev
Visibility:
Public.

Description

cmd/gc: recognize u<<1 op u>>31 as a rotate when op is ^, not just |.

Patch Set 1 #

Patch Set 2 : diff -r d34e1877830c https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r d34e1877830c https://go.googlecode.com/hg/ #

Patch Set 4 : diff -r 9acc060bf892 https://go.googlecode.com/hg/ #

Total comments: 3

Patch Set 5 : diff -r 9acc060bf892 https://go.googlecode.com/hg/ #

Patch Set 6 : diff -r 5538444d6f32 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -43 lines) Patch
M src/cmd/gc/walk.c View 1 2 3 3 chunks +3 lines, -3 lines 0 comments Download
M test/rotate.go View 1 2 3 4 3 chunks +61 lines, -40 lines 0 comments Download

Messages

Total messages: 9
nigeltao
Hello rsc@golang.org (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
12 years, 10 months ago (2012-05-31 13:17:31 UTC) #1
rsc
The change is fine but it needs to be tested. cd $GOROOT/test; ./run (but not ...
12 years, 10 months ago (2012-05-31 13:42:51 UTC) #2
nigeltao
On 31 May 2012 23:42, Russ Cox <rsc@golang.org> wrote: > The change is fine but ...
12 years, 10 months ago (2012-05-31 22:19:28 UTC) #3
rsc
On Thu, May 31, 2012 at 6:19 PM, Nigel Tao <nigeltao@golang.org> wrote: > On my ...
12 years, 10 months ago (2012-06-02 17:15:19 UTC) #4
nigeltao
PTAL.
12 years, 10 months ago (2012-06-03 12:01:03 UTC) #5
rsc
http://codereview.appspot.com/6249071/diff/9001/test/rotate.go File test/rotate.go (right): http://codereview.appspot.com/6249071/diff/9001/test/rotate.go#newcode125 test/rotate.go:125: uop, iop, opc := uor, ior, '|' Nice. http://codereview.appspot.com/6249071/diff/9001/test/rotate.go#newcode126 ...
12 years, 10 months ago (2012-06-03 14:35:07 UTC) #6
nigeltao
http://codereview.appspot.com/6249071/diff/9001/test/rotate.go File test/rotate.go (right): http://codereview.appspot.com/6249071/diff/9001/test/rotate.go#newcode126 test/rotate.go:126: if rand.Intn(2) == 0 { On 2012/06/03 14:35:08, rsc ...
12 years, 10 months ago (2012-06-03 23:15:26 UTC) #7
rsc
LGTM
12 years, 10 months ago (2012-06-03 23:54:49 UTC) #8
nigeltao
12 years, 9 months ago (2012-06-04 10:53:53 UTC) #9
*** Submitted as http://code.google.com/p/go/source/detail?r=d7bde549faa9 ***

cmd/gc: recognize u<<1 op u>>31 as a rotate when op is ^, not just |.

R=rsc
CC=golang-dev
http://codereview.appspot.com/6249071
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b