WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
129083
DFG should have a way of carrying and preserving conditional branch weights
https://bugs.webkit.org/show_bug.cgi?id=129083
Summary
DFG should have a way of carrying and preserving conditional branch weights
Filip Pizlo
Reported
2014-02-19 21:41:00 PST
Patch forthcoming.
Attachments
the patch
(54.85 KB, patch)
2014-02-19 21:46 PST
,
Filip Pizlo
no flags
Details
Formatted Diff
Diff
the patch
(55.33 KB, patch)
2014-02-19 22:09 PST
,
Filip Pizlo
no flags
Details
Formatted Diff
Diff
the patch
(55.36 KB, patch)
2014-02-19 22:16 PST
,
Filip Pizlo
msaboff
: review+
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Filip Pizlo
Comment 1
2014-02-19 21:46:28 PST
Created
attachment 224709
[details]
the patch
WebKit Commit Bot
Comment 2
2014-02-19 21:50:02 PST
Attachment 224709
[details]
did not pass style-queue: ERROR: Source/JavaScriptCore/dfg/DFGNode.h:82: Should be indented on a separate line, with the colon or comma first on that line. [whitespace/indent] [4] ERROR: Source/JavaScriptCore/dfg/DFGNode.h:84: Should be indented on a separate line, with the colon or comma first on that line. [whitespace/indent] [4] ERROR: Source/JavaScriptCore/dfg/DFGByteCodeParser.cpp:1468: Tests for true/false, null/non-null, and zero/non-zero should all be done without equality comparisons. [readability/comparison_to_zero] [5] Total errors found: 3 in 14 files If any of these errors are false positives, please file a bug against check-webkit-style.
Filip Pizlo
Comment 3
2014-02-19 21:52:30 PST
(In reply to
comment #2
)
>
Attachment 224709
[details]
did not pass style-queue: > > > ERROR: Source/JavaScriptCore/dfg/DFGNode.h:82: Should be indented on a separate line, with the colon or comma first on that line. [whitespace/indent] [4] > ERROR: Source/JavaScriptCore/dfg/DFGNode.h:84: Should be indented on a separate line, with the colon or comma first on that line. [whitespace/indent] [4] > ERROR: Source/JavaScriptCore/dfg/DFGByteCodeParser.cpp:1468: Tests for true/false, null/non-null, and zero/non-zero should all be done without equality comparisons. [readability/comparison_to_zero] [5] > Total errors found: 3 in 14 files > > > If any of these errors are false positives, please file a bug against check-webkit-style.
Fixed.
Filip Pizlo
Comment 4
2014-02-19 22:09:19 PST
Created
attachment 224713
[details]
the patch
WebKit Commit Bot
Comment 5
2014-02-19 22:12:27 PST
Attachment 224713
[details]
did not pass style-queue: ERROR: Source/JavaScriptCore/dfg/DFGNode.h:88: Should be indented on a separate line, with the colon or comma first on that line. [whitespace/indent] [4] Total errors found: 1 in 14 files If any of these errors are false positives, please file a bug against check-webkit-style.
Filip Pizlo
Comment 6
2014-02-19 22:16:10 PST
Created
attachment 224714
[details]
the patch
Michael Saboff
Comment 7
2014-02-19 22:37:58 PST
Comment on
attachment 224714
[details]
the patch View in context:
https://bugs.webkit.org/attachment.cgi?id=224714&action=review
r=me Do all the other files have updated copyright (adding , 2014)? If not, add them.
> Source/JavaScriptCore/dfg/DFGNode.cpp:44 > + if (count == count)
Is this checking !NaN? A comment would help.
Filip Pizlo
Comment 8
2014-02-19 22:39:13 PST
(In reply to
comment #7
)
> (From update of
attachment 224714
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=224714&action=review
> > r=me > Do all the other files have updated copyright (adding , 2014)? If not, add them.
Will do!
> > > Source/JavaScriptCore/dfg/DFGNode.cpp:44 > > + if (count == count) > > Is this checking !NaN? A comment would help.
Yup, I'll add a comment. Thanks!
Filip Pizlo
Comment 9
2014-02-19 23:56:06 PST
Landed in
http://trac.webkit.org/changeset/164417
Csaba Osztrogonác
Comment 10
2014-02-20 02:48:46 PST
(In reply to
comment #9
)
> Landed in
http://trac.webkit.org/changeset/164417
It broke half of the jsc stress tests on 32 bit platforms: - GTK 32 bit:
http://build.webkit.org/builders/GTK%20Linux%2032-bit%20Release/builds/41379
- EFL ARMv7 Thumb2:
http://build.webkit.sed.hu/builders/EFL%20ARMv7%20Linux%20Release%20%28Build%29/builds/2934
Csaba Osztrogonác
Comment 11
2014-02-20 04:08:25 PST
I checked, the bug is valid on Mac too.
Csaba Osztrogonác
Comment 12
2014-02-20 05:11:42 PST
new bug report about the regression on 32 bit platforms:
https://bugs.webkit.org/show_bug.cgi?id=129100
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug