Review Request (M): 7077312: Provide a CALL effect for instruct declaration in the ad file

Roland Westrelin roland.westrelin at oracle.com
Tue Sep 6 04:54:02 PDT 2011


http://cr.openjdk.java.net/~roland/7077312/webrev.00/

This add the ability to declare an instruct in the ad file as having the effect of a leaf runtime call:

instruct divL_reg_reg(R0R1RegL dst, R2R3RegL src1, R0R1RegL src2) %{
  match(Set dst (DivL src1 src2));
  effect(CALL);

This declares this instruct as killing or preserving a set of registers according to the calling convention. Useful for nodes that are implemented with actual runtime call.

Roland.


More information about the hotspot-compiler-dev mailing list