summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Gibbons <scott.gibbons@intel.com>2024-03-03 15:26:53 -0800
committerScott Gibbons <scott.gibbons@intel.com>2024-03-03 15:26:53 -0800
commit86f61256345b8287f7c1a2a84e4ca5aa96a03216 (patch)
tree45ac00703a5a851b3769f9b8f7ec811d1f7c338f
parent4915b6af6415c2c9d5f66c15d503908f1cfcf2ea (diff)
Try to fix increment issue :-(pr/16753
-rw-r--r--src/hotspot/cpu/x86/macroAssembler_x86.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hotspot/cpu/x86/macroAssembler_x86.cpp b/src/hotspot/cpu/x86/macroAssembler_x86.cpp
index b7426f0ed96..95183f4b7bf 100644
--- a/src/hotspot/cpu/x86/macroAssembler_x86.cpp
+++ b/src/hotspot/cpu/x86/macroAssembler_x86.cpp
@@ -9994,7 +9994,7 @@ void MacroAssembler::arrays_equals(bool is_array_equ, Register ary1,
movzbl(chr, Address(ary2, limit, Address::times_1));
cmpl(chr, Address(ary1, limit, Address::times_2));
jccb(Assembler::notEqual, FALSE_LABEL);
- incrementq(limit);
+ addq(limit, 1);
jcc(Assembler::notZero, COMPARE_VECTORS);
jmp(TRUE_LABEL);
} else {