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)
Tue, Jun 16, 9:13 PM
Unknown Object (File)
May 20 2026, 8:35 AM
Unknown Object (File)
May 11 2026, 6:28 PM
Unknown Object (File)
May 11 2026, 4:59 AM
Unknown Object (File)
May 11 2026, 4:59 AM
Unknown Object (File)
May 11 2026, 3:41 AM
Unknown Object (File)
May 11 2026, 3:41 AM
Unknown Object (File)
May 7 2026, 11:08 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