mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-12 22:00:41 +02:00
I misread the implementation details of this instruction when implementing. The pseudocode says `ST(0) = ST(0) ∗ 2^rndint(ST(1))` so I understood the instruction to use the current rounding mode of the host to extract the integer portion of `ST(1)`. The actual implementation is in the details of the statement `the integer portion of the floating- point value in ST(1).` This behaves like round towards zero/truncate, additional hardware testing and documentation reading confirms this. Fixes #1584