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

Issue 172133003: Harmony: optimize Math.clz32. (Closed)

Created:
6 years, 10 months ago by Yang
Modified:
6 years, 10 months ago
CC:
v8-dev
Visibility:
Public.

Description

Harmony: optimize Math.clz32. R=svenpanne@chromium.org BUG=v8:2938 LOG=N Committed: https://code.google.com/p/v8/source/detail?r=19487

Patch Set 1 #

Total comments: 1

Patch Set 2 : fixed a64 #

Patch Set 3 : reupload #

Total comments: 3

Patch Set 4 : fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+215 lines, -25 lines) Patch
M src/a64/lithium-a64.h View 2 chunks +8 lines, -0 lines 0 comments Download
M src/a64/lithium-a64.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M src/a64/lithium-codegen-a64.cc View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download
M src/arm/lithium-arm.h View 3 chunks +14 lines, -0 lines 0 comments Download
M src/arm/lithium-arm.cc View 2 chunks +8 lines, -0 lines 0 comments Download
M src/arm/lithium-codegen-arm.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M src/bootstrapper.cc View 3 chunks +11 lines, -1 line 0 comments Download
M src/hydrogen.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M src/hydrogen-instructions.h View 2 chunks +3 lines, -0 lines 0 comments Download
M src/hydrogen-instructions.cc View 4 chunks +9 lines, -0 lines 0 comments Download
M src/ia32/assembler-ia32.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/ia32/assembler-ia32.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M src/ia32/disasm-ia32.cc View 3 chunks +20 lines, -15 lines 0 comments Download
M src/ia32/lithium-codegen-ia32.cc View 1 2 3 1 chunk +15 lines, -0 lines 0 comments Download
M src/ia32/lithium-ia32.h View 3 chunks +14 lines, -0 lines 0 comments Download
M src/ia32/lithium-ia32.cc View 2 chunks +8 lines, -0 lines 0 comments Download
M src/objects.h View 1 chunk +3 lines, -1 line 0 comments Download
M src/x64/assembler-x64.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/x64/assembler-x64.cc View 1 chunk +9 lines, -0 lines 0 comments Download
M src/x64/disasm-x64.cc View 2 chunks +8 lines, -0 lines 0 comments Download
M src/x64/lithium-codegen-x64.cc View 1 2 3 1 chunk +14 lines, -0 lines 0 comments Download
M src/x64/lithium-x64.h View 3 chunks +14 lines, -0 lines 0 comments Download
M src/x64/lithium-x64.cc View 2 chunks +8 lines, -0 lines 0 comments Download
M test/mjsunit/harmony/math-clz32.js View 2 chunks +16 lines, -8 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Yang
6 years, 10 months ago (2014-02-19 12:09:18 UTC) #1
m.m.capewell
https://codereview.chromium.org/172133003/diff/1/src/a64/lithium-codegen-a64.cc File src/a64/lithium-codegen-a64.cc (right): https://codereview.chromium.org/172133003/diff/1/src/a64/lithium-codegen-a64.cc#newcode3857 src/a64/lithium-codegen-a64.cc:3857: Register result = ToRegister(instr->result()); The input and result should ...
6 years, 10 months ago (2014-02-19 12:24:25 UTC) #2
Yang
On 2014/02/19 12:24:25, m.m.capewell wrote: > https://codereview.chromium.org/172133003/diff/1/src/a64/lithium-codegen-a64.cc > File src/a64/lithium-codegen-a64.cc (right): > > https://codereview.chromium.org/172133003/diff/1/src/a64/lithium-codegen-a64.cc#newcode3857 > ...
6 years, 10 months ago (2014-02-19 12:28:02 UTC) #3
Sven Panne
https://codereview.chromium.org/172133003/diff/110001/src/a64/lithium-codegen-a64.cc File src/a64/lithium-codegen-a64.cc (right): https://codereview.chromium.org/172133003/diff/110001/src/a64/lithium-codegen-a64.cc#newcode3858 src/a64/lithium-codegen-a64.cc:3858: __ Clz(result, input); Hmmm, can we mix W and ...
6 years, 10 months ago (2014-02-19 13:24:08 UTC) #4
Yang
On 2014/02/19 13:24:08, Sven Panne wrote: > https://codereview.chromium.org/172133003/diff/110001/src/a64/lithium-codegen-a64.cc > File src/a64/lithium-codegen-a64.cc (right): > > https://codereview.chromium.org/172133003/diff/110001/src/a64/lithium-codegen-a64.cc#newcode3858 ...
6 years, 10 months ago (2014-02-19 13:39:47 UTC) #5
Sven Panne
lgtm
6 years, 10 months ago (2014-02-19 13:42:02 UTC) #6
m.m.capewell
On 2014/02/19 13:24:08, Sven Panne wrote: > https://codereview.chromium.org/172133003/diff/110001/src/a64/lithium-codegen-a64.cc#newcode3858 > src/a64/lithium-codegen-a64.cc:3858: __ Clz(result, input); > Hmmm, ...
6 years, 10 months ago (2014-02-19 13:45:30 UTC) #7
Yang
6 years, 10 months ago (2014-02-19 13:52:08 UTC) #8
Message was sent while issue was closed.
Committed patchset #4 manually as r19487 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698