RFR(S): 8209783: AArch64: Combine Multiply and Neg operations in C2

Andrew Dinn adinn at redhat.com
Wed Aug 22 10:07:39 UTC 2018


Hi Pengfei,

On 21/08/18 11:29, Pengfei Li wrote:
> Could you help review this small optimization in AArch64 codegen?
> 
> JBS: https://bugs.openjdk.java.net/browse/JDK-8209783
> Patch: http://cr.openjdk.java.net/~zyao/8209783/webrev.00/
> 
> Note: For Java code patterns a*(-b) or (-a)*b, SubI/SubL nodes are
> created in ideal graphs to do the ineg/lneg operations.

The patch looks ok. However, it would be good to know it works
correctly. Can you provide details of how you have tested it?

regards,


Andrew Dinn
-----------
Senior Principal Software Engineer
Red Hat UK Ltd
Registered in England and Wales under Company Registration No. 03798903
Directors: Michael Cunningham, Michael ("Mike") O'Neill, Eric Shander


More information about the hotspot-compiler-dev mailing list