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

Issue 2187463005: X87: [turbofan] Change Float64Max/Float64Min to JavaScript semantics. (Closed)

Created:
4 years, 4 months ago by zhengxing.li
Modified:
4 years, 4 months ago
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

X87: [turbofan] Change Float64Max/Float64Min to JavaScript semantics. port ba092fb09abb6ba3b7154444510c3b4cbdcf65f5 (r37971) original commit message: So far we don't have a useful way to inline Math.max or Math.min in TurboFan optimized code. This adds new operators NumberMax and NumberMin and changes the Float64Max/Float64Min operators to have JavaScript semantics instead of the C++ semantics that it had previously. This also removes support for recognizing the tenary case in the CommonOperatorReducer, since that doesn't seem to have any positive impact (and actually doesn't show up in regular JavaScript, where people use Math.max/Math.min instead). BUG= Drive-by-fix: Also nuke the unused Float32Max/Float32Min operators. Committed: https://crrev.com/691e6d39e7110d01dfbc4010296e5871a2374965 Cr-Commit-Position: refs/heads/master@{#38119}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -160 lines) Patch
M src/compiler/x87/code-generator-x87.cc View 6 chunks +52 lines, -138 lines 0 comments Download
M src/compiler/x87/instruction-codes-x87.h View 1 chunk +0 lines, -2 lines 0 comments Download
M src/compiler/x87/instruction-selector-x87.cc View 3 chunks +0 lines, -20 lines 0 comments Download

Messages

Total messages: 8 (3 generated)
zhengxing.li
PTAL, thanks!
4 years, 4 months ago (2016-07-28 07:55:47 UTC) #2
Weiliang
lgtm
4 years, 4 months ago (2016-07-28 08:13:52 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2187463005/1
4 years, 4 months ago (2016-07-28 08:33:15 UTC) #5
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 4 months ago (2016-07-28 09:00:16 UTC) #6
commit-bot: I haz the power
4 years, 4 months ago (2016-07-28 09:03:07 UTC) #8
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/691e6d39e7110d01dfbc4010296e5871a2374965
Cr-Commit-Position: refs/heads/master@{#38119}

Powered by Google App Engine
This is Rietveld 408576698