CVSROOT:        /cvs
Module name:    src
Changes by:     aoy...@cvs.openbsd.org  2021/09/24 08:37:56

Modified files:
        sys/arch/m88k/m88k: fpu.c 

Log message:
Fix two bugs in m88k fcmp{,u} emulation.

- Use of goto will skip zeroing of 88110-specific comparison bits (bitn
12-17) in some cases. (Move their zeroing closer to the point of
their computation.)

- Computing of the "in interval" bits should not be performed when the
S2 operand is negative.

Spotted by Tetsuya Isaki (nono project), suggested diff and description
from Miod Vallat.  Tested on the real hardware by Isaki and me.

Reply via email to