Commit Graph
3 Commits
Author SHA1 Message Date
SChernykhandsuch-gitea ff47479662 ISUB_R fix for ARM/RISC-V JIT (#325)
When `src = dst` and `imm = 0x80000000` in ISUB_R, the JIT generated the wrong code because negating 0x80000000 (-2^31) resulted in -2^31 again, not +2^31.

Also added the test to `tests.cpp` to check this case (can be verified by disabling the fix in jit_compiler_a64/jit_compiler_rv64).

(cherry picked from commit 3babb8767e83da6154bec43037f3b9f947c5e200)
2026-10-04 18:53:00 -04:00
tevador 48fa275d04 Avoid redundant CI runs 2023-10-09 20:04:12 +02:00
SChernykh 3f69ad7b79 Added CI tests
- Compile RandomX on a wide variety of OS and architectures
- Fixed broken x86 (32-bit) builds
- Don't use broken `fesetenv` in msys2 builds: https://sourceforge.net/p/mingw-w64/bugs/541/
2023-08-23 12:15:21 +02:00