Bug 108840

Summary: For ARMv7s use integer divide instruction for divide and modulo when possible
Product: WebKit Reporter: Michael Saboff <msaboff>
Component: JavaScriptCoreAssignee: Michael Saboff <msaboff>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Other   
OS: All   
Attachments:
Description Flags
Patch none

Michael Saboff
Reported 2013-02-04 10:59:49 PST
ARMv7S processors have the integer division instructions sdiv and udiv (signed and unsigned divide). When we speculate that we have integer operands and need an integer result, we should take advantage of these instructions to compute divide (/) and modulo (%) results.
Attachments
Patch (10.38 KB, patch)
2013-02-04 11:09 PST, Michael Saboff
no flags
Michael Saboff
Comment 1 2013-02-04 11:09:09 PST
Created attachment 186419 [details] Patch This patch has already been reviewed.
Michael Saboff
Comment 2 2013-02-04 11:21:21 PST
Note You need to log in before you can comment on or make changes to this bug.