[libc-commits] [libc] [libc][math] implemented dadd and ddiv (PR #100456)

via libc-commits libc-commits at lists.llvm.org
Wed Jul 24 14:12:18 PDT 2024


================
@@ -254,6 +254,10 @@ set(TARGET_LIBM_ENTRYPOINTS
     libc.src.math.cosf
     libc.src.math.cosh
     libc.src.math.coshf
+    libc.src.math.daddl
+    libc.src.math.daddf128
+    libc.src.math.ddivl
+    libc.src.math.ddivf128
----------------
overmighty wrote:

`float128` is not supported on AMDGPU and NVPTX. clang/lib/Basic/Targets/AMDGPU.cpp technically sets `HasFloat128` to true if the host target has it, but there are comments that explain the situation:

https://github.com/llvm/llvm-project/blob/10ff2bcb5eaf169b0d9f6f12851ccae339a54aaf/clang/lib/Basic/Targets/AMDGPU.cpp#L351-L375

https://github.com/llvm/llvm-project/pull/100456


More information about the libc-commits mailing list