[Webkit-unassigned] [Bug 68597] New: DFG JIT should support integer division

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 22 00:39:48 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=68597

           Summary: DFG JIT should support integer division
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: fpizlo at apple.com


It is entirely sensible to write the following piece of code:

a = b / 2;

And expect to be able to use 'a' as an integer, if b is always a multiple of 2 and never larger than what an integer can hold.  It appears that some Kraken code does this.  Currently, the DFG always assumes that all division produces doubles, which results in some bad performance in some programs.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list