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

Issue 17069006: Fix MathFloorOfDiv optimization on non-SDIV ARM (Closed)

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

Description

Fix MathFloorOfDiv optimization on non-SDIV ARM R=verwaest@chromium.org Committed: http://code.google.com/p/v8/source/detail?r=15174

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -0 lines) Patch
M src/hydrogen-instructions.cc View 1 chunk +3 lines, -0 lines 1 comment Download

Messages

Total messages: 6 (0 generated)
Jakob Kummerow
PTAL.
7 years, 6 months ago (2013-06-14 18:14:38 UTC) #1
Toon Verwaest
lgtm
7 years, 6 months ago (2013-06-14 18:15:32 UTC) #2
Jakob Kummerow
Committed patchset #1 manually as r15174 (presubmit successful).
7 years, 6 months ago (2013-06-14 18:15:54 UTC) #3
Sven Panne
https://codereview.chromium.org/17069006/diff/1/src/hydrogen-instructions.cc File src/hydrogen-instructions.cc (right): https://codereview.chromium.org/17069006/diff/1/src/hydrogen-instructions.cc#newcode1553 src/hydrogen-instructions.cc:1553: #ifdef V8_TARGET_ARCH_ARM o_O I think we're doing something fundamentally ...
7 years, 6 months ago (2013-06-14 20:05:24 UTC) #4
Jakob Kummerow
Yes, of course that fix is ugly. The real fix would be to beef up ...
7 years, 6 months ago (2013-06-14 20:20:03 UTC) #5
Sven Panne
7 years, 6 months ago (2013-06-16 13:45:35 UTC) #6
Message was sent while issue was closed.
On 2013/06/14 20:20:03, Jakob wrote:
> Yes, of course that fix is ugly.
> 
> The real fix would be to beef up code generation on ARM for MathFloorOfDiv to
> support arbitrary divisors even when no SDIV is available. That's certainly
> possible using VFP instructions (just like we do for plain div-i), but it's
not
> something I'll implement on a Friday night at 8pm.

Ah, OK, a tiny hint or a TODO in the code would have been nice, nevertheless.
The "why" is much more important than the "what"... (OK, I'm repeating myself.
:-)

Powered by Google App Engine
This is Rietveld 408576698