RFR (S): 8028401: PPC (part 117): Improve usability of adlc and format() functionality.
Lindenmaier, Goetz
goetz.lindenmaier at sap.com
Thu Nov 14 14:04:24 PST 2013
Hi,
This change contains some smaller additions to adlc and the format() routine,
that improve their usability:
http://cr.openjdk.java.net/~goetz/webrevs/8028401-0-adlc/
Improve usability of adlc:
So far, expands can only use instructs that are specified further up in the .ad file.
This is because the check whether nodes used in the expand are also defined
is done during parsing.
Move this check to a later point to relax ordering constraints.
Add a row of additional, more verbose syntax checks.
Improve format():
If MachNode::format() is called before constants are written to the
constants section, it can fail. Add a safer version of constant_offset
to avoid this.
Please review and test this change.
Best regards,
Goetz.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/ppc-aix-port-dev/attachments/20131114/1185ba50/attachment.html
More information about the ppc-aix-port-dev
mailing list