This is an archive of the discontinued LLVM Phabricator instance.

[libc] Use get_round() instead of floating point tricks in generic hypot implementation.
ClosedPublic

Authored by lntue on Jan 20 2022, 11:45 AM.

Details

Summary

The floating point tricks used to get rounding mode require -frounding-math flag, which behaves differently on aarch64. Reverting back to use get_round instead.

Diff Detail

Event Timeline

lntue created this revision.Jan 20 2022, 11:45 AM
lntue requested review of this revision.Jan 20 2022, 11:45 AM
sivachandra accepted this revision.Jan 20 2022, 11:50 AM
This revision is now accepted and ready to land.Jan 20 2022, 11:50 AM
This revision was landed with ongoing or failed builds.Jan 20 2022, 11:55 AM
This revision was automatically updated to reflect the committed changes.