ruby/yjit
Alan Wu e5c7f1695e YJIT: x86: Fix panic writing 32-bit number with top bit set
Previously, `asm.mov(m32, imm32)` panicked when `imm32 > 0x80000000`. It
attempted to split imm32 into a register before doing the store, but
then the register size didn't match the destination size.

Instead of splitting, use the `MOV r/m32, imm32` form which works for
all 32-bit values. Adjust asserts that assumed that all forms undergo
sign extension, which is not true for this case.

See: 54edc930f9
2025-06-11 19:49:49 +09:00
..
bindgen Refactor raw accesses to rb_shape_t.capacity 2025-06-05 22:06:15 +02:00
src YJIT: x86: Fix panic writing 32-bit number with top bit set 2025-06-11 19:49:49 +09:00
.gitignore
Cargo.lock Bump capstone from 0.12.0 to 0.13.0 in /yjit 2025-02-05 11:37:34 +09:00
Cargo.toml YJIT: ZJIT: Allow both JITs in the same build 2025-05-15 00:39:03 +09:00
not_gmake.mk Define ZJIT libs for non-gmake 2025-04-18 21:52:55 +09:00
yjit.mk YJIT: ZJIT: Allow both JITs in the same build 2025-05-15 00:39:03 +09:00