You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Aleksey Shipilev (JIRA)" <ji...@apache.org> on 2008/04/17 17:01:21 UTC

[jira] Updated: (HARMONY-5757) [drlvm][jit][opt][performance] j.l.Float.floatToRawIntBits, j.l.Float.intBitsToFloat implementation on magics

     [ https://issues.apache.org/jira/browse/HARMONY-5757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aleksey Shipilev updated HARMONY-5757:
--------------------------------------

    Attachment: vm-jit-float-magics-rc1.patch

vm-jit-float-magics-rc1.patch
 1. Extends IRManager::newCopySequence
 2. Generates magics for these two methods.

This patch gives +65% boost to Sunflow [1] benchmarks while running on Harmony:

clean Harmony (-Xem:server): 34 secs
patched Harmony (-Xem:server): 20 secs
Sun JDK 1.6.0_05 (-server): 19 secs

[1] http://sunflow.sourceforge.net/

> [drlvm][jit][opt][performance] j.l.Float.floatToRawIntBits, j.l.Float.intBitsToFloat implementation on magics
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-5757
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5757
>             Project: Harmony
>          Issue Type: Improvement
>          Components: DRLVM
>            Reporter: Aleksey Shipilev
>         Attachments: vm-jit-float-magics-rc1.patch
>
>
> JIT can generate the magics for these two methods:
> public class Float {
> ...
> public static int floatToIntBits(float value) {};
> public static float intBitsToFloat(int bits) {};
> }

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