This is an archive of the discontinued LLVM Phabricator instance.

[libc] Raise x87 exceptions by synchronizing with "fwait".
ClosedPublic

Authored by sivachandra on Dec 8 2020, 12:27 AM.

Details

Summary

Couple of helper functions enableExcept and disableExcept have been
added. In a later round, they will be used to implemented the GNU
extension functions feenableexcept and fedisableexcept.

Diff Detail

Event Timeline

sivachandra created this revision.Dec 8 2020, 12:27 AM
sivachandra requested review of this revision.Dec 8 2020, 12:27 AM
lntue accepted this revision.Dec 8 2020, 10:35 AM
lntue added inline comments.
libc/utils/FPUtil/x86_64/FEnv.h
53

bits 7-12?

This revision is now accepted and ready to land.Dec 8 2020, 10:35 AM

Fix the comment as suggested in the review comment.

sivachandra marked an inline comment as done.Dec 8 2020, 12:45 PM
This revision was landed with ongoing or failed builds.Dec 8 2020, 1:16 PM
This revision was automatically updated to reflect the committed changes.