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

Issue 10977051: Support for SDIV and MLS ARM instructions, and implement DoModI using them (Closed)

Created:
8 years, 2 months ago by subratokde
Modified:
8 years, 2 months ago
Reviewers:
danno
CC:
v8-dev
Visibility:
Public.

Description

Support for SDIV and MLS ARM instructions, and implement DoModI using them. Also added support for the runtime detection to check if hardware supports SDIV/UDIV Other new opportunities to exploit SDIV/UDIV will be done in separate issues. Committed: https://code.google.com/p/v8/source/detail?r=12646

Patch Set 1 #

Total comments: 5

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+206 lines, -96 lines) Patch
M src/arm/assembler-arm.h View 1 2 chunks +7 lines, -0 lines 0 comments Download
M src/arm/assembler-arm.cc View 1 2 3 3 chunks +24 lines, -0 lines 0 comments Download
M src/arm/disasm-arm.cc View 1 2 chunks +24 lines, -5 lines 0 comments Download
M src/arm/lithium-codegen-arm.cc View 1 1 chunk +109 lines, -86 lines 0 comments Download
M src/arm/simulator-arm.cc View 1 2 chunks +36 lines, -5 lines 0 comments Download
M src/flag-definitions.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M src/platform-linux.cc View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M src/v8globals.h View 1 2 1 chunk +1 line, -0 lines 1 comment Download

Messages

Total messages: 3 (0 generated)
danno
In general, SDIV support seems like a reasonable thing to add, but it needs to ...
8 years, 2 months ago (2012-09-27 15:28:09 UTC) #1
danno
LGTM, I'll land this for you http://codereview.chromium.org/10977051/diff/17002/src/v8globals.h File src/v8globals.h (right): http://codereview.chromium.org/10977051/diff/17002/src/v8globals.h#newcode441 src/v8globals.h:441: SUDIV = 5, ...
8 years, 2 months ago (2012-10-01 21:16:17 UTC) #2
acleung
8 years, 2 months ago (2012-10-08 22:16:03 UTC) #3
On 2012/10/01 21:16:17, danno wrote:
> LGTM, I'll land this for you
> 
> http://codereview.chromium.org/10977051/diff/17002/src/v8globals.h
> File src/v8globals.h (right):
> 
> http://codereview.chromium.org/10977051/diff/17002/src/v8globals.h#newcode441
> src/v8globals.h:441: SUDIV = 5,   // ARM
> I changed this to 4 for the commit, I think keeping the sequence for a
platform
> is more consistent than uniqueness over all platforms, which is already not
> guaranteed.

Has someone tried this in Android Chrome? I ran the V8 benchmark and it hangs on
Crypto.

Powered by Google App Engine
This is Rietveld 408576698