[libclc] [libclc] Refine __clc_fp*_subnormals_supported and __clc_flush_denormal_if_not_supported (PR #157633)
Matt Arsenault via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 3 03:06:00 PDT 2025
================
@@ -8,8 +8,8 @@
_CLC_DEF _CLC_OVERLOAD float __clc_remquo(float x, float y,
__CLC_ADDRESS_SPACE int *quo) {
- x = __clc_flush_denormal_if_not_supported(x);
- y = __clc_flush_denormal_if_not_supported(y);
+ x = __clc_soft_flush_denormal(x);
+ y = __clc_soft_flush_denormal(y);
----------------
arsenm wrote:
https://github.com/ROCm/llvm-project/blob/0e9e3946cb257d1ed7b119333db451805865b36b/amd/device-libs/ocml/src/remainderF_base.h#L47
See this series of patches:
https://github.com/ROCm/llvm-project/commit/b3beb9396041791c2ef22a5e8c3548a9f8686a5e
https://github.com/ROCm/llvm-project/commit/9a7bc191b9d6430985bce4dce55c3acef5c9fd3a
https://github.com/ROCm/llvm-project/commit/e9198f7d4619eb222f66c1f1d496eee3acdd8511
Should just copy what these did
https://github.com/llvm/llvm-project/pull/157633
More information about the cfe-commits
mailing list