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

Issue 39543003: Refactor loading a pointer and loading an integer64 into a register instructions for X64 (Closed)

Created:
7 years, 2 months ago by haitao.feng
Modified:
7 years, 1 month ago
Reviewers:
danno
CC:
v8-dev
Visibility:
Public.

Description

Refactor loading a pointer and loading an integer64 into a register instructions for X64 R=danno@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=17540

Patch Set 1 #

Total comments: 4

Patch Set 2 : Addressed danno's comment #

Patch Set 3 : Make movq(Register, int64_t) an assembler instruction for 64-bit integer only" #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -83 lines) Patch
M src/x64/assembler-x64.h View 1 chunk +3 lines, -3 lines 0 comments Download
M src/x64/assembler-x64.cc View 1 2 2 chunks +18 lines, -32 lines 2 comments Download
M src/x64/code-stubs-x64.cc View 4 chunks +4 lines, -6 lines 0 comments Download
M src/x64/codegen-x64.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M src/x64/full-codegen-x64.cc View 1 2 1 chunk +1 line, -3 lines 0 comments Download
M src/x64/lithium-codegen-x64.cc View 1 2 6 chunks +6 lines, -7 lines 0 comments Download
M src/x64/lithium-gap-resolver-x64.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/x64/macro-assembler-x64.h View 1 chunk +1 line, -2 lines 0 comments Download
M src/x64/macro-assembler-x64.cc View 11 chunks +16 lines, -20 lines 0 comments Download
M src/x64/stub-cache-x64.cc View 1 2 3 chunks +3 lines, -4 lines 0 comments Download
M test/cctest/test-macro-assembler-x64.cc View 3 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
haitao.feng
This is a follow-up CL of https://codereview.chromium.org/26410004/. Next I plan to refactor a pure 64-bit ...
7 years, 2 months ago (2013-10-24 07:28:11 UTC) #1
haitao.feng
Some comments inlined. I could continue refactoring in this CL if you prefer. https://codereview.chromium.org/39543003/diff/1/src/x64/assembler-x64.cc File ...
7 years, 2 months ago (2013-10-24 07:32:48 UTC) #2
danno
https://codereview.chromium.org/39543003/diff/1/src/x64/lithium-codegen-x64.cc File src/x64/lithium-codegen-x64.cc (right): https://codereview.chromium.org/39543003/diff/1/src/x64/lithium-codegen-x64.cc#newcode160 src/x64/lithium-codegen-x64.cc:160: __ movq(kScratchRegister, reinterpret_cast<Address>(kSlotsZapValue), On 2013/10/24 07:32:48, haitao.feng wrote: > ...
7 years, 2 months ago (2013-10-24 11:13:17 UTC) #3
haitao.feng
> Why can't this just stay int64_t and remove the ode? The slot zap value ...
7 years, 2 months ago (2013-10-24 11:52:33 UTC) #4
haitao.feng
Danno, you are right. Sorry for the confusion. https://codereview.chromium.org/39543003/diff/1/src/x64/lithium-codegen-x64.cc File src/x64/lithium-codegen-x64.cc (right): https://codereview.chromium.org/39543003/diff/1/src/x64/lithium-codegen-x64.cc#newcode160 src/x64/lithium-codegen-x64.cc:160: __ ...
7 years, 2 months ago (2013-10-24 13:17:03 UTC) #5
haitao.feng
https://codereview.chromium.org/39543003/diff/170001/src/x64/assembler-x64.cc File src/x64/assembler-x64.cc (right): https://codereview.chromium.org/39543003/diff/170001/src/x64/assembler-x64.cc#newcode1470 src/x64/assembler-x64.cc:1470: void Assembler::movq(Register dst, int64_t value) { Use MacroAssembler::Set instruction ...
7 years, 1 month ago (2013-10-25 06:19:10 UTC) #6
danno
lgtm
7 years, 1 month ago (2013-11-04 16:44:16 UTC) #7
haitao.feng
Thanks, I will commit it when the tree is open again.
7 years, 1 month ago (2013-11-05 01:46:37 UTC) #8
haitao.feng
7 years, 1 month ago (2013-11-07 08:14:52 UTC) #9
Message was sent while issue was closed.
Committed patchset #3 manually as r17540 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698