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

Issue 16082008: Increase sanity of integer division handling on ARM (Closed)

Created:
7 years, 6 months ago by Jakob Kummerow
Modified:
7 years, 6 months ago
Reviewers:
ulan, Rodolph Perfetta
CC:
v8-dev
Visibility:
Public.

Description

Increase sanity of integer division handling on ARM - In the INT32 BinaryOpStub, fix type feedback collection for DIV, bringing it in line with other platforms. - In Lithium codegen, emit proper inlined code, don't call the stub. - Drive-by fix: assert appropriate CpuFeaturesScope for SDIV. R=ulan@chromium.org Committed: http://code.google.com/p/v8/source/detail?r=15057

Patch Set 1 #

Total comments: 6

Patch Set 2 : addressed Rodolph's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -127 lines) Patch
M src/arm/assembler-arm.cc View 1 chunk +1 line, -0 lines 0 comments Download
M src/arm/code-stubs-arm.cc View 1 3 chunks +15 lines, -30 lines 0 comments Download
M src/arm/lithium-arm.h View 1 chunk +4 lines, -2 lines 0 comments Download
M src/arm/lithium-arm.cc View 1 chunk +6 lines, -10 lines 0 comments Download
M src/arm/lithium-codegen-arm.h View 1 chunk +0 lines, -4 lines 0 comments Download
M src/arm/lithium-codegen-arm.cc View 3 chunks +25 lines, -80 lines 0 comments Download
M src/hydrogen-instructions.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M src/ia32/assembler-ia32.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
Jakob Kummerow
Please take a look.
7 years, 6 months ago (2013-06-10 10:23:41 UTC) #1
ulan
LGTM https://codereview.chromium.org/16082008/diff/1/src/arm/lithium-codegen-arm.cc File src/arm/lithium-codegen-arm.cc (right): https://codereview.chromium.org/16082008/diff/1/src/arm/lithium-codegen-arm.cc#newcode1492 src/arm/lithium-codegen-arm.cc:1492: // Use vright as scratch register. I think ...
7 years, 6 months ago (2013-06-10 11:18:32 UTC) #2
Jakob Kummerow
Thanks for the review, Ulan. Rodolph, any comments? https://codereview.chromium.org/16082008/diff/1/src/arm/lithium-codegen-arm.cc File src/arm/lithium-codegen-arm.cc (right): https://codereview.chromium.org/16082008/diff/1/src/arm/lithium-codegen-arm.cc#newcode1492 src/arm/lithium-codegen-arm.cc:1492: // ...
7 years, 6 months ago (2013-06-10 12:20:27 UTC) #3
Rodolph Perfetta
https://codereview.chromium.org/16082008/diff/1/src/arm/code-stubs-arm.cc File src/arm/code-stubs-arm.cc (right): https://codereview.chromium.org/16082008/diff/1/src/arm/code-stubs-arm.cc#newcode2219 src/arm/code-stubs-arm.cc:2219: __ add(scratch2, scratch1, Operand(0x40000000), SetCC); a possible improvement: __ ...
7 years, 6 months ago (2013-06-10 18:04:07 UTC) #4
Jakob Kummerow
Thanks, Rodolph. https://codereview.chromium.org/16082008/diff/1/src/arm/code-stubs-arm.cc File src/arm/code-stubs-arm.cc (right): https://codereview.chromium.org/16082008/diff/1/src/arm/code-stubs-arm.cc#newcode2219 src/arm/code-stubs-arm.cc:2219: __ add(scratch2, scratch1, Operand(0x40000000), SetCC); On 2013/06/10 ...
7 years, 6 months ago (2013-06-11 09:33:13 UTC) #5
Jakob Kummerow
7 years, 6 months ago (2013-06-11 10:47:54 UTC) #6
Message was sent while issue was closed.
Committed patchset #2 manually as r15057 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698