How-to implement intrinsic in JVM?

Christian Thalinger christian.thalinger at oracle.com
Mon Oct 22 14:38:12 PDT 2012


On Oct 18, 2012, at 1:48 AM, james wang <wjames8711 at gmail.com> wrote:

> Hi all,
> 
>    Is there any guideline about how to implement new intrinsic (line popcnt, reversebytes, etc.) in JVM? I found a patch about reversebytes(http://cr.openjdk.java.net/~rasbold/reversebytes/webrev.01/), but didn't known the correct steps to accomplish it.

There is the changeset that added popcnt support:

http://hg.openjdk.java.net/hsx/hotspot-comp/hotspot/rev/c771b7f43bbf

Hope that helps.

-- Chris

> 
> Thanks!
> James 



More information about the hotspot-compiler-dev mailing list