From commits-return-47423-apmail-harmony-commits-archive=harmony.apache.org@harmony.apache.org Mon Nov 26 08:56:13 2007 Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 50673 invoked from network); 26 Nov 2007 08:56:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Nov 2007 08:56:13 -0000 Received: (qmail 51187 invoked by uid 500); 26 Nov 2007 08:56:01 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 51162 invoked by uid 500); 26 Nov 2007 08:56:01 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 51153 invoked by uid 99); 26 Nov 2007 08:56:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Nov 2007 00:56:01 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Nov 2007 08:56:04 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 1296C714204 for ; Mon, 26 Nov 2007 00:55:43 -0800 (PST) Message-ID: <5937288.1196067343072.JavaMail.jira@brutus> Date: Mon, 26 Nov 2007 00:55:43 -0800 (PST) From: "Aleksey Shipilev (JIRA)" To: commits@harmony.apache.org Subject: [jira] Commented: (HARMONY-5090) [drlvm][jit][opt]operator strength reduction In-Reply-To: <5459257.1194502250557.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HARMONY-5090?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12545364 ] Aleksey Shipilev commented on HARMONY-5090: ------------------------------------------- Maksim, you have a glitch in the patch, resulting in Action 'osr' not found I have changed -XX:jit.SD2_OPT.path.osr_path = gcm,osr,dce,uce,simplify,dce,uce to -XX:jit.SD2_OPT.path.osr_path = gcm,osr4,dce,uce,simplify,dce,uce To make things work. > [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 > Priority: Minor > Attachments: 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.