From cbb7bf703fc36eacf5ef5304d8a96430a2dc4302 Mon Sep 17 00:00:00 2001 From: Martin Balao Date: Tue, 23 Apr 2024 20:17:14 -0400 Subject: [PATCH] Avoid register conflict in Windows. Co-authored-by: Francisco Ferrari Bihurriet Co-authored-by: Martin Balao --- src/hotspot/cpu/x86/stubGenerator_x86_64_aes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hotspot/cpu/x86/stubGenerator_x86_64_aes.cpp b/src/hotspot/cpu/x86/stubGenerator_x86_64_aes.cpp index 2cf259749ca98..9744169498c8b 100644 --- a/src/hotspot/cpu/x86/stubGenerator_x86_64_aes.cpp +++ b/src/hotspot/cpu/x86/stubGenerator_x86_64_aes.cpp @@ -2181,7 +2181,7 @@ void StubGenerator::aesctr_encrypt(Register src_addr, Register dest_addr, Regist const Register rounds = rax; const Register pos = r12; - const Register tail = r13; + const Register tail = r15; Label PRELOOP_START, EXIT_PRELOOP, REMAINDER, REMAINDER_16, LOOP, END, EXIT, END_LOOP, AES192, AES256, AES192_REMAINDER16, REMAINDER16_END_LOOP, AES256_REMAINDER16,