[all-commits] [llvm/llvm-project] d4baf3: [libc] Use get_round() instead of floating point t...
lntue via All-commits
all-commits at lists.llvm.org
Thu Jan 20 11:55:25 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d4baf3b1322b84816aa623d8e8cb45a49cb68b84
https://github.com/llvm/llvm-project/commit/d4baf3b1322b84816aa623d8e8cb45a49cb68b84
Author: Tue Ly <lntue at google.com>
Date: 2022-01-20 (Thu, 20 Jan 2022)
Changed paths:
M libc/src/__support/FPUtil/Hypot.h
M libc/src/math/generic/CMakeLists.txt
Log Message:
-----------
[libc] Use get_round() instead of floating point tricks in generic hypot implementation.
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.
Reviewed By: sivachandra
Differential Revision: https://reviews.llvm.org/D117824
More information about the All-commits
mailing list