Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 17438 invoked from network); 16 Apr 2008 10:32:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Apr 2008 10:32:31 -0000 Received: (qmail 56435 invoked by uid 500); 16 Apr 2008 10:32:31 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 56330 invoked by uid 500); 16 Apr 2008 10:32:30 -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 56280 invoked by uid 99); 16 Apr 2008 10:32:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Apr 2008 03:32:30 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Apr 2008 10:31:45 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B74C0234C0D3 for ; Wed, 16 Apr 2008 03:29:21 -0700 (PDT) Message-ID: <663112340.1208341761749.JavaMail.jira@brutus> Date: Wed, 16 Apr 2008 03:29:21 -0700 (PDT) From: "George Timoshenko (JIRA)" To: commits@harmony.apache.org Subject: [jira] Updated: (HARMONY-5743) [drlvm][jit][opt] In-Reply-To: <540958573.1208341522275.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-5743?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] George Timoshenko updated HARMONY-5743: --------------------------------------- Attachment: autocompress_proto_21_Jan.patch I partially complete the task. here is my result. Unfortunately I was too ambitious and made some refactoring (mostly in IRBuilder) together with the implementation of the improvement. This patch needs to be splitted into 2 parts: - refactoring - new feature itself based on the refactoring results The bad thing: it may happen I will have no ability to complete this work. Feel free to have fun with it. > [drlvm][jit][opt] > ----------------- > > Key: HARMONY-5743 > URL: https://issues.apache.org/jira/browse/HARMONY-5743 > Project: Harmony > Issue Type: Improvement > Components: DRLVM > Environment: EM64T > Reporter: George Timoshenko > Priority: Minor > Attachments: autocompress_proto_21_Jan.patch > > > In compressed mode OPT always uncompress a ref just after it is loaded from memory (from field). > So each reference is uncompressed in the managed code. > It is a convention in HLO. There are not dedicated instructions for compression/uncompression. > IRBuilder generates LdField and its dst operand has type - UncompressedRef. > It probably has sense not to uncompress ref if it is loaded just for NULL comparison or storing to another field. > To do this we need to generate Compress/Uncompress instructions explicitly during byte code translation. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.