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

Issue 12544025: ARM: Tweak ECMAToInt32VFP to address regression on Nexus 4 (Closed)

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

Description

ARM: Tweak ECMAToInt32VFP to address regression on Nexus 4 After r13912, we saw a small regression in Kraken crypto-aes and crypto-ccm on Nexus 4. This patch, proposed by Rodolph Perfetta, addresses that without regressing other platforms. Instead of looking at the exponent of double_input and trying to figure out if the conversion will overflow, eagerly do the VCVT and return early unless it saturated. BUG=none Committed: https://code.google.com/p/v8/source/detail?r=13948

Patch Set 1 #

Total comments: 6

Patch Set 2 : Address Rodolph's comments #

Patch Set 3 : . #

Total comments: 4

Patch Set 4 : Address nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -12 lines) Patch
M src/arm/macro-assembler-arm.cc View 1 2 3 2 chunks +9 lines, -12 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
hans
Please take a look.
7 years, 9 months ago (2013-03-14 10:35:40 UTC) #1
Rodolph Perfetta
https://codereview.chromium.org/12544025/diff/1/src/arm/macro-assembler-arm.cc File src/arm/macro-assembler-arm.cc (right): https://codereview.chromium.org/12544025/diff/1/src/arm/macro-assembler-arm.cc#newcode2538 src/arm/macro-assembler-arm.cc:2538: sub(scratch, result, Operand(1)); Maybe a comment saying we are ...
7 years, 9 months ago (2013-03-14 11:57:58 UTC) #2
hans
Thanks for the review! New version uploaded. https://codereview.chromium.org/12544025/diff/1/src/arm/macro-assembler-arm.cc File src/arm/macro-assembler-arm.cc (right): https://codereview.chromium.org/12544025/diff/1/src/arm/macro-assembler-arm.cc#newcode2538 src/arm/macro-assembler-arm.cc:2538: sub(scratch, result, ...
7 years, 9 months ago (2013-03-14 12:12:05 UTC) #3
Rodolph Perfetta
LGTM with nits addressed. https://codereview.chromium.org/12544025/diff/7001/src/arm/macro-assembler-arm.cc File src/arm/macro-assembler-arm.cc (right): https://codereview.chromium.org/12544025/diff/7001/src/arm/macro-assembler-arm.cc#newcode2539 src/arm/macro-assembler-arm.cc:2539: // If result is not ...
7 years, 9 months ago (2013-03-14 13:39:58 UTC) #4
hans
Thanks! Uploaded new patch with nits addressed. Rodolph or Ulan, would you like to land ...
7 years, 9 months ago (2013-03-14 14:28:40 UTC) #5
ulan
LGTM, I will land it for you.
7 years, 9 months ago (2013-03-14 14:35:27 UTC) #6
ulan
7 years, 9 months ago (2013-03-14 15:28:29 UTC) #7
Message was sent while issue was closed.
Committed patchset #4 manually as r13948 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698