hotspot/src/cpu/aarch64/vm/macroAssembler_aarch64.cpp
changeset 40080 00aba4bf1a83
parent 40049 a23a3ed6c7a6
child 40643 49539fc14e5a
--- a/hotspot/src/cpu/aarch64/vm/macroAssembler_aarch64.cpp	Wed Jul 20 19:35:08 2016 +0300
+++ b/hotspot/src/cpu/aarch64/vm/macroAssembler_aarch64.cpp	Fri Jul 22 17:05:08 2016 +0100
@@ -4916,7 +4916,7 @@
   // alignment.
   if (!is_large || !(BlockZeroingLowLimit >= zva_length * 2)) {
     int low_limit = MAX2(zva_length * 2, (int)BlockZeroingLowLimit);
-    cmp(cnt, low_limit >> 3);
+    subs(tmp, cnt, low_limit >> 3);
     br(Assembler::LT, small);
   }