Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Issue 6324011: Implement x64 lithium instructions DoGlobalObject and DoSub (Closed)

Created:
9 years, 11 months ago by Rico
Modified:
9 years, 6 months ago
Reviewers:
William Hesse
CC:
v8-dev
Visibility:
Public.

Description

Implement x64 lithium instructions DoGlobalObject and DoSub Committed: http://code.google.com/p/v8/source/detail?r=6456

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -6 lines) Patch
M src/x64/lithium-codegen-x64.cc View 2 chunks +18 lines, -2 lines 1 comment Download
M src/x64/lithium-x64.cc View 2 chunks +18 lines, -4 lines 1 comment Download

Messages

Total messages: 2 (0 generated)
Rico
9 years, 11 months ago (2011-01-25 10:04:55 UTC) #1
William Hesse
9 years, 11 months ago (2011-01-25 11:12:20 UTC) #2
LGTM with comments addressed.

http://codereview.chromium.org/6324011/diff/1/src/x64/lithium-codegen-x64.cc
File src/x64/lithium-codegen-x64.cc (right):

http://codereview.chromium.org/6324011/diff/1/src/x64/lithium-codegen-x64.cc#...
src/x64/lithium-codegen-x64.cc:1595: Register result =
ToRegister(instr->result());
GlobalObjectOperand()

http://codereview.chromium.org/6324011/diff/1/src/x64/lithium-x64.cc
File src/x64/lithium-x64.cc (right):

http://codereview.chromium.org/6324011/diff/1/src/x64/lithium-x64.cc#newcode1189
src/x64/lithium-x64.cc:1189: LInstruction* result = DefineSameAsFirst(sub);
Subtraction is not commutative.  I don't think you can scramble the operands, to
put the least constant on the left.

Powered by Google App Engine
This is Rietveld 408576698