[all-commits] [llvm/llvm-project] 0e9881: libclc: frexp: fix implementation regarding denorm...
Romaric Jodin via All-commits
all-commits at lists.llvm.org
Tue Apr 8 06:50:49 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0e9881745834863a6f5a3a05588886bb3eb75cdf
https://github.com/llvm/llvm-project/commit/0e9881745834863a6f5a3a05588886bb3eb75cdf
Author: Romaric Jodin <rjodin at google.com>
Date: 2025-04-08 (Tue, 08 Apr 2025)
Changed paths:
M libclc/clc/lib/generic/math/clc_frexp.inc
Log Message:
-----------
libclc: frexp: fix implementation regarding denormals (#134823)
Devices not supporting denormals can compare them true against zero. It
leads to result not matching the CTS expectation when either supporting
or not denormals.
For example for 0x1.008p-140 we get {0x1.008p-140, 0} while the CTS
expects {0x1.008p-1, -139} when supporting denormals, or {0, 0} when not
supporting denormals (flushed to zero).
Ref #129871
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list