diff options
author | Alexey Bataev <a.bataev@outlook.com> | 2024-02-29 15:49:05 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@outlook.com> | 2024-02-29 15:49:05 +0000 |
commit | a0d744b9cf4a5bd7219c5c1007d8db317b70cf1f (patch) | |
tree | 40d806f565e8f0ebdafb78f01db92fe4499096f9 /libc/src/math/nvptx/fmaxf.cpp | |
parent | 46478028cda679b76757cae689a53b11fadad5f5 (diff) | |
parent | 4f132dca711f4b425f9d370f5d59efb766b8bffa (diff) | |
download | llvm-users/alexey-bataev/spr/ttiriscvimprove-costs-for-fixed-vector-whole-reg-extractinsert.zip llvm-users/alexey-bataev/spr/ttiriscvimprove-costs-for-fixed-vector-whole-reg-extractinsert.tar.gz llvm-users/alexey-bataev/spr/ttiriscvimprove-costs-for-fixed-vector-whole-reg-extractinsert.tar.bz2 |
Rebase, Address commentsusers/alexey-bataev/spr/ttiriscvimprove-costs-for-fixed-vector-whole-reg-extractinsert
Created using spr 1.3.5
Diffstat (limited to 'libc/src/math/nvptx/fmaxf.cpp')
-rw-r--r-- | libc/src/math/nvptx/fmaxf.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libc/src/math/nvptx/fmaxf.cpp b/libc/src/math/nvptx/fmaxf.cpp index f6ed466..e977082 100644 --- a/libc/src/math/nvptx/fmaxf.cpp +++ b/libc/src/math/nvptx/fmaxf.cpp @@ -15,10 +15,6 @@ namespace LIBC_NAMESPACE { LLVM_LIBC_FUNCTION(float, fmaxf, (float x, float y)) { - // FIXME: The builtin function does not correctly handle the +/-0.0 case. - if (LIBC_UNLIKELY(x == y)) - return cpp::bit_cast<float>(cpp::bit_cast<uint32_t>(x) & - cpp::bit_cast<uint32_t>(y)); return __builtin_fmaxf(x, y); } |