Page MenuHomePhabricator

[FPEnv] Intrinsics for access to FP control modes
Needs ReviewPublic

Authored by sepavloff on Jun 25 2020, 1:30 AM.

Details

Summary

The change implements intrinsics 'get_fpmode', 'set_fpmode' and 'reset_fpmode'.
They do the same operations as C library functions 'fegetmode' and 'fesetmode'.
By default the intrinsics are lowered to calls to these library functions.

Diff Detail

Event Timeline

sepavloff created this revision.Jun 25 2020, 1:30 AM
Herald added a project: Restricted Project. · View Herald Transcript
sepavloff updated this revision to Diff 275055.Jul 2 2020, 4:06 AM

Fixed legalization of SET_FPMODE

sepavloff updated this revision to Diff 275373.Jul 3 2020, 5:25 AM

Missed change

sepavloff updated this revision to Diff 281827.Jul 30 2020, 1:37 AM

Rebased patch

sepavloff updated this revision to Diff 285081.Aug 12 2020, 7:30 AM

Rebased patch

sepavloff updated this revision to Diff 289188.Tue, Sep 1, 8:49 AM

Rebased patch

sepavloff updated this revision to Diff 289360.Wed, Sep 2, 12:15 AM

Get rid of clang-tidy warnings