Skip to content

Commit df9f920

Browse files
Add the message for the assertions
1 parent 9b2bae6 commit df9f920

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/hotspot/cpu/aarch64/macroAssembler_aarch64.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4331,7 +4331,7 @@ void MacroAssembler::kernel_crc32_using_crypto_pmull(Register crc, Register buf,
43314331
Register len, Register tmp0, Register tmp1, Register tmp2, Register tmp3) {
43324332
Label CRC_by4_loop, CRC_by1_loop, CRC_less128, CRC_by128_pre, CRC_by32_loop, CRC_less32, L_exit;
43334333
assert_different_registers(crc, buf, len, tmp0, tmp1, tmp2);
4334-
assert(CryptoPmullForCRC32LowLimit >= 256);
4334+
assert(CryptoPmullForCRC32LowLimit >= 256, "must be for CRC_by128_loop");
43354335

43364336
subs(tmp0, len, CryptoPmullForCRC32LowLimit);
43374337
mvnw(crc, crc);
@@ -4697,7 +4697,7 @@ void MacroAssembler::kernel_crc32c_using_crypto_pmull(Register crc, Register buf
46974697
Register len, Register tmp0, Register tmp1, Register tmp2, Register tmp3) {
46984698
Label CRC_by4_loop, CRC_by1_loop, CRC_less128, CRC_by128_pre, CRC_by32_loop, CRC_less32, L_exit;
46994699
assert_different_registers(crc, buf, len, tmp0, tmp1, tmp2);
4700-
assert(CryptoPmullForCRC32LowLimit >= 256);
4700+
assert(CryptoPmullForCRC32LowLimit >= 256, "must be for CRC_by128_loop");
47014701

47024702
subs(tmp0, len, CryptoPmullForCRC32LowLimit);
47034703
br(Assembler::GE, CRC_by128_pre);

0 commit comments

Comments
 (0)