harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "George Timoshenko (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-2633) [drlvm][jit][opt] simplifyTauDivOfMul does nothing in Simplifier
Date Tue, 12 Dec 2006 11:28:25 GMT
[drlvm][jit][opt] simplifyTauDivOfMul does nothing in Simplifier

                 Key: HARMONY-2633
                 URL: http://issues.apache.org/jira/browse/HARMONY-2633
             Project: Harmony
          Issue Type: Improvement
            Reporter: George Timoshenko
            Priority: Minor

Simplifier::simplifyTauDivOfMul(Modifier mod,
                                Type* type,
                                Opnd* src1,
                                Opnd* src2,
                                Opnd* tauCheckedOpnds) {
    // if (c1%c2==0), then
    //   (c1 * s1) / c2 -> (c1/c2) * s1
    return NULL;


IMO the idea from comment should be implemented. (c1 and c2 must be integers, and c1*s1 must
not produce an overflow)

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message