RFR(M): 8028580: PPC64 (part 114/120): Support for Call nodes with constants.

Lindenmaier, Goetz goetz.lindenmaier at sap.com
Tue Nov 19 03:58:14 PST 2013


Hi,

C2 Call nodes use several constant values. So far C2 does not
support placing these values in the constant table of the nmethod.

Among others, these constants are
 - the called address
- the inline cache
- values required by the C-calling convention (on PPC, env pointer
   and toc from function descriptor)

This change extends Call nodes so that they can issue constants
to the constant table.
http://cr.openjdk.java.net/~goetz/webrevs/8028580-0-call/

- Extend adlc to add edge to MachConstantBaseNode if
  $constanttablebase is used in the specification.
- Extend Call nodes to deliver proper register mask to
  register allocation for this new input.
- Add method ins_num_consts() so that number of required
  constants can be specified in the call node.
- Extend output() so that it reserves space for the
  constants in the Calls, using ins_num_consts().

Please review and test this change.

Thanks and best regards,
  Goetz.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/ppc-aix-port-dev/attachments/20131119/cfbc89a0/attachment.html 


More information about the ppc-aix-port-dev mailing list