Page MenuHomeFreeBSD

Fix feholdexcept() on powerpc referencing the wrong struct member
ClosedPublic

Authored by renato.riolino_eldorado.org.br on Jan 27 2020, 5:43 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 4, 12:41 AM
Unknown Object (File)
Mon, Dec 1, 9:18 AM
Unknown Object (File)
Fri, Nov 28, 9:18 PM
Unknown Object (File)
Thu, Nov 27, 11:30 AM
Unknown Object (File)
Tue, Nov 25, 8:12 AM
Unknown Object (File)
Fri, Nov 21, 8:16 AM
Unknown Object (File)
Fri, Nov 21, 8:16 AM
Unknown Object (File)
Fri, Nov 21, 8:12 AM
Subscribers

Details

Summary

Kyua test lib/msun/fe_round_test:fe_round was failing because round mode wasn't preserved after calling lrint(). lrint uses feholdexcept() to save the current env and feupdateenv() to restore.

Test Plan

kyua test -k /usr/tests/lib/msun/Kyuafile fe_round_test:fe_round

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Acknowleged. It looks to me like this one got missed in rS355656. Will take a proper look later.

OK. Got sidetracked by other float failures, but I might as well get this one in separately.

This revision is now accepted and ready to land.Feb 2 2020, 7:11 PM