From b2e0cbe3efd80ad53524259067230fecc2a9cd77 Mon Sep 17 00:00:00 2001 From: jwinterm Date: Sun, 4 Oct 2026 18:54:18 -0400 Subject: [PATCH] external: randomwow: fix ISUB_R JIT on ARM64 and RISC-V Port of tevador/RandomX#325, shipped in RandomX v1.2.2 and picked up by Monero v0.18.5.3. With src = dst and imm = 0x80000000 the ARM64 and RISC-V JIT negated -2^31 to itself and produced a wrong hash. RandomWOW is RandomX v1.2.1 plus parameters, and the patch applies unchanged. --- external/randomwow | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/randomwow b/external/randomwow index 27b099b6d..ff4747966 160000 --- a/external/randomwow +++ b/external/randomwow @@ -1 +1 @@ -Subproject commit 27b099b6dd6fef6e17f58c6dfe00009e9c5df587 +Subproject commit ff47479662593fa18295642752b4df8d04c21b66