Bug 70089

Summary: Speculation failures in ValueToInt32 are causing a 2x slow-down in Kraken/stanford-crypto-pbkdf2
Product: WebKit Reporter: Filip Pizlo <fpizlo>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: barraclough, fpizlo, ggaren, oliver, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
the patch
none
the patch
barraclough: review-
fixed patch barraclough: review+

Description Filip Pizlo 2011-10-13 22:56:39 PDT
Patch forthcoming.
Comment 1 Filip Pizlo 2011-10-13 23:01:15 PDT
Created attachment 110961 [details]
the patch
Comment 2 Filip Pizlo 2011-10-13 23:02:35 PDT
Created attachment 110962 [details]
the patch
Comment 3 WebKit Review Bot 2011-10-13 23:02:56 PDT
Attachment 110961 [details] did not pass style-queue:

Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/JavaScriptCore/ChangeLog', u'Source..." exit_code: 1

Source/JavaScriptCore/dfg/DFGOperations.h:64:  DFG_OPERATION is incorrectly named. Don't use underscores in your identifier names.  [readability/naming] [4]
Total errors found: 1 in 5 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 4 WebKit Review Bot 2011-10-13 23:04:53 PDT
Attachment 110962 [details] did not pass style-queue:

Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/JavaScriptCore/ChangeLog', u'Source..." exit_code: 1

Source/JavaScriptCore/dfg/DFGOperations.h:64:  DFG_OPERATION is incorrectly named. Don't use underscores in your identifier names.  [readability/naming] [4]
Total errors found: 1 in 4 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 5 Gavin Barraclough 2011-10-13 23:05:11 PDT
Comment on attachment 110962 [details]
the patch

actually I think i see a problem
Comment 6 Gavin Barraclough 2011-10-13 23:07:49 PDT
I think we need to ensure the result of the call is zero extended to fill the register.
Comment 7 Filip Pizlo 2011-10-13 23:10:53 PDT
Created attachment 110968 [details]
fixed patch
Comment 8 WebKit Review Bot 2011-10-13 23:15:02 PDT
Attachment 110968 [details] did not pass style-queue:

Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/JavaScriptCore/ChangeLog', u'Source..." exit_code: 1

Source/JavaScriptCore/dfg/DFGOperations.h:64:  DFG_OPERATION is incorrectly named. Don't use underscores in your identifier names.  [readability/naming] [4]
Total errors found: 1 in 4 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 9 Filip Pizlo 2011-10-14 00:07:16 PDT
Landed in r97446.