8184964: AArch64: Incorrect match rule for negL_reg
Reviewed-by: adinn
Contributed-by: zhongwei.yao@linaro.org
--- a/hotspot/src/cpu/aarch64/vm/aarch64.ad Mon Jul 17 10:32:30 2017 +0800
+++ b/hotspot/src/cpu/aarch64/vm/aarch64.ad Thu Jul 20 15:44:51 2017 +0800
@@ -10951,7 +10951,7 @@
// Long Negation
-instruct negL_reg(iRegLNoSp dst, iRegIorL2I src, immL0 zero, rFlagsReg cr) %{
+instruct negL_reg(iRegLNoSp dst, iRegL src, immL0 zero, rFlagsReg cr) %{
match(Set dst (SubL zero src));
ins_cost(INSN_COST);