changeset 8558:22f4e54b965a

Fix error in fix for 8133842. Some long shifts were anded with 0x1f.
author enevill
date Tue, 01 Sep 2015 09:36:33 +0000
parents 9225c38e38fe
children b516036ba465
files src/cpu/aarch64/vm/aarch64.ad
diffstat 1 files changed, 12 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/src/cpu/aarch64/vm/aarch64.ad	Fri Jul 17 07:50:36 2015 +0000
+++ b/src/cpu/aarch64/vm/aarch64.ad	Tue Sep 01 09:36:33 2015 +0000
@@ -8796,7 +8796,7 @@
               as_Register($src1$$reg),
               as_Register($src2$$reg),
               Assembler::LSR,
-              $src3$$constant & 0x1f);
+              $src3$$constant & 0x3f);
   %}
 
   ins_pipe(ialu_reg_reg_shift);
@@ -8834,7 +8834,7 @@
               as_Register($src1$$reg),
               as_Register($src2$$reg),
               Assembler::ASR,
-              $src3$$constant & 0x1f);
+              $src3$$constant & 0x3f);
   %}
 
   ins_pipe(ialu_reg_reg_shift);
@@ -8872,7 +8872,7 @@
               as_Register($src1$$reg),
               as_Register($src2$$reg),
               Assembler::LSL,
-              $src3$$constant & 0x1f);
+              $src3$$constant & 0x3f);
   %}
 
   ins_pipe(ialu_reg_reg_shift);
@@ -8910,7 +8910,7 @@
               as_Register($src1$$reg),
               as_Register($src2$$reg),
               Assembler::LSR,
-              $src3$$constant & 0x1f);
+              $src3$$constant & 0x3f);
   %}
 
   ins_pipe(ialu_reg_reg_shift);
@@ -8948,7 +8948,7 @@
               as_Register($src1$$reg),
               as_Register($src2$$reg),
               Assembler::ASR,
-              $src3$$constant & 0x1f);
+              $src3$$constant & 0x3f);
   %}
 
   ins_pipe(ialu_reg_reg_shift);
@@ -8986,7 +8986,7 @@
               as_Register($src1$$reg),
               as_Register($src2$$reg),
               Assembler::LSL,
-              $src3$$constant & 0x1f);
+              $src3$$constant & 0x3f);
   %}
 
   ins_pipe(ialu_reg_reg_shift);
@@ -9024,7 +9024,7 @@
               as_Register($src1$$reg),
               as_Register($src2$$reg),
               Assembler::LSR,
-              $src3$$constant & 0x1f);
+              $src3$$constant & 0x3f);
   %}
 
   ins_pipe(ialu_reg_reg_shift);
@@ -9062,7 +9062,7 @@
               as_Register($src1$$reg),
               as_Register($src2$$reg),
               Assembler::ASR,
-              $src3$$constant & 0x1f);
+              $src3$$constant & 0x3f);
   %}
 
   ins_pipe(ialu_reg_reg_shift);
@@ -9100,7 +9100,7 @@
               as_Register($src1$$reg),
               as_Register($src2$$reg),
               Assembler::LSL,
-              $src3$$constant & 0x1f);
+              $src3$$constant & 0x3f);
   %}
 
   ins_pipe(ialu_reg_reg_shift);
@@ -9138,7 +9138,7 @@
               as_Register($src1$$reg),
               as_Register($src2$$reg),
               Assembler::LSR,
-              $src3$$constant & 0x1f);
+              $src3$$constant & 0x3f);
   %}
 
   ins_pipe(ialu_reg_reg_shift);
@@ -9176,7 +9176,7 @@
               as_Register($src1$$reg),
               as_Register($src2$$reg),
               Assembler::ASR,
-              $src3$$constant & 0x1f);
+              $src3$$constant & 0x3f);
   %}
 
   ins_pipe(ialu_reg_reg_shift);
@@ -9214,7 +9214,7 @@
               as_Register($src1$$reg),
               as_Register($src2$$reg),
               Assembler::LSL,
-              $src3$$constant & 0x1f);
+              $src3$$constant & 0x3f);
   %}
 
   ins_pipe(ialu_reg_reg_shift);