Request for reviews (L): 6814842: Load shortening optimizations

Ulf Zibis Ulf.Zibis at gmx.de
Thu May 7 06:40:57 PDT 2009


Hi Christian,

is there any Bug ID about load widening optimizations?
E.g.:
    char decode(byte b) {
        return (char)(b & 0xFF);
    }
    void decode(byte[] ba, char[] ca) {
        for (int i=0; i<ba.length; i++)
            ca[i] = (char)(ba[i] & 0xFF);
    }

-Ulf


Am 07.05.2009 15:24, Christian Thalinger schrieb:
> http://cr.openjdk.java.net/~twisti/6814842/webrev.01/
>
> Here is a version that covers most shortening patterns as AD instructs.
>
> -- Christian
>
>
>   




More information about the hotspot-compiler-dev mailing list