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

Issue 6203091: code review 6203091: cmd/6g: peephole fixes/additions (Closed)

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

Description

cmd/6g: peephole fixes/additions * Shift/rotate by constant doesn't have to stop subprop. (also in 8g) * Remove redundant MOVLQZX instructions. * An attempt at issuing loads early. Good for 0.5% on a good day, might not be worth keeping. Need to understand more about whether the x86 looks ahead to what loads might be coming up.

Patch Set 1 #

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

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+185 lines, -26 lines) Patch
M src/cmd/6g/peep.c View 1 6 chunks +172 lines, -15 lines 0 comments Download
M src/cmd/8g/peep.c View 1 2 2 chunks +13 lines, -11 lines 0 comments Download

Messages

Total messages: 2
rsc
Hello ken2 (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-18 00:26:44 UTC) #1
rsc
12 years, 9 months ago (2012-05-24 16:11:38 UTC) #2
*** Submitted as http://code.google.com/p/go/source/detail?r=3b320ce16e39 ***

cmd/6g: peephole fixes/additions

* Shift/rotate by constant doesn't have to stop subprop. (also in 8g)
* Remove redundant MOVLQZX instructions.
* An attempt at issuing loads early.
  Good for 0.5% on a good day, might not be worth keeping.
  Need to understand more about whether the x86
  looks ahead to what loads might be coming up.

R=ken2, ken
CC=golang-dev
http://codereview.appspot.com/6203091
Sign in to reply to this message.

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