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

Issue 6720017: Add inline non-transcendental cache version of log to lithium. (Closed)

Created:
9 years, 8 months ago by Rico
Modified:
9 years, 6 months ago
CC:
v8-dev
Visibility:
Public.

Description

Add inline non-transcendental cache version of log to lithium. In addition, this change allows one additional level of inlining. Committed: http://code.google.com/p/v8/source/detail?r=7500

Patch Set 1 #

Total comments: 6

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Total comments: 3

Patch Set 7 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -12 lines) Patch
M src/compiler.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M src/hydrogen.cc View 1 2 3 4 1 chunk +9 lines, -4 lines 0 comments Download
M src/ia32/lithium-codegen-ia32.cc View 1 2 3 4 5 6 1 chunk +26 lines, -4 lines 0 comments Download
M src/ia32/lithium-ia32.cc View 1 2 3 4 5 6 1 chunk +7 lines, -1 line 0 comments Download
M src/runtime.cc View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download
M src/top.cc View 1 2 3 4 5 3 chunks +5 lines, -2 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Rico
9 years, 8 months ago (2011-04-04 12:58:02 UTC) #1
fschneider
http://codereview.chromium.org/6720017/diff/1/src/ia32/lithium-codegen-ia32.cc File src/ia32/lithium-codegen-ia32.cc (right): http://codereview.chromium.org/6720017/diff/1/src/ia32/lithium-codegen-ia32.cc#newcode2780 src/ia32/lithium-codegen-ia32.cc:2780: XMMRegister input_reg = ToDoubleRegister(instr->InputAt(0)); Drive-by: for optimizal performance make ...
9 years, 8 months ago (2011-04-04 13:05:54 UTC) #2
Kevin Millikin (Chromium)
Florian's right, you should update the Hydrogen->Lithium translation. I'd like to see that before giving ...
9 years, 8 months ago (2011-04-04 13:17:10 UTC) #3
Rico
Bill, could you take a look at fpu code? http://codereview.chromium.org/6720017/diff/1/src/hydrogen.cc File src/hydrogen.cc (right): http://codereview.chromium.org/6720017/diff/1/src/hydrogen.cc#newcode3922 src/hydrogen.cc:3922: ...
9 years, 8 months ago (2011-04-04 13:26:04 UTC) #4
Lasse Reichstein
http://codereview.chromium.org/6720017/diff/1/src/ia32/lithium-codegen-ia32.cc File src/ia32/lithium-codegen-ia32.cc (right): http://codereview.chromium.org/6720017/diff/1/src/ia32/lithium-codegen-ia32.cc#newcode2792 src/ia32/lithium-codegen-ia32.cc:2792: __ movdbl(input_reg, Operand(esp, 0)); You can load -Infinity into ...
9 years, 8 months ago (2011-04-04 13:38:22 UTC) #5
Søren Thygesen Gjesse
On 2011/04/04 13:38:22, Lasse Reichstein wrote: > http://codereview.chromium.org/6720017/diff/1/src/ia32/lithium-codegen-ia32.cc > File src/ia32/lithium-codegen-ia32.cc (right): > > http://codereview.chromium.org/6720017/diff/1/src/ia32/lithium-codegen-ia32.cc#newcode2792 ...
9 years, 8 months ago (2011-04-05 06:39:07 UTC) #6
Rico
Comments addressed, added Compiler::kMaxInliningLevels and change the code to not mark as call for log. ...
9 years, 8 months ago (2011-04-05 07:12:45 UTC) #7
fschneider
LGTM with one comment. http://codereview.chromium.org/6720017/diff/1008/src/ia32/lithium-ia32.cc File src/ia32/lithium-ia32.cc (right): http://codereview.chromium.org/6720017/diff/1008/src/ia32/lithium-ia32.cc#newcode1230 src/ia32/lithium-ia32.cc:1230: if (op == kMathLog) { ...
9 years, 8 months ago (2011-04-05 07:31:05 UTC) #8
Kevin Millikin (Chromium)
http://codereview.chromium.org/6720017/diff/1008/src/ia32/lithium-codegen-ia32.cc File src/ia32/lithium-codegen-ia32.cc (right): http://codereview.chromium.org/6720017/diff/1008/src/ia32/lithium-codegen-ia32.cc#newcode2779 src/ia32/lithium-codegen-ia32.cc:2779: ASSERT(ToDoubleRegister(instr->result()).is(xmm1)); This doesn't put the result in xmm1, does ...
9 years, 8 months ago (2011-04-05 07:33:19 UTC) #9
fschneider
http://codereview.chromium.org/6720017/diff/1008/src/ia32/lithium-codegen-ia32.cc File src/ia32/lithium-codegen-ia32.cc (right): http://codereview.chromium.org/6720017/diff/1008/src/ia32/lithium-codegen-ia32.cc#newcode2779 src/ia32/lithium-codegen-ia32.cc:2779: ASSERT(ToDoubleRegister(instr->result()).is(xmm1)); On 2011/04/05 07:33:20, Kevin Millikin wrote: > This ...
9 years, 8 months ago (2011-04-05 07:36:09 UTC) #10
Rico
Did Florians solution, and do not require the input or result to be in a ...
9 years, 8 months ago (2011-04-05 07:54:54 UTC) #11
fschneider
9 years, 8 months ago (2011-04-05 08:53:40 UTC) #12
LGTM.

On 2011/04/05 07:54:54, Rico wrote:
> Did Florians solution, and do not require the input or result to be in a
> specific register.

Powered by Google App Engine
This is Rietveld 408576698