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

Description Michael Saboff 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.
Comment 1 Michael Saboff 2013-02-04 11:09:09 PST
Created attachment 186419 [details]
Patch

This patch has already been reviewed.
Comment 2 Michael Saboff 2013-02-04 11:21:21 PST
Committed r141788: <http://trac.webkit.org/changeset/141788>