Bug 81648 - op_mod fails on many interesting corner cases
Summary: op_mod fails on many interesting corner cases
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-20 04:11 PDT by Filip Pizlo
Modified: 2012-03-20 18:30 PDT (History)
1 user (show)

See Also:


Attachments
work in progress (111.06 KB, patch)
2012-03-20 04:15 PDT, Filip Pizlo
webkit-ews: commit-queue-
Details | Formatted Diff | Diff
the patch (120.97 KB, patch)
2012-03-20 17:03 PDT, Filip Pizlo
oliver: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Filip Pizlo 2012-03-20 04:11:27 PDT
Negative numerator doesn't work right. Negative zero result doesn't work right. -2^31/-1 results in SIGFPE.
Comment 1 Filip Pizlo 2012-03-20 04:15:48 PDT
Created attachment 132793 [details]
work in progress

Still need to make sure that x86-32 and ARMv7 work.
Comment 2 WebKit Review Bot 2012-03-20 04:18:22 PDT
Attachment 132793 [details] did not pass style-queue:

Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'LayoutTests/ChangeLog', u'LayoutTests/fast..." exit_code: 1
Source/JavaScriptCore/dfg/DFGOperations.h:82:  DFG_OPERATION is incorrectly named. Don't use underscores in your identifier names.  [readability/naming] [4]
Source/JavaScriptCore/dfg/DFGSpeculativeJIT.cpp:2498:  Missing space after ,  [whitespace/comma] [3]
Total errors found: 2 in 11 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Early Warning System Bot 2012-03-20 06:44:08 PDT
Comment on attachment 132793 [details]
work in progress

Attachment 132793 [details] did not pass qt-wk2-ews (qt):
Output: http://queues.webkit.org/results/11995254
Comment 4 Early Warning System Bot 2012-03-20 06:44:47 PDT
Comment on attachment 132793 [details]
work in progress

Attachment 132793 [details] did not pass qt-ews (qt):
Output: http://queues.webkit.org/results/12001250
Comment 5 Filip Pizlo 2012-03-20 17:03:20 PDT
Created attachment 132932 [details]
the patch
Comment 6 WebKit Review Bot 2012-03-20 17:10:05 PDT
Attachment 132932 [details] did not pass style-queue:

Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'LayoutTests/ChangeLog', u'LayoutTests/fast..." exit_code: 1
Source/JavaScriptCore/dfg/DFGOperations.h:82:  DFG_OPERATION is incorrectly named. Don't use underscores in your identifier names.  [readability/naming] [4]
Source/JavaScriptCore/dfg/DFGSpeculativeJIT.cpp:2498:  Missing space after ,  [whitespace/comma] [3]
Total errors found: 2 in 12 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 7 Oliver Hunt 2012-03-20 17:44:28 PDT
Comment on attachment 132932 [details]
the patch

fix theminor style issue before landerating
Comment 8 Filip Pizlo 2012-03-20 18:30:27 PDT
Landed in http://trac.webkit.org/changeset/111481