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

Issue 52173003: Do not remove HAdd with zero if the other operand is a double. (Closed)

Created:
7 years, 1 month ago by Yang
Modified:
7 years, 1 month ago
Reviewers:
Sven Panne, Erik Corry
CC:
v8-dev
Visibility:
Public.

Description

Do not remove HAdd with zero if the other operand is a double. The other operand might be minus zero, and -0 + 0 = +0 R=svenpanne@chromium.org BUG= Committed: https://code.google.com/p/v8/source/detail?r=17432

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -13 lines) Patch
M src/hydrogen-instructions.cc View 1 chunk +9 lines, -2 lines 0 comments Download
A + test/mjsunit/regress/regress-add-minus-zero.js View 1 chunk +6 lines, -11 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Yang
7 years, 1 month ago (2013-10-30 10:03:27 UTC) #1
Sven Panne
lgtm
7 years, 1 month ago (2013-10-30 10:07:02 UTC) #2
Erik Corry
According to Wikipedia http://en.wikipedia.org/wiki/Signed_zero 0 + -0 = 0 So it's only one way around ...
7 years, 1 month ago (2013-10-30 10:13:28 UTC) #3
Erik Corry
Ah, I see that's exactly the problem! Don't mind me, my long compilation is done ...
7 years, 1 month ago (2013-10-30 10:15:56 UTC) #4
Yang
7 years, 1 month ago (2013-10-30 10:23:00 UTC) #5
Message was sent while issue was closed.
Committed patchset #1 manually as r17432.

Powered by Google App Engine
This is Rietveld 408576698