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

Issue 11316105: ARM: Use division instructions in lithium and stubs (Closed)

Created:
8 years, 1 month ago by m.m.capewell
Modified:
7 years, 10 months ago
Reviewers:
danno
CC:
v8-dev
Visibility:
Public.

Description

ARM: Use division instructions in lithium and stubs BUG=none TEST=Added to test/mjsunit/math-floor-of-div.js, math-floor-of-div-nosudiv.js

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Total comments: 3

Patch Set 3 : #

Patch Set 4 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+432 lines, -51 lines) Patch
M src/arm/code-stubs-arm.cc View 1 2 3 1 chunk +93 lines, -14 lines 1 comment Download
M src/arm/lithium-arm.cc View 1 2 3 1 chunk +25 lines, -14 lines 1 comment Download
M src/arm/lithium-codegen-arm.cc View 1 2 3 1 chunk +60 lines, -17 lines 0 comments Download
M test/mjsunit/math-floor-of-div.js View 1 2 3 3 chunks +20 lines, -6 lines 0 comments Download
A test/mjsunit/math-floor-of-div-nosudiv.js View 1 2 3 1 chunk +230 lines, -0 lines 0 comments Download
M test/mjsunit/mjsunit.status View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
m.m.capewell
Use division instructions on CPUs that support them. Although it doesn't show performance increase in ...
8 years, 1 month ago (2012-11-20 16:04:01 UTC) #1
danno
lgtm if you address the comments. https://codereview.chromium.org/11316105/diff/1/src/arm/lithium-arm.cc File src/arm/lithium-arm.cc (right): https://codereview.chromium.org/11316105/diff/1/src/arm/lithium-arm.cc#newcode1236 src/arm/lithium-arm.cc:1236: return constant_val->CopyToRepresentation(Representation::Integer32(), Is ...
8 years, 1 month ago (2012-11-22 11:37:59 UTC) #2
m.m.capewell
Addressed review comments.
8 years, 1 month ago (2012-11-23 11:03:16 UTC) #3
danno
Sorry to re-open this up, but I have some questions/comments after being able to think ...
8 years ago (2012-11-27 22:17:20 UTC) #4
m.m.capewell
Addressed review comments and added tests.
8 years ago (2012-12-06 14:50:45 UTC) #5
baptiste.afsa
On 2012/12/06 14:50:45, m.m.capewell wrote: > Addressed review comments and added tests. This one misses ...
8 years ago (2012-12-06 15:28:31 UTC) #6
m.m.capewell
Added previously missing additional test file.
8 years ago (2012-12-06 17:57:37 UTC) #7
danno
8 years ago (2012-12-20 16:25:38 UTC) #8
Although slight, I do see the improvement in Kraken crypto. Landing with fixed
nits.

https://codereview.chromium.org/11316105/diff/15001/src/arm/code-stubs-arm.cc
File src/arm/code-stubs-arm.cc (right):

https://codereview.chromium.org/11316105/diff/15001/src/arm/code-stubs-arm.cc...
src/arm/code-stubs-arm.cc:2444: case Token::DIV: {
nit: indentation

https://codereview.chromium.org/11316105/diff/15001/src/arm/lithium-arm.cc
File src/arm/lithium-arm.cc (right):

https://codereview.chromium.org/11316105/diff/15001/src/arm/lithium-arm.cc#ne...
src/arm/lithium-arm.cc:1272: LOperand* divisor = CpuFeatures::IsSupported(SUDIV)
? UseRegister(right)
nit: indentation. For 80+col conditional operator statements, formatting should
be of form:
<condition>
  ? <value_true>
  : <value_false>;

Powered by Google App Engine
This is Rietveld 408576698