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

Issue 258793002: ARM64: Generate optimized code for Math.floor and Math.round with double outputs. (Closed)

Created:
6 years, 8 months ago by Alexandre Rames
Modified:
6 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

ARM64: Generate optimized code for Math.floor and Math.round with double outputs. R=jkummerow@chromium.org, ulan@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=21091

Patch Set 1 #

Total comments: 5

Patch Set 2 : More testing, improved round-d code #

Patch Set 3 : Use both observed and required representations. #

Patch Set 4 : Rework type inference #

Total comments: 10

Patch Set 5 : Change C-style comments to C++-style comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+195 lines, -27 lines) Patch
M src/arm64/constants-arm64.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M src/arm64/lithium-arm64.h View 1 2 3 4 3 chunks +31 lines, -8 lines 0 comments Download
M src/arm64/lithium-arm64.cc View 1 2 3 2 chunks +16 lines, -12 lines 0 comments Download
M src/arm64/lithium-codegen-arm64.cc View 1 2 3 3 chunks +41 lines, -6 lines 0 comments Download
M src/hydrogen-instructions.h View 1 2 3 4 chunks +17 lines, -1 line 0 comments Download
M src/hydrogen-instructions.cc View 1 2 3 2 chunks +43 lines, -0 lines 0 comments Download
M test/mjsunit/math-floor-part1.js View 1 1 chunk +9 lines, -0 lines 0 comments Download
M test/mjsunit/math-floor-part2.js View 1 1 chunk +9 lines, -0 lines 0 comments Download
M test/mjsunit/math-floor-part3.js View 1 1 chunk +9 lines, -0 lines 0 comments Download
M test/mjsunit/math-floor-part4.js View 1 1 chunk +9 lines, -0 lines 0 comments Download
M test/mjsunit/math-round.js View 1 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
Alexandre Rames
6 years, 8 months ago (2014-04-25 12:48:20 UTC) #1
ulan
The change looks good. Adding Jakob for hydrogen parts. Do existing tests exercise the new ...
6 years, 8 months ago (2014-04-25 13:40:54 UTC) #2
Jakob Kummerow
Only looked at hydrogen changes. https://codereview.chromium.org/258793002/diff/1/src/hydrogen-instructions.cc File src/hydrogen-instructions.cc (right): https://codereview.chromium.org/258793002/diff/1/src/hydrogen-instructions.cc#newcode4211 src/hydrogen-instructions.cc:4211: if (!rep_required) { I'm ...
6 years, 8 months ago (2014-04-25 14:12:03 UTC) #3
Alexandre Rames
I will update the patch to address your comments, and update the round and floor ...
6 years, 8 months ago (2014-04-25 16:05:26 UTC) #4
Alexandre Rames
Just uploaded an updated patch. I have extended the existing testing to also test the ...
6 years, 7 months ago (2014-04-28 12:38:03 UTC) #5
Jakob Kummerow
https://codereview.chromium.org/258793002/diff/1/src/hydrogen-instructions.cc File src/hydrogen-instructions.cc (right): https://codereview.chromium.org/258793002/diff/1/src/hydrogen-instructions.cc#newcode4211 src/hydrogen-instructions.cc:4211: if (!rep_required) { On 2014/04/25 16:05:26, Alexandre Rames wrote: ...
6 years, 7 months ago (2014-04-28 13:53:31 UTC) #6
Alexandre Rames
On 2014/04/28 13:53:31, Jakob wrote: > Any reason you're not looking at both required and ...
6 years, 7 months ago (2014-04-28 15:47:57 UTC) #7
Jakob Kummerow
On 2014/04/28 15:47:57, Alexandre Rames wrote: > I had misunderstood your first comment. Updated the ...
6 years, 7 months ago (2014-04-28 17:10:36 UTC) #8
Alexandre Rames
I was confused. I understood the double representation part, but somehow just messed up the ...
6 years, 7 months ago (2014-04-28 17:23:32 UTC) #9
Alexandre Rames
Reworked the type inference.
6 years, 7 months ago (2014-04-29 15:02:47 UTC) #10
Jakob Kummerow
Hydrogen changes LGTM.
6 years, 7 months ago (2014-04-30 08:58:24 UTC) #11
ulan
https://codereview.chromium.org/258793002/diff/50001/src/arm64/lithium-arm64.h File src/arm64/lithium-arm64.h (right): https://codereview.chromium.org/258793002/diff/50001/src/arm64/lithium-arm64.h#newcode1912 src/arm64/lithium-arm64.h:1912: /* Math.floor with a double result. */ Please use ...
6 years, 7 months ago (2014-04-30 09:18:41 UTC) #12
Alexandre Rames
https://codereview.chromium.org/258793002/diff/50001/src/arm64/lithium-arm64.h File src/arm64/lithium-arm64.h (right): https://codereview.chromium.org/258793002/diff/50001/src/arm64/lithium-arm64.h#newcode1912 src/arm64/lithium-arm64.h:1912: /* Math.floor with a double result. */ On 2014/04/30 ...
6 years, 7 months ago (2014-04-30 09:31:06 UTC) #13
ulan
> If the input is greater or equal to zero, the 'lt' (less than) condition ...
6 years, 7 months ago (2014-04-30 09:47:11 UTC) #14
Alexandre Rames
6 years, 7 months ago (2014-04-30 13:38:15 UTC) #15
Message was sent while issue was closed.
Committed patchset #5 manually as r21091 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698