[aarch64-port-dev ] RFR: JDK-8184964 AArch64: Incorrect match rule for negL_reg

Andrew Dinn adinn at redhat.com
Thu Jul 20 08:39:18 UTC 2017


On 20/07/17 09:31, Zhongwei Yao wrote:
> Hi, all,
> Before this patch, negative operation "-x", where x is long type, will
> generating:
>   mov x10, xzr
>   sub x0, x10, x1
> 
> After applying this patch:
>   neg x0, x1
> 
> And this patch passes all jtreg tests.
> 
> Bug:
> *https://bugs.openjdk.java.net/browse/JDK-8184964
> <https://bugs.openjdk.java.net/browse/JDK-8184964>*
> 
> Webrev:
> *http://cr.openjdk.java.net/~yzhang/8184964/webrev.00/
> <http://cr.openjdk.java.net/~yzhang/8184964/webrev.00/>*
> 
> Please help to review it.
Yes, that's a very good catch!

Reviewed ok by me.

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 aarch64-port-dev mailing list