changeset 6451:b4a17ff67e26 icedtea-2.6.7pre01

8157906, PR3100: aarch64: some more integer rotate instructions are never emitted Summary: fix wrong definition of source operand of left rotate instructions Reviewed-by: aph Contributed-by: teng.lu@linaro.org
author fyang
date Fri, 27 May 2016 20:38:38 +0800
parents f3f52408a4d2
children 0437c24fbd58
files src/cpu/aarch64/vm/aarch64.ad
diffstat 1 files changed, 7 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/src/cpu/aarch64/vm/aarch64.ad	Wed Jan 27 12:20:53 2016 +0800
+++ b/src/cpu/aarch64/vm/aarch64.ad	Fri May 27 20:38:38 2016 +0800
@@ -9090,21 +9090,21 @@
   %}
 %}
 
-instruct rolI_rReg_Var_C_32(iRegLNoSp dst, iRegL src, iRegI shift, immI_32 c_32, rFlagsReg cr)
+instruct rolI_rReg_Var_C_32(iRegINoSp dst, iRegI src, iRegI shift, immI_32 c_32, rFlagsReg cr)
 %{
   match(Set dst (OrI (LShiftI src shift) (URShiftI src (SubI c_32 shift))));
 
   expand %{
-    rolL_rReg(dst, src, shift, cr);
-  %}
-%}
-
-instruct rolI_rReg_Var_C0(iRegLNoSp dst, iRegL src, iRegI shift, immI0 c0, rFlagsReg cr)
+    rolI_rReg(dst, src, shift, cr);
+  %}
+%}
+
+instruct rolI_rReg_Var_C0(iRegINoSp dst, iRegI src, iRegI shift, immI0 c0, rFlagsReg cr)
 %{
   match(Set dst (OrI (LShiftI src shift) (URShiftI src (SubI c0 shift))));
 
   expand %{
-    rolL_rReg(dst, src, shift, cr);
+    rolI_rReg(dst, src, shift, cr);
   %}
 %}