For division it's safe to always do it using the FPU, and for modulo it's best to first try integer mod and then revert to FPU mod. This strategy will outperform the current one, which always results in slow C calls and register spilling.
Created attachment 99229 [details] the patch This fixes the regression on string-fasta. It also results in an overall 1% speed-up on sunspider.
Attachment 99229 [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/DFGNonSpeculativeJIT.cpp:683: One line control clauses should not use braces. [whitespace/braces] [4] Total errors found: 1 in 2 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 99230 [details] the patch (fix style)
Comment on attachment 99230 [details] the patch (fix style) Clearing flags on attachment: 99230 Committed r90268: <http://trac.webkit.org/changeset/90268>
All reviewed patches have been landed. Closing bug.