Files
mandy/tests
Luiz Neves 49ee5d84b7 Translator: v_cvt_flr_i32_f32 and v_cvt_rpi_i32_f32
Both raised Unsupported. RDNA ISA pseudocode: f32_to_i32(floor(S0)) and
f32_to_i32(floor(S0 + 0.5)), the + 0.5 rounded in binary32. The conversion
saturates as v_cvt_i32_f32 does (#300); only an in-range value reaches
OpConvertFToS.

tests/semantic/test_alu_cvt_flr_rpi.py checks both against a plain-Python
reference; docs/design.md gets a contract row.
2026-11-21 22:19:58 -03:00
..