changeset 49463:ea3b767c7e1e lworld

[lworld] test_value_is_not_buffered() must use cmpq instead of cmpl
author thartmann
date Wed, 28 Mar 2018 10:27:07 +0200
parents cdd867831958
children 76b3740cff03
files src/hotspot/cpu/x86/macroAssembler_x86.cpp
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/hotspot/cpu/x86/macroAssembler_x86.cpp	Tue Mar 27 15:51:37 2018 -0400
+++ b/src/hotspot/cpu/x86/macroAssembler_x86.cpp	Wed Mar 28 10:27:07 2018 +0200
@@ -3711,17 +3711,17 @@
 
   if (VTBuffer::base() < Universe::heap()->base()) {
     lea(temp_reg, VTBuffer_end);
-    cmpl(value, temp_reg);
+    cmpptr(value, temp_reg);
     jcc(Assembler::greaterEqual, not_buffered);
     lea(temp_reg, VTBuffer_top);
-    cmpl(value, temp_reg);
+    cmpptr(value, temp_reg);
     jcc(Assembler::less, not_buffered);
   } else {
     lea(temp_reg, VTBuffer_top);
-    cmpl(value, temp_reg);
+    cmpptr(value, temp_reg);
     jcc(Assembler::less, not_buffered);
     lea(temp_reg, VTBuffer_end);
-    cmpl(value, temp_reg);
+    cmpptr(value, temp_reg);
     jcc(Assembler::greaterEqual, not_buffered);
   }
 }