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, Dec 10, 10:58 AM
Unknown Object (File)
Nov 20 2024, 10:28 PM
Unknown Object (File)
Nov 16 2024, 5:46 PM
Unknown Object (File)
Nov 16 2024, 6:20 AM
Unknown Object (File)
Nov 15 2024, 6:46 AM
Unknown Object (File)
Oct 31 2024, 3:04 PM
Unknown Object (File)
Oct 2 2024, 11:52 PM
Unknown Object (File)
Oct 1 2024, 9:42 PM
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