[libc-commits] [libc] [libc][math][c23] add entrypoints and tests for totalordermag{f, l, f128} (PR #100159)

via libc-commits libc-commits at lists.llvm.org
Tue Jul 23 09:59:28 PDT 2024


================
@@ -88,6 +88,7 @@ def LLVMLibcExt : StandardSpec<"llvm_libc_ext"> {
           GuardedFunctionSpec<"f16sqrtl", RetValSpec<Float16Type>, [ArgSpec<LongDoubleType>], "LIBC_TYPES_HAS_FLOAT16">,
 
           GuardedFunctionSpec<"fsqrtf128", RetValSpec<FloatType>, [ArgSpec<Float128Type>], "LIBC_TYPES_HAS_FLOAT128">,
+	  GuardedFunctionSpec<"totalordermagf128", RetValSpec<IntType>, [ArgSpec<Float128Ptr>, ArgSpec<Float128Ptr>], "LIBC_TYPES_HAS_FLOAT128">,
----------------
lntue wrote:

This is in `stdc.td`, not a LLVM libc extention.

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


More information about the libc-commits mailing list