8184964: AArch64: Incorrect match rule for negL_reg
authoryzhang
Thu, 20 Jul 2017 15:44:51 +0800
changeset 46696 b5771fe1620a
parent 46695 aaaac1d98bc5
child 46697 2fdbdc5e0765
8184964: AArch64: Incorrect match rule for negL_reg Reviewed-by: adinn Contributed-by: zhongwei.yao@linaro.org
hotspot/src/cpu/aarch64/vm/aarch64.ad
--- 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);