harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Fursov" <mike.fur...@gmail.com>
Subject Re: [drlvm][jit][opt] new feature: switchable autocompress mode
Date Thu, 17 Apr 2008 05:40:31 GMT
Thanks, George,
I'm going to review and commit this feature.

On Wed, Apr 16, 2008 at 5:40 PM, George Timoshenko <
george.timoshenko@gmail.com> wrote:

> Colleagues,
>
> I created a new JIRA issue with an improvement proposal for Jitrino.OPT.
> https://issues.apache.org/jira/browse/HARMONY-5743
>
> 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.
>
> I almost completed this work.
> Unfortunately it may happen I will have no ability to complete this work.
> I will be happy to see somebody completed the task.
>
>
> Thank you,
> George.
>
>


-- 
Mikhail Fursov

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message