SilverSight/r/AVMIsa
allaun 1ae311c63f fix(avm-ports): add Q0_16 support to Julia and R ports
Julia port:
- Extended type tracking from Bool (is_q16) to Int8 tri-state (TYPE_BOOL/Q16/Q0)
- Added ADD_SAT_Q0 / SUB_SAT_Q0 primitive handling
- Added avm_q0_clamp for symmetric Q0_16 range [-32767, 32767]

R port:
- Added PRIM_ADD_Q0 / PRIM_SUB_Q0 primitives
- Added push_q0 instruction, make_q0 / is_q0 helpers
- Added avm_q0_clamp for symmetric Q0_16 range
- Fixed LOAD to preserve type tag on restore

All three ports now support the full AVM ISA type universe (Q0_16, Q16_16, Bool).
2026-06-30 17:39:06 -05:00
..
avm.r fix(avm-ports): add Q0_16 support to Julia and R ports 2026-06-30 17:39:06 -05:00
test_avm.r fix(avm-ports): align all 3 ports with Lean reference 2026-06-30 17:37:01 -05:00