For _Qp_{fge,fgt,fle,flt}() the SCD states that "Exceptions mimic fcmpeq",

this means they should set the cmpe flag when calling __fpu_compare().

Submitted by:	stefanf
MFC after:	2 weeks
This commit is contained in:
Marius Strobl 2006-04-16 14:32:53 +00:00
parent 2edf0a4432
commit f2189783c9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=157791

View File

@ -139,10 +139,10 @@ _QP_QTOT(ui, i, u_int)
_QP_QTOT(ux, x, u_long, &u.a)
_QP_CMP(feq, 0, FCC_EQ)
_QP_CMP(fge, 0, FCC_GE)
_QP_CMP(fgt, 0, FCC_GT)
_QP_CMP(fle, 0, FCC_LE)
_QP_CMP(flt, 0, FCC_LT)
_QP_CMP(fge, 1, FCC_GE)
_QP_CMP(fgt, 1, FCC_GT)
_QP_CMP(fle, 1, FCC_LE)
_QP_CMP(flt, 1, FCC_LT)
_QP_CMP(fne, 0, FCC_NE)
_QP_CMP(cmp, 0, FCC_ID)
_QP_CMP(cmpe, 1, FCC_ID)