You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Maksim Ananjev (JIRA)" <ji...@apache.org> on 2007/12/01 11:25:43 UTC

[jira] Commented: (HARMONY-5090) [drlvm][jit][opt]operator strength reduction

    [ https://issues.apache.org/jira/browse/HARMONY-5090?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12547408 ] 

Maksim Ananjev commented on HARMONY-5090:
-----------------------------------------

Folks,

Thanks for your reports and fixes. That's an obvious hint for me to be much more extensive in inspecting and testing my patches.

> [drlvm][jit][opt]operator strength reduction
> --------------------------------------------
>
>                 Key: HARMONY-5090
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5090
>             Project: Harmony
>          Issue Type: New Feature
>          Components: DRLVM
>         Environment: Hope it works everywhere
>            Reporter: Maksim Ananjev
>            Assignee: Egor Pasko
>            Priority: Minor
>         Attachments: HARMONY-5090.patch, HARMONY-5090.patch, HARMONY-5090.patch, HARMONY-5090.patch
>
>
> Operator Strength Reduction is an optimization that reformulates costly operations in terms of less expensive ones.
> The simplest possible example is the following:
> before:
> int sum = 0;
> for(int i=0; i<10;i++){
> int temp = i * 10;
> sum+=temp
> }
> after:
> int sum = 0;
> for(int j=0; j<100; j+=10){
> sum+=j
> } 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.