Skip to content

[libc][math] Optimize maximum and minimum functions using builtins when available #100002

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 23, 2024

Conversation

overmighty
Copy link
Member

No description provided.

@overmighty overmighty requested a review from lntue July 22, 2024 23:18
@llvmbot llvmbot added the libc label Jul 22, 2024
@llvmbot
Copy link
Member

llvmbot commented Jul 22, 2024

@llvm/pr-subscribers-libc

Author: OverMighty (overmighty)

Changes

Patch is 20.41 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/100002.diff

12 Files Affected:

  • (modified) libc/cmake/modules/CheckCompilerFeatures.cmake (+6)
  • (modified) libc/cmake/modules/LLVMLibCCheckCpuFeatures.cmake (+1)
  • (modified) libc/cmake/modules/LLVMLibCCompileOptionRules.cmake (+11)
  • (added) libc/cmake/modules/compiler_features/check_builtin_fmax_fmin.cpp (+7)
  • (added) libc/cmake/modules/compiler_features/check_builtin_fmaxf16_fminf16.cpp (+9)
  • (added) libc/cmake/modules/cpu_features/check_FullFP16.cpp (+5)
  • (modified) libc/src/__support/FPUtil/BasicOperations.h (+92-24)
  • (modified) libc/src/__support/FPUtil/CMakeLists.txt (+2)
  • (modified) libc/src/__support/macros/properties/cpu_features.h (+4)
  • (modified) libc/src/math/generic/CMakeLists.txt (+54-18)
  • (modified) libc/test/src/math/performance_testing/CMakeLists.txt (+22)
  • (added) libc/test/src/math/performance_testing/max_min_funcs_perf.cpp (+75)
diff --git a/libc/cmake/modules/CheckCompilerFeatures.cmake b/libc/cmake/modules/CheckCompilerFeatures.cmake
index a6d793d495c45..8b02c590f11d0 100644
--- a/libc/cmake/modules/CheckCompilerFeatures.cmake
+++ b/libc/cmake/modules/CheckCompilerFeatures.cmake
@@ -5,6 +5,8 @@
 set(
   ALL_COMPILER_FEATURES
     "builtin_ceil_floor_rint_trunc"
+    "builtin_fmax_fmin"
+    "builtin_fmaxf16_fminf16"
     "builtin_round"
     "builtin_roundeven"
     "float16"
@@ -82,6 +84,10 @@ foreach(feature IN LISTS ALL_COMPILER_FEATURES)
       set(LIBC_COMPILER_HAS_FIXED_POINT TRUE)
     elseif(${feature} STREQUAL "builtin_ceil_floor_rint_trunc")
       set(LIBC_COMPILER_HAS_BUILTIN_CEIL_FLOOR_RINT_TRUNC TRUE)
+    elseif(${feature} STREQUAL "builtin_fmax_fmin")
+      set(LIBC_COMPILER_HAS_BUILTIN_FMAX_FMIN TRUE)
+    elseif(${feature} STREQUAL "builtin_fmaxf16_fminf16")
+      set(LIBC_COMPILER_HAS_BUILTIN_FMAXF16_FMINF16 TRUE)
     elseif(${feature} STREQUAL "builtin_round")
       set(LIBC_COMPILER_HAS_BUILTIN_ROUND TRUE)
     elseif(${feature} STREQUAL "builtin_roundeven")
diff --git a/libc/cmake/modules/LLVMLibCCheckCpuFeatures.cmake b/libc/cmake/modules/LLVMLibCCheckCpuFeatures.cmake
index 73b249374a066..be569f6f9cabf 100644
--- a/libc/cmake/modules/LLVMLibCCheckCpuFeatures.cmake
+++ b/libc/cmake/modules/LLVMLibCCheckCpuFeatures.cmake
@@ -9,6 +9,7 @@ if(${LIBC_TARGET_ARCHITECTURE_IS_X86})
   set(ALL_CPU_FEATURES SSE2 SSE4_2 AVX AVX2 AVX512F AVX512BW FMA)
   set(LIBC_COMPILE_OPTIONS_NATIVE -march=native)
 elseif(${LIBC_TARGET_ARCHITECTURE_IS_AARCH64})
+  set(ALL_CPU_FEATURES "FullFP16")
   set(LIBC_COMPILE_OPTIONS_NATIVE -mcpu=native)
 endif()
 
diff --git a/libc/cmake/modules/LLVMLibCCompileOptionRules.cmake b/libc/cmake/modules/LLVMLibCCompileOptionRules.cmake
index 97d1c7262d24d..0f1ef6a575277 100644
--- a/libc/cmake/modules/LLVMLibCCompileOptionRules.cmake
+++ b/libc/cmake/modules/LLVMLibCCompileOptionRules.cmake
@@ -40,6 +40,17 @@ function(_get_compile_options_from_flags output_var)
     endif()
     if(ADD_MISC_MATH_BASIC_OPS_OPT_FLAG)
       list(APPEND compile_options "-D__LIBC_MISC_MATH_BASIC_OPS_OPT")
+      if(LIBC_COMPILER_HAS_BUILTIN_FMAX_FMIN)
+        list(APPEND compile_options "-D__LIBC_USE_BUILTIN_FMAX_FMIN")
+      endif()
+      if(LIBC_COMPILER_HAS_BUILTIN_FMAXF16_FMINF16)
+        list(APPEND compile_options "-D__LIBC_USE_BUILTIN_FMAXF16_FMINF16")
+      endif()
+      if("FullFP16" IN_LIST LIBC_CPU_FEATURES AND
+         CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
+        list(APPEND compile_options
+             "SHELL:-Xclang -target-feature -Xclang +fullfp16")
+      endif()
     endif()
   elseif(MSVC)
     if(ADD_FMA_FLAG)
diff --git a/libc/cmake/modules/compiler_features/check_builtin_fmax_fmin.cpp b/libc/cmake/modules/compiler_features/check_builtin_fmax_fmin.cpp
new file mode 100644
index 0000000000000..594d839f174bc
--- /dev/null
+++ b/libc/cmake/modules/compiler_features/check_builtin_fmax_fmin.cpp
@@ -0,0 +1,7 @@
+float try_builtin_fmaxf(float x, float y) { return __builtin_fmaxf(x, y); }
+float try_builtin_fminf(float x, float y) { return __builtin_fminf(x, y); }
+
+double try_builtin_fmaxf(double x, double y) { return __builtin_fmax(x, y); }
+double try_builtin_fminf(double x, double y) { return __builtin_fmin(x, y); }
+
+extern "C" void _start() {}
diff --git a/libc/cmake/modules/compiler_features/check_builtin_fmaxf16_fminf16.cpp b/libc/cmake/modules/compiler_features/check_builtin_fmaxf16_fminf16.cpp
new file mode 100644
index 0000000000000..4ce377782800c
--- /dev/null
+++ b/libc/cmake/modules/compiler_features/check_builtin_fmaxf16_fminf16.cpp
@@ -0,0 +1,9 @@
+_Float16 try_builtin_fmaxf16(_Float16 x, _Float16 y) {
+  return __builtin_fmaxf16(x, y);
+}
+
+_Float16 try_builtin_fminf16(_Float16 x, _Float16 y) {
+  return __builtin_fminf16(x, y);
+}
+
+extern "C" void _start() {}
diff --git a/libc/cmake/modules/cpu_features/check_FullFP16.cpp b/libc/cmake/modules/cpu_features/check_FullFP16.cpp
new file mode 100644
index 0000000000000..b757fccc86e4c
--- /dev/null
+++ b/libc/cmake/modules/cpu_features/check_FullFP16.cpp
@@ -0,0 +1,5 @@
+#include "src/__support/macros/properties/cpu_features.h"
+
+#ifndef LIBC_TARGET_CPU_HAS_FULLFP16
+#error unsupported
+#endif
diff --git a/libc/src/__support/FPUtil/BasicOperations.h b/libc/src/__support/FPUtil/BasicOperations.h
index 3b7d7a5c249ae..83c319e151c61 100644
--- a/libc/src/__support/FPUtil/BasicOperations.h
+++ b/libc/src/__support/FPUtil/BasicOperations.h
@@ -17,6 +17,8 @@
 #include "src/__support/common.h"
 #include "src/__support/macros/config.h"
 #include "src/__support/macros/optimization.h" // LIBC_UNLIKELY
+#include "src/__support/macros/properties/architectures.h"
+#include "src/__support/macros/properties/types.h"
 #include "src/__support/uint128.h"
 
 namespace LIBC_NAMESPACE_DECL {
@@ -27,6 +29,90 @@ LIBC_INLINE T abs(T x) {
   return FPBits<T>(x).abs().get_val();
 }
 
+namespace internal {
+
+template <typename T>
+LIBC_INLINE cpp::enable_if_t<cpp::is_floating_point_v<T>, T> max(T x, T y) {
+  FPBits<T> x_bits(x);
+  FPBits<T> y_bits(y);
+
+  // To make sure that fmax(+0, -0) == +0 == fmax(-0, +0), whenever x and y
+  // have different signs and both are not NaNs, we return the number with
+  // positive sign.
+  if (x_bits.sign() != y_bits.sign())
+    return x_bits.is_pos() ? x : y;
+  return x > y ? x : y;
+}
+
+#if defined(__LIBC_USE_BUILTIN_FMAXF16_FMINF16)
+template <> LIBC_INLINE float16 max(float16 x, float16 y) {
+  return __builtin_fmaxf16(x, y);
+}
+#elif !defined(LIBC_TARGET_ARCH_IS_AARCH64)
+template <> LIBC_INLINE float16 max(float16 x, float16 y) {
+  FPBits<float16> x_bits(x);
+  FPBits<float16> y_bits(y);
+
+  // If x and y have different signs, then the one with the lesser uintval is
+  // positive (has the sign bit set to 0), and therefore the maximum.
+  if (x_bits.sign() != y_bits.sign())
+    return x_bits.uintval() < y_bits.uintval() ? x : y;
+  return ((x_bits.uintval() > y_bits.uintval()) == x_bits.is_pos()) ? x : y;
+}
+#endif
+
+#if defined(__LIBC_USE_BUILTIN_FMAX_FMIN) && !defined(LIBC_TARGET_ARCH_IS_X86)
+template <> LIBC_INLINE float max(float x, float y) {
+  return __builtin_fmaxf(x, y);
+}
+
+template <> LIBC_INLINE double max(double x, double y) {
+  return __builtin_fmax(x, y);
+}
+#endif
+
+template <typename T>
+LIBC_INLINE cpp::enable_if_t<cpp::is_floating_point_v<T>, T> min(T x, T y) {
+  FPBits<T> x_bits(x);
+  FPBits<T> y_bits(y);
+
+  // To make sure that fmin(+0, -0) == -0 == fmin(-0, +0), whenever x and y have
+  // different signs and both are not NaNs, we return the number with negative
+  // sign.
+  if (x_bits.sign() != y_bits.sign())
+    return x_bits.is_neg() ? x : y;
+  return x < y ? x : y;
+}
+
+#if defined(__LIBC_USE_BUILTIN_FMAXF16_FMINF16)
+template <> LIBC_INLINE float16 min(float16 x, float16 y) {
+  return __builtin_fminf16(x, y);
+}
+#elif !defined(LIBC_TARGET_ARCH_IS_AARCH64)
+template <> LIBC_INLINE float16 min(float16 x, float16 y) {
+  FPBits<float16> x_bits(x);
+  FPBits<float16> y_bits(y);
+
+  // If x and y have different signs, then the one with the greater uintval is
+  // negative (has the sign bit set to 1), and therefore the minimum.
+  if (x_bits.sign() != y_bits.sign())
+    return x_bits.uintval() > y_bits.uintval() ? x : y;
+  return ((x_bits.uintval() < y_bits.uintval()) == x_bits.is_pos()) ? x : y;
+}
+#endif
+
+#if defined(__LIBC_USE_BUILTIN_FMAX_FMIN) && !defined(LIBC_TARGET_ARCH_IS_X86)
+template <> LIBC_INLINE float min(float x, float y) {
+  return __builtin_fminf(x, y);
+}
+
+template <> LIBC_INLINE double min(double x, double y) {
+  return __builtin_fmin(x, y);
+}
+#endif
+
+} // namespace internal
+
 template <typename T, cpp::enable_if_t<cpp::is_floating_point_v<T>, int> = 0>
 LIBC_INLINE T fmin(T x, T y) {
   const FPBits<T> bitx(x), bity(y);
@@ -35,12 +121,7 @@ LIBC_INLINE T fmin(T x, T y) {
     return y;
   if (bity.is_nan())
     return x;
-  if (bitx.sign() != bity.sign())
-    // To make sure that fmin(+0, -0) == -0 == fmin(-0, +0), whenever x and
-    // y has different signs and both are not NaNs, we return the number
-    // with negative sign.
-    return bitx.is_neg() ? x : y;
-  return x < y ? x : y;
+  return internal::min(x, y);
 }
 
 template <typename T, cpp::enable_if_t<cpp::is_floating_point_v<T>, int> = 0>
@@ -51,12 +132,7 @@ LIBC_INLINE T fmax(T x, T y) {
     return y;
   if (bity.is_nan())
     return x;
-  if (bitx.sign() != bity.sign())
-    // To make sure that fmax(+0, -0) == +0 == fmax(-0, +0), whenever x and
-    // y has different signs and both are not NaNs, we return the number
-    // with positive sign.
-    return bitx.is_neg() ? y : x;
-  return x > y ? x : y;
+  return internal::max(x, y);
 }
 
 template <typename T, cpp::enable_if_t<cpp::is_floating_point_v<T>, int> = 0>
@@ -67,9 +143,7 @@ LIBC_INLINE T fmaximum(T x, T y) {
     return x;
   if (bity.is_nan())
     return y;
-  if (bitx.sign() != bity.sign())
-    return (bitx.is_neg() ? y : x);
-  return x > y ? x : y;
+  return internal::max(x, y);
 }
 
 template <typename T, cpp::enable_if_t<cpp::is_floating_point_v<T>, int> = 0>
@@ -80,9 +154,7 @@ LIBC_INLINE T fminimum(T x, T y) {
     return x;
   if (bity.is_nan())
     return y;
-  if (bitx.sign() != bity.sign())
-    return (bitx.is_neg()) ? x : y;
-  return x < y ? x : y;
+  return internal::min(x, y);
 }
 
 template <typename T, cpp::enable_if_t<cpp::is_floating_point_v<T>, int> = 0>
@@ -97,9 +169,7 @@ LIBC_INLINE T fmaximum_num(T x, T y) {
     return y;
   if (bity.is_nan())
     return x;
-  if (bitx.sign() != bity.sign())
-    return (bitx.is_neg() ? y : x);
-  return x > y ? x : y;
+  return internal::max(x, y);
 }
 
 template <typename T, cpp::enable_if_t<cpp::is_floating_point_v<T>, int> = 0>
@@ -114,9 +184,7 @@ LIBC_INLINE T fminimum_num(T x, T y) {
     return y;
   if (bity.is_nan())
     return x;
-  if (bitx.sign() != bity.sign())
-    return (bitx.is_neg() ? x : y);
-  return x < y ? x : y;
+  return internal::min(x, y);
 }
 
 template <typename T, cpp::enable_if_t<cpp::is_floating_point_v<T>, int> = 0>
diff --git a/libc/src/__support/FPUtil/CMakeLists.txt b/libc/src/__support/FPUtil/CMakeLists.txt
index 8804f3a4d5e23..bfdfffb85c255 100644
--- a/libc/src/__support/FPUtil/CMakeLists.txt
+++ b/libc/src/__support/FPUtil/CMakeLists.txt
@@ -192,6 +192,8 @@ add_header_library(
     libc.src.__support.uint128
     libc.src.__support.common
     libc.src.__support.macros.optimization
+    libc.src.__support.macros.properties.architectures
+    libc.src.__support.macros.properties.types
 )
 
 add_header_library(
diff --git a/libc/src/__support/macros/properties/cpu_features.h b/libc/src/__support/macros/properties/cpu_features.h
index 80d48be702070..8d431f203335f 100644
--- a/libc/src/__support/macros/properties/cpu_features.h
+++ b/libc/src/__support/macros/properties/cpu_features.h
@@ -14,6 +14,10 @@
 
 #include "architectures.h"
 
+#if defined(__ARM_FEATURE_FP16_SCALAR_ARITHMETIC)
+#define LIBC_TARGET_CPU_HAS_FULLFP16
+#endif
+
 #if defined(__SSE2__)
 #define LIBC_TARGET_CPU_HAS_SSE2
 #endif
diff --git a/libc/src/math/generic/CMakeLists.txt b/libc/src/math/generic/CMakeLists.txt
index 74360edff3f9a..ef96d6c4c2f37 100644
--- a/libc/src/math/generic/CMakeLists.txt
+++ b/libc/src/math/generic/CMakeLists.txt
@@ -2065,7 +2065,9 @@ add_entrypoint_object(
   DEPENDS
     libc.src.__support.FPUtil.basic_operations
   COMPILE_OPTIONS
-    -O2
+    -O3
+  FLAGS
+    MISC_MATH_BASIC_OPS_OPT
 )
 
 add_entrypoint_object(
@@ -2077,7 +2079,9 @@ add_entrypoint_object(
   DEPENDS
     libc.src.__support.FPUtil.basic_operations
   COMPILE_OPTIONS
-    -O2
+    -O3
+  FLAGS
+    MISC_MATH_BASIC_OPS_OPT
 )
 
 add_entrypoint_object(
@@ -2089,7 +2093,7 @@ add_entrypoint_object(
   DEPENDS
     libc.src.__support.FPUtil.basic_operations
   COMPILE_OPTIONS
-    -O2
+    -O3
 )
 
 add_entrypoint_object(
@@ -2116,6 +2120,8 @@ add_entrypoint_object(
     libc.src.__support.FPUtil.basic_operations
   COMPILE_OPTIONS
     -O3
+  FLAGS
+    MISC_MATH_BASIC_OPS_OPT
 )
 
 
@@ -2128,7 +2134,9 @@ add_entrypoint_object(
   DEPENDS
     libc.src.__support.FPUtil.basic_operations
   COMPILE_OPTIONS
-    -O2
+    -O3
+  FLAGS
+    MISC_MATH_BASIC_OPS_OPT
 )
 
 add_entrypoint_object(
@@ -2140,7 +2148,9 @@ add_entrypoint_object(
   DEPENDS
     libc.src.__support.FPUtil.basic_operations
   COMPILE_OPTIONS
-    -O2
+    -O3
+  FLAGS
+    MISC_MATH_BASIC_OPS_OPT
 )
 
 add_entrypoint_object(
@@ -2152,7 +2162,7 @@ add_entrypoint_object(
   DEPENDS
     libc.src.__support.FPUtil.basic_operations
   COMPILE_OPTIONS
-    -O2
+    -O3
 )
 
 add_entrypoint_object(
@@ -2179,6 +2189,8 @@ add_entrypoint_object(
     libc.src.__support.FPUtil.basic_operations
   COMPILE_OPTIONS
     -O3
+  FLAGS
+    MISC_MATH_BASIC_OPS_OPT
 )
 
 add_entrypoint_object(
@@ -2190,7 +2202,9 @@ add_entrypoint_object(
   DEPENDS
     libc.src.__support.FPUtil.basic_operations
   COMPILE_OPTIONS
-    -O2
+    -O3
+  FLAGS
+    MISC_MATH_BASIC_OPS_OPT
 )
 
 add_entrypoint_object(
@@ -2202,7 +2216,9 @@ add_entrypoint_object(
   DEPENDS
     libc.src.__support.FPUtil.basic_operations
   COMPILE_OPTIONS
-    -O2
+    -O3
+  FLAGS
+    MISC_MATH_BASIC_OPS_OPT
 )
 
 add_entrypoint_object(
@@ -2214,7 +2230,7 @@ add_entrypoint_object(
   DEPENDS
     libc.src.__support.FPUtil.basic_operations
   COMPILE_OPTIONS
-    -O2
+    -O3
 )
 
 add_entrypoint_object(
@@ -2228,6 +2244,8 @@ add_entrypoint_object(
     libc.src.__support.FPUtil.basic_operations
   COMPILE_OPTIONS
     -O3
+  FLAGS
+    MISC_MATH_BASIC_OPS_OPT
 )
 
 add_entrypoint_object(
@@ -2252,7 +2270,9 @@ add_entrypoint_object(
   DEPENDS
     libc.src.__support.FPUtil.basic_operations
   COMPILE_OPTIONS
-    -O2
+    -O3
+  FLAGS
+    MISC_MATH_BASIC_OPS_OPT
 )
 
 add_entrypoint_object(
@@ -2264,7 +2284,9 @@ add_entrypoint_object(
   DEPENDS
     libc.src.__support.FPUtil.basic_operations
   COMPILE_OPTIONS
-    -O2
+    -O3
+  FLAGS
+    MISC_MATH_BASIC_OPS_OPT
 )
 
 add_entrypoint_object(
@@ -2276,7 +2298,7 @@ add_entrypoint_object(
   DEPENDS
     libc.src.__support.FPUtil.basic_operations
   COMPILE_OPTIONS
-    -O2
+    -O3
 )
 
 add_entrypoint_object(
@@ -2290,6 +2312,8 @@ add_entrypoint_object(
     libc.src.__support.FPUtil.basic_operations
   COMPILE_OPTIONS
     -O3
+  FLAGS
+    MISC_MATH_BASIC_OPS_OPT
 )
 
 add_entrypoint_object(
@@ -2438,7 +2462,9 @@ add_entrypoint_object(
   DEPENDS
     libc.src.__support.FPUtil.basic_operations
   COMPILE_OPTIONS
-    -O2
+    -O3
+  FLAGS
+    MISC_MATH_BASIC_OPS_OPT
 )
 
 add_entrypoint_object(
@@ -2450,7 +2476,9 @@ add_entrypoint_object(
   DEPENDS
     libc.src.__support.FPUtil.basic_operations
   COMPILE_OPTIONS
-    -O2
+    -O3
+  FLAGS
+    MISC_MATH_BASIC_OPS_OPT
 )
 
 add_entrypoint_object(
@@ -2462,7 +2490,7 @@ add_entrypoint_object(
   DEPENDS
     libc.src.__support.FPUtil.basic_operations
   COMPILE_OPTIONS
-    -O2
+    -O3
 )
 
 add_entrypoint_object(
@@ -2476,6 +2504,8 @@ add_entrypoint_object(
     libc.src.__support.FPUtil.basic_operations
   COMPILE_OPTIONS
     -O3
+  FLAGS
+    MISC_MATH_BASIC_OPS_OPT
 )
 
 add_entrypoint_object(
@@ -2500,7 +2530,9 @@ add_entrypoint_object(
   DEPENDS
     libc.src.__support.FPUtil.basic_operations
   COMPILE_OPTIONS
-    -O2
+    -O3
+  FLAGS
+    MISC_MATH_BASIC_OPS_OPT
 )
 
 add_entrypoint_object(
@@ -2512,7 +2544,9 @@ add_entrypoint_object(
   DEPENDS
     libc.src.__support.FPUtil.basic_operations
   COMPILE_OPTIONS
-    -O2
+    -O3
+  FLAGS
+    MISC_MATH_BASIC_OPS_OPT
 )
 
 add_entrypoint_object(
@@ -2524,7 +2558,7 @@ add_entrypoint_object(
   DEPENDS
     libc.src.__support.FPUtil.basic_operations
   COMPILE_OPTIONS
-    -O2
+    -O3
 )
 
 add_entrypoint_object(
@@ -2538,6 +2572,8 @@ add_entrypoint_object(
     libc.src.__support.FPUtil.basic_operations
   COMPILE_OPTIONS
     -O3
+  FLAGS
+    MISC_MATH_BASIC_OPS_OPT
 )
 
 add_entrypoint_object(
diff --git a/libc/test/src/math/performance_testing/CMakeLists.txt b/libc/test/src/math/performance_testing/CMakeLists.txt
index 72e1a730ac756..536338bf2a56a 100644
--- a/libc/test/src/math/performance_testing/CMakeLists.txt
+++ b/libc/test/src/math/performance_testing/CMakeLists.txt
@@ -421,3 +421,25 @@ add_perf_binary(
   COMPILE_OPTIONS
     -fno-builtin
 )
+
+add_perf_binary(
+  max_min_funcs_perf
+  SRCS
+    max_min_funcs_perf.cpp
+  DEPENDS
+    .binary_op_single_output_diff
+    libc.src.math.fmaxf
+    libc.src.math.fmaxf16
+    libc.src.math.fmaximumf
+    libc.src.math.fmaximumf16
+    libc.src.math.fmaximum_numf
+    libc.src.math.fmaximum_numf16
+    libc.src.math.fminf
+    libc.src.math.fminf16
+    libc.src.math.fminimumf
+    libc.src.math.fminimumf16
+    libc.src.math.fminimum_numf
+    libc.src.math.fminimum_numf16
+  COMPILE_OPTIONS
+    -fno-builtin
+)
diff --git a/libc/test/src/math/performance_testing/max_min_funcs_perf.cpp b/libc/test/src/math/performance_testing/max_min_funcs_perf.cpp
new file mode 100644
index 0000000000000..9540112e69ea6
--- /dev/null
+++ b/libc/test/src/math/performance_testing/max_min_funcs_perf.cpp
@@ -0,0 +1,75 @@
+//===-- Performance test for maximum and minimum functions ----------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#include "BinaryOpSingleOutputPerf.h"
+#include "src/math/fmaxf.h"
+#include "src/math/fmaxf16.h"
+#include "src/math/fmaximum_numf.h"
+#include "src/math/fmaximum_numf16.h"
+#include "src/math/fmaximumf.h"
+#include "src/math/fmaximumf16.h"
+#include "src/math/fminf.h"
+#include "src/math/fminf16.h"
+#include "src/math/fminimum_numf.h"
+#include "src/math/fminimum_numf16.h"
+#include "src/math/fminimumf.h"
+#include "src/math/fminimumf16.h"
+
+#include <math.h>
+
+static constexpr size_t FLOAT16_ROUNDS = 20'000;
+static constexpr size_t FLOAT_ROUNDS = 40;
+
+// LLVM libc might be the only libc implementation with support for float16 math
+// functions currently. We can't compare our float16 functions against the
+// system libc, so we compare them against this placeholder function.
+float16 placeholder_binaryf16(float16 x, float16 y) { return x; }
+
+// The system libc might not provide the fmaximum* and fminimum* C23 math
+// functions either.
+float placeholder_binaryf(float x, float y) { return x; }
+
+int main() {
+  BINARY_OP_SINGLE_OUTPUT_PERF_EX(float16, LIBC_NAMESPACE::fmaxf16,
+                                  placeholder_binaryf16, FLOAT16_ROUNDS,
+                                  "fmaxf16_perf.log")
+  BINARY_OP_SINGLE_OUTPUT_PERF_EX(float16, LIBC_NAMESPACE::fminf16,
+                                  placeholder_binaryf16, FLOAT16_ROUNDS,
+                                  "fminf16_perf.log")
+  BINARY_OP_SINGLE_OUTPUT_PERF_EX(float16, LIBC_NAMESPACE::fmaximumf16,
+                                  placeholder_binaryf16, FLOAT16_ROUNDS,
+                                  "fmaximumf16_perf.log")
+  BINARY_OP_SINGLE_OUTPUT_PERF_EX(float16, LIBC_NAMESPACE::fminimumf16,
+                                  placeholder_binaryf16, FLOAT16_ROUNDS,
+                                  "fminimumf16_perf.log")
+  BINARY_OP_SINGLE_OUTPUT_PERF_EX(float16, LIBC_NAMESPACE::fmaximum_numf16,
+                                  placeholder_binaryf16, FLOAT16_ROUNDS,
+                                  "fmaximum_numf16_perf.log")
+  BINARY_OP_SINGLE_OUTPUT_PERF_EX(float16, LIBC_NAMESPACE::fminimum_numf16,
+                                  placeholder_binaryf16, FLOAT16_ROUNDS,
+                                  "fminimum_numf16_perf.log")
+
+  BINARY_OP_SINGLE_OUTPUT_PERF_EX(float, LIBC_NAMESPACE::fmaxf, ::fmaxf,
+                                  FLOAT_ROUNDS, "fmaxf_perf.log")
+  BINARY_OP_SINGLE_OUTPUT_PERF_EX(float, LIBC_NAMESPACE::fminf, ::fminf,
+                                  FLOAT_ROUNDS, "fminf_perf.log")
+  BINARY_OP_SINGLE_OUTPUT_PERF_EX(float, LIBC_NAMESPACE::fmaximumf,
+                                  placeholder_binaryf, FLOAT_ROUNDS,
+                                  "fmaximumf_perf.log")
+  BINARY_OP_SINGLE_OUTPUT_PERF_EX(float, LIBC_NAMESPACE::fminimumf,
+                                  placeholder_binaryf, FLOAT_ROUNDS,
+                                  "fminimumf_perf.log")
+  BINARY_O...
[truncated]

@overmighty
Copy link
Member Author

Before:

  • Intel Core i7-13700H, Clang 18
    • fmaxf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 83718538 ns 
           Average runtime : 2.09296 ns/op 
           Ops per second  : 477791907 op/s 
      -- Other function --
           Total time      : 55335013 ns 
           Average runtime : 1.38337 ns/op 
           Ops per second  : 722870346 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 1.51294 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 76354575 ns
      Average runtime : 1.90886 ns/op
      Ops per second : 523872210 op/s
      -- Other function --
      Total time : 52798788 ns
      Average runtime : 1.31997 ns/op
      Ops per second : 757593905 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.44614

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 79979326 ns
      Average runtime : 1.99948 ns/op
      Ops per second : 500129746 op/s
      -- Other function --
      Total time : 53014929 ns
      Average runtime : 1.32537 ns/op
      Ops per second : 754505207 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.50862

    • fmaxf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 2735968555 ns 
           Average runtime : 133.723 ns/op 
           Ops per second  : 7478156 op/s 
      -- Other function --
           Total time      : 27224426 ns 
           Average runtime : 1.33062 ns/op 
           Ops per second  : 751530996 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 100.497 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 4417129285 ns
      Average runtime : 7.18957 ns/op
      Ops per second : 139090336 op/s
      -- Other function --
      Total time : 810857860 ns
      Average runtime : 1.3198 ns/op
      Ops per second : 757691366 op/s
      -- Average runtime ratio --
      Mine / Other's : 5.44748

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 2945039405 ns
      Average runtime : 7.19004 ns/op
      Ops per second : 139081330 op/s
      -- Other function --
      Total time : 540534834 ns
      Average runtime : 1.31967 ns/op
      Ops per second : 757767999 op/s
      -- Average runtime ratio --
      Mine / Other's : 5.44838

    • fmaximumf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 57324820 ns 
           Average runtime : 1.43312 ns/op 
           Ops per second  : 697778728 op/s 
      -- Other function --
           Total time      : 44271783 ns 
           Average runtime : 1.10679 ns/op 
           Ops per second  : 903510933 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 1.29484 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 53208916 ns
      Average runtime : 1.33022 ns/op
      Ops per second : 751754461 op/s
      -- Other function --
      Total time : 42239959 ns
      Average runtime : 1.056 ns/op
      Ops per second : 946971563 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.25968

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 53294939 ns
      Average runtime : 1.33237 ns/op
      Ops per second : 750541059 op/s
      -- Other function --
      Total time : 42416670 ns
      Average runtime : 1.06042 ns/op
      Ops per second : 943026409 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.25646

    • fmaximumf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 2733990717 ns 
           Average runtime : 133.626 ns/op 
           Ops per second  : 7483566 op/s 
      -- Other function --
           Total time      : 27182146 ns 
           Average runtime : 1.32855 ns/op 
           Ops per second  : 752699952 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 100.58 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 4407432956 ns
      Average runtime : 7.17379 ns/op
      Ops per second : 139396334 op/s
      -- Other function --
      Total time : 810801322 ns
      Average runtime : 1.31971 ns/op
      Ops per second : 757744201 op/s
      -- Average runtime ratio --
      Mine / Other's : 5.4359

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 2937937609 ns
      Average runtime : 7.1727 ns/op
      Ops per second : 139417528 op/s
      -- Other function --
      Total time : 540654495 ns
      Average runtime : 1.31996 ns/op
      Ops per second : 757600285 op/s
      -- Average runtime ratio --
      Mine / Other's : 5.43404

    • fmaximum_numf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 121964961 ns 
           Average runtime : 3.04912 ns/op 
           Ops per second  : 327963373 op/s 
      -- Other function --
           Total time      : 44268128 ns 
           Average runtime : 1.1067 ns/op 
           Ops per second  : 903585532 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 2.75514 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 116677300 ns
      Average runtime : 2.91693 ns/op
      Ops per second : 342826239 op/s
      -- Other function --
      Total time : 42229583 ns
      Average runtime : 1.05574 ns/op
      Ops per second : 947204238 op/s
      -- Average runtime ratio --
      Mine / Other's : 2.76293

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 116647999 ns
      Average runtime : 2.9162 ns/op
      Ops per second : 342912354 op/s
      -- Other function --
      Total time : 42420295 ns
      Average runtime : 1.06051 ns/op
      Ops per second : 942945823 op/s
      -- Average runtime ratio --
      Mine / Other's : 2.74982

    • fmaximum_numf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 2736311797 ns 
           Average runtime : 133.74 ns/op 
           Ops per second  : 7477218 op/s 
      -- Other function --
           Total time      : 27192683 ns 
           Average runtime : 1.32907 ns/op 
           Ops per second  : 752408285 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 100.627 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 5159571126 ns
      Average runtime : 8.39801 ns/op
      Ops per second : 119075788 op/s
      -- Other function --
      Total time : 810784210 ns
      Average runtime : 1.31968 ns/op
      Ops per second : 757760193 op/s
      -- Average runtime ratio --
      Mine / Other's : 6.36368

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 3439441856 ns
      Average runtime : 8.39707 ns/op
      Ops per second : 119089089 op/s
      -- Other function --
      Total time : 540653092 ns
      Average runtime : 1.31995 ns/op
      Ops per second : 757602251 op/s
      -- Average runtime ratio --
      Mine / Other's : 6.36164

    • fminf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 56094325 ns 
           Average runtime : 1.40236 ns/op 
           Ops per second  : 713085325 op/s 
      -- Other function --
           Total time      : 55334516 ns 
           Average runtime : 1.38336 ns/op 
           Ops per second  : 722876838 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 1.01373 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 52865515 ns
      Average runtime : 1.32164 ns/op
      Ops per second : 756637668 op/s
      -- Other function --
      Total time : 52789647 ns
      Average runtime : 1.31974 ns/op
      Ops per second : 757725089 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.00144

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 53176228 ns
      Average runtime : 1.3294 ns/op
      Ops per second : 752216573 op/s
      -- Other function --
      Total time : 53016883 ns
      Average runtime : 1.32542 ns/op
      Ops per second : 754477399 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.00301

    • fminf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 2723243474 ns 
           Average runtime : 133.101 ns/op 
           Ops per second  : 7513099 op/s 
      -- Other function --
           Total time      : 27191011 ns 
           Average runtime : 1.32898 ns/op 
           Ops per second  : 752454551 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 100.152 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 5022600442 ns
      Average runtime : 8.17507 ns/op
      Ops per second : 122323088 op/s
      -- Other function --
      Total time : 810754210 ns
      Average runtime : 1.31963 ns/op
      Ops per second : 757788232 op/s
      -- Average runtime ratio --
      Mine / Other's : 6.19497

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 3348971937 ns
      Average runtime : 8.1762 ns/op
      Ops per second : 122306190 op/s
      -- Other function --
      Total time : 540627041 ns
      Average runtime : 1.31989 ns/op
      Ops per second : 757638758 op/s
      -- Average runtime ratio --
      Mine / Other's : 6.19461

    • fminimumf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 56098920 ns 
           Average runtime : 1.40247 ns/op 
           Ops per second  : 713026917 op/s 
      -- Other function --
           Total time      : 44268225 ns 
           Average runtime : 1.1067 ns/op 
           Ops per second  : 903583552 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 1.26725 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 53321833 ns
      Average runtime : 1.33304 ns/op
      Ops per second : 750162508 op/s
      -- Other function --
      Total time : 42236565 ns
      Average runtime : 1.05591 ns/op
      Ops per second : 947047658 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.26246

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 53508597 ns
      Average runtime : 1.33771 ns/op
      Ops per second : 747544175 op/s
      -- Other function --
      Total time : 42414396 ns
      Average runtime : 1.06036 ns/op
      Ops per second : 943076968 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.26157

    • fminimumf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 2721416470 ns 
           Average runtime : 133.012 ns/op 
           Ops per second  : 7518143 op/s 
      -- Other function --
           Total time      : 27184599 ns 
           Average runtime : 1.32867 ns/op 
           Ops per second  : 752632032 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 100.109 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 4692254866 ns
      Average runtime : 7.63738 ns/op
      Ops per second : 130934916 op/s
      -- Other function --
      Total time : 810817381 ns
      Average runtime : 1.31973 ns/op
      Ops per second : 757729193 op/s
      -- Average runtime ratio --
      Mine / Other's : 5.78707

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 3128050757 ns
      Average runtime : 7.63684 ns/op
      Ops per second : 130944166 op/s
      -- Other function --
      Total time : 540653959 ns
      Average runtime : 1.31996 ns/op
      Ops per second : 757601037 op/s
      -- Average runtime ratio --
      Mine / Other's : 5.78568

    • fminimum_numf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 101254020 ns 
           Average runtime : 2.53135 ns/op 
           Ops per second  : 395046438 op/s 
      -- Other function --
           Total time      : 44268299 ns 
           Average runtime : 1.10671 ns/op 
           Ops per second  : 903582041 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 2.28728 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 94634137 ns
      Average runtime : 2.36585 ns/op
      Ops per second : 422680876 op/s
      -- Other function --
      Total time : 42230209 ns
      Average runtime : 1.05575 ns/op
      Ops per second : 947190197 op/s
      -- Average runtime ratio --
      Mine / Other's : 2.24091

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 96387771 ns
      Average runtime : 2.40969 ns/op
      Ops per second : 414990818 op/s
      -- Other function --
      Total time : 42410602 ns
      Average runtime : 1.06026 ns/op
      Ops per second : 943161334 op/s
      -- Average runtime ratio --
      Mine / Other's : 2.27273

    • fminimum_numf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 2729719615 ns 
           Average runtime : 133.417 ns/op 
           Ops per second  : 7495275 op/s 
      -- Other function --
           Total time      : 27175069 ns 
           Average runtime : 1.3282 ns/op 
           Ops per second  : 752895972 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 100.449 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 5146693030 ns
      Average runtime : 8.37705 ns/op
      Ops per second : 119373740 op/s
      -- Other function --
      Total time : 810838876 ns
      Average runtime : 1.31977 ns/op
      Ops per second : 757709106 op/s
      -- Average runtime ratio --
      Mine / Other's : 6.34737

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 3431230321 ns
      Average runtime : 8.37703 ns/op
      Ops per second : 119374090 op/s
      -- Other function --
      Total time : 540677767 ns
      Average runtime : 1.32001 ns/op
      Ops per second : 757567677 op/s
      -- Average runtime ratio --
      Mine / Other's : 6.34616

  • Intel Core i7-13700H, Clang 18, -march=native
    • fmaxf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 85613121 ns 
           Average runtime : 2.14033 ns/op 
           Ops per second  : 467218570 op/s 
      -- Other function --
           Total time      : 66478069 ns 
           Average runtime : 1.66195 ns/op 
           Ops per second  : 601702796 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 1.28784 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 75541392 ns
      Average runtime : 1.88853 ns/op
      Ops per second : 529511555 op/s
      -- Other function --
      Total time : 63548350 ns
      Average runtime : 1.58871 ns/op
      Ops per second : 629442621 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.18872

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 76380676 ns
      Average runtime : 1.90951 ns/op
      Ops per second : 523693191 op/s
      -- Other function --
      Total time : 63616920 ns
      Average runtime : 1.59042 ns/op
      Ops per second : 628764171 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.20063

    • fmaxf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 126233310 ns 
           Average runtime : 6.16976 ns/op 
           Ops per second  : 162080832 op/s 
      -- Other function --
           Total time      : 21818663 ns 
           Average runtime : 1.06641 ns/op 
           Ops per second  : 937729319 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 5.78557 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 3794560046 ns
      Average runtime : 6.17624 ns/op
      Ops per second : 161910733 op/s
      -- Other function --
      Total time : 651657499 ns
      Average runtime : 1.06067 ns/op
      Ops per second : 942795871 op/s
      -- Average runtime ratio --
      Mine / Other's : 5.82294

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 2529646972 ns
      Average runtime : 6.1759 ns/op
      Ops per second : 161919826 op/s
      -- Other function --
      Total time : 432591185 ns
      Average runtime : 1.05613 ns/op
      Ops per second : 946852395 op/s
      -- Average runtime ratio --
      Mine / Other's : 5.84766

    • fmaximumf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 66427041 ns 
           Average runtime : 1.66067 ns/op 
           Ops per second  : 602165012 op/s 
      -- Other function --
           Total time      : 55342722 ns 
           Average runtime : 1.38357 ns/op 
           Ops per second  : 722769653 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 1.20029 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 63354984 ns
      Average runtime : 1.58387 ns/op
      Ops per second : 631363745 op/s
      -- Other function --
      Total time : 52788592 ns
      Average runtime : 1.31971 ns/op
      Ops per second : 757740232 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.20016

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 63674404 ns
      Average runtime : 1.59186 ns/op
      Ops per second : 628196535 op/s
      -- Other function --
      Total time : 53023324 ns
      Average runtime : 1.32558 ns/op
      Ops per second : 754385749 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.20088

    • fmaximumf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 126561992 ns 
           Average runtime : 6.18583 ns/op 
           Ops per second  : 161659908 op/s 
      -- Other function --
           Total time      : 21802056 ns 
           Average runtime : 1.06559 ns/op 
           Ops per second  : 938443603 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 5.80505 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 3788555197 ns
      Average runtime : 6.16647 ns/op
      Ops per second : 162167361 op/s
      -- Other function --
      Total time : 650149387 ns
      Average runtime : 1.05822 ns/op
      Ops per second : 944982818 op/s
      -- Average runtime ratio --
      Mine / Other's : 5.82721

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 2529488383 ns
      Average runtime : 6.17551 ns/op
      Ops per second : 161929978 op/s
      -- Other function --
      Total time : 433941540 ns
      Average runtime : 1.05943 ns/op
      Ops per second : 943905946 op/s
      -- Average runtime ratio --
      Mine / Other's : 5.8291

    • fmaximum_numf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 113246490 ns 
           Average runtime : 2.83116 ns/op 
           Ops per second  : 353212183 op/s 
      -- Other function --
           Total time      : 55341436 ns 
           Average runtime : 1.38353 ns/op 
           Ops per second  : 722786448 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 2.04632 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 106019717 ns
      Average runtime : 2.65049 ns/op
      Ops per second : 377288688 op/s
      -- Other function --
      Total time : 52786819 ns
      Average runtime : 1.31967 ns/op
      Ops per second : 757765683 op/s
      -- Average runtime ratio --
      Mine / Other's : 2.00845

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 108348683 ns
      Average runtime : 2.70871 ns/op
      Ops per second : 369178829 op/s
      -- Other function --
      Total time : 53020773 ns
      Average runtime : 1.32552 ns/op
      Ops per second : 754422045 op/s
      -- Average runtime ratio --
      Mine / Other's : 2.04351

    • fmaximum_numf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 141136003 ns 
           Average runtime : 6.89814 ns/op 
           Ops per second  : 144966553 op/s 
      -- Other function --
           Total time      : 21815069 ns 
           Average runtime : 1.06623 ns/op 
           Ops per second  : 937883808 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 6.46966 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 4238240833 ns
      Average runtime : 6.8984 ns/op
      Ops per second : 144961087 op/s
      -- Other function --
      Total time : 651513726 ns
      Average runtime : 1.06044 ns/op
      Ops per second : 943003923 op/s
      -- Average runtime ratio --
      Mine / Other's : 6.50522

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 2825517337 ns
      Average runtime : 6.89824 ns/op
      Ops per second : 144964603 op/s
      -- Other function --
      Total time : 434004679 ns
      Average runtime : 1.05958 ns/op
      Ops per second : 943768626 op/s
      -- Average runtime ratio --
      Mine / Other's : 6.51034

    • fminf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 66400287 ns 
           Average runtime : 1.66001 ns/op 
           Ops per second  : 602407637 op/s 
      -- Other function --
           Total time      : 66401998 ns 
           Average runtime : 1.66005 ns/op 
           Ops per second  : 602392114 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 0.999974 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 63388208 ns
      Average runtime : 1.5847 ns/op
      Ops per second : 631032825 op/s
      -- Other function --
      Total time : 63353066 ns
      Average runtime : 1.58383 ns/op
      Ops per second : 631382859 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.00055

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 63632460 ns
      Average runtime : 1.59081 ns/op
      Ops per second : 628610617 op/s
      -- Other function --
      Total time : 63666705 ns
      Average runtime : 1.59167 ns/op
      Ops per second : 628272501 op/s
      -- Average runtime ratio --
      Mine / Other's : 0.999462

    • fminf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 124149450 ns 
           Average runtime : 6.06791 ns/op 
           Ops per second  : 164801374 op/s 
      -- Other function --
           Total time      : 21814070 ns 
           Average runtime : 1.06618 ns/op 
           Ops per second  : 937926760 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 5.69126 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 3756600844 ns
      Average runtime : 6.11446 ns/op
      Ops per second : 163546787 op/s
      -- Other function --
      Total time : 650146268 ns
      Average runtime : 1.05822 ns/op
      Ops per second : 944987351 op/s
      -- Average runtime ratio --
      Mine / Other's : 5.77809

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 2501929443 ns
      Average runtime : 6.10823 ns/op
      Ops per second : 163713649 op/s
      -- Other function --
      Total time : 433990992 ns
      Average runtime : 1.05955 ns/op
      Ops per second : 943798391 op/s
      -- Average runtime ratio --
      Mine / Other's : 5.76493

    • fminimumf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 66423732 ns 
           Average runtime : 1.66059 ns/op 
           Ops per second  : 602195010 op/s 
      -- Other function --
           Total time      : 55332363 ns 
           Average runtime : 1.38331 ns/op 
           Ops per second  : 722904966 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 1.20045 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 63353568 ns
      Average runtime : 1.58384 ns/op
      Ops per second : 631377857 op/s
      -- Other function --
      Total time : 52799373 ns
      Average runtime : 1.31998 ns/op
      Ops per second : 757585511 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.19989

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 63621892 ns
      Average runtime : 1.59055 ns/op
      Ops per second : 628715034 op/s
      -- Other function --
      Total time : 53022357 ns
      Average runtime : 1.32556 ns/op
      Ops per second : 754399507 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.19991

    • fminimumf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 126106446 ns 
           Average runtime : 6.16356 ns/op 
           Ops per second  : 162243887 op/s 
      -- Other function --
           Total time      : 21815087 ns 
           Average runtime : 1.06623 ns/op 
           Ops per second  : 937883034 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 5.7807 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 3770172618 ns
      Average runtime : 6.13655 ns/op
      Ops per second : 162958055 op/s
      -- Other function --
      Total time : 650098699 ns
      Average runtime : 1.05814 ns/op
      Ops per second : 945056498 op/s
      -- Average runtime ratio --
      Mine / Other's : 5.79938

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 2521353332 ns
      Average runtime : 6.15565 ns/op
      Ops per second : 162452439 op/s
      -- Other function --
      Total time : 432509897 ns
      Average runtime : 1.05593 ns/op
      Ops per second : 947030352 op/s
      -- Average runtime ratio --
      Mine / Other's : 5.82959

    • fminimum_numf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 99610412 ns 
           Average runtime : 2.49026 ns/op 
           Ops per second  : 401564848 op/s 
      -- Other function --
           Total time      : 55333165 ns 
           Average runtime : 1.38333 ns/op 
           Ops per second  : 722894488 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 1.80019 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 91811664 ns
      Average runtime : 2.29529 ns/op
      Ops per second : 435674926 op/s
      -- Other function --
      Total time : 52786293 ns
      Average runtime : 1.31966 ns/op
      Ops per second : 757773234 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.73931

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 95423266 ns
      Average runtime : 2.38558 ns/op
      Ops per second : 419185400 op/s
      -- Other function --
      Total time : 53016065 ns
      Average runtime : 1.3254 ns/op
      Ops per second : 754489040 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.79989

    • fminimum_numf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 140446034 ns 
           Average runtime : 6.86442 ns/op 
           Ops per second  : 145678730 op/s 
      -- Other function --
           Total time      : 21814455 ns 
           Average runtime : 1.0662 ns/op 
           Ops per second  : 937910206 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 6.43821 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 4236272764 ns
      Average runtime : 6.8952 ns/op
      Ops per second : 145028432 op/s
      -- Other function --
      Total time : 648699849 ns
      Average runtime : 1.05586 ns/op
      Ops per second : 947094408 op/s
      -- Average runtime ratio --
      Mine / Other's : 6.53041

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 2823455539 ns
      Average runtime : 6.8932 ns/op
      Ops per second : 145070462 op/s
      -- Other function --
      Total time : 432519832 ns
      Average runtime : 1.05596 ns/op
      Ops per second : 947008598 op/s
      -- Average runtime ratio --
      Mine / Other's : 6.52792

  • Intel Core i7-13700H, GCC 14
    • fmaxf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 72535954 ns 
           Average runtime : 1.8134 ns/op 
           Ops per second  : 551451215 op/s 
      -- Other function --
           Total time      : 66469859 ns 
           Average runtime : 1.66174 ns/op 
           Ops per second  : 601777115 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 1.09126 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 69100940 ns
      Average runtime : 1.72752 ns/op
      Ops per second : 578863905 op/s
      -- Other function --
      Total time : 63298716 ns
      Average runtime : 1.58247 ns/op
      Ops per second : 631924982 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.09166

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 84821803 ns
      Average runtime : 2.12054 ns/op
      Ops per second : 471577337 op/s
      -- Other function --
      Total time : 63522417 ns
      Average runtime : 1.58806 ns/op
      Ops per second : 629699590 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.33531

    • fmaxf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 2719170890 ns 
           Average runtime : 132.902 ns/op 
           Ops per second  : 7524352 op/s 
      -- Other function --
           Total time      : 26988516 ns 
           Average runtime : 1.31909 ns/op 
           Ops per second  : 758100223 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 100.753 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 4061137248 ns
      Average runtime : 6.61014 ns/op
      Ops per second : 151282747 op/s
      -- Other function --
      Total time : 704092798 ns
      Average runtime : 1.14602 ns/op
      Ops per second : 872583843 op/s
      -- Average runtime ratio --
      Mine / Other's : 5.7679

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 2707755754 ns
      Average runtime : 6.61073 ns/op
      Ops per second : 151269182 op/s
      -- Other function --
      Total time : 461143950 ns
      Average runtime : 1.12584 ns/op
      Ops per second : 888225899 op/s
      -- Average runtime ratio --
      Mine / Other's : 5.87182

    • fmaximumf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 66684985 ns 
           Average runtime : 1.66712 ns/op 
           Ops per second  : 599835780 op/s 
      -- Other function --
           Total time      : 55018775 ns 
           Average runtime : 1.37547 ns/op 
           Ops per second  : 727025274 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 1.21204 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 65952119 ns
      Average runtime : 1.6488 ns/op
      Ops per second : 606501210 op/s
      -- Other function --
      Total time : 52643277 ns
      Average runtime : 1.31608 ns/op
      Ops per second : 759831877 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.25281

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 65176248 ns
      Average runtime : 1.6294 ns/op
      Ops per second : 613721121 op/s
      -- Other function --
      Total time : 53024372 ns
      Average runtime : 1.32561 ns/op
      Ops per second : 754370839 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.22918

    • fmaximumf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 2691777982 ns 
           Average runtime : 131.563 ns/op 
           Ops per second  : 7600924 op/s 
      -- Other function --
           Total time      : 27052124 ns 
           Average runtime : 1.3222 ns/op 
           Ops per second  : 756317692 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 99.5034 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 4104703245 ns
      Average runtime : 6.68105 ns/op
      Ops per second : 149677080 op/s
      -- Other function --
      Total time : 706735543 ns
      Average runtime : 1.15032 ns/op
      Ops per second : 869320930 op/s
      -- Average runtime ratio --
      Mine / Other's : 5.80798

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 2735682482 ns
      Average runtime : 6.67891 ns/op
      Ops per second : 149724978 op/s
      -- Other function --
      Total time : 466392235 ns
      Average runtime : 1.13865 ns/op
      Ops per second : 878230744 op/s
      -- Average runtime ratio --
      Mine / Other's : 5.86563

    • fmaximum_numf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 84692029 ns 
           Average runtime : 2.1173 ns/op 
           Ops per second  : 472299937 op/s 
      -- Other function --
           Total time      : 55117889 ns 
           Average runtime : 1.37795 ns/op 
           Ops per second  : 725717924 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 1.53656 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 79849731 ns
      Average runtime : 1.99624 ns/op
      Ops per second : 500941449 op/s
      -- Other function --
      Total time : 51974535 ns
      Average runtime : 1.29936 ns/op
      Ops per second : 769608424 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.53632

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 77794868 ns
      Average runtime : 1.94487 ns/op
      Ops per second : 514173248 op/s
      -- Other function --
      Total time : 52456483 ns
      Average runtime : 1.31141 ns/op
      Ops per second : 762537587 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.48304

    • fmaximum_numf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 2719806397 ns 
           Average runtime : 132.933 ns/op 
           Ops per second  : 7522594 op/s 
      -- Other function --
           Total time      : 26350887 ns 
           Average runtime : 1.28792 ns/op 
           Ops per second  : 776444451 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 103.215 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 4233564583 ns
      Average runtime : 6.89079 ns/op
      Ops per second : 145121206 op/s
      -- Other function --
      Total time : 698458717 ns
      Average runtime : 1.13685 ns/op
      Ops per second : 879622495 op/s
      -- Average runtime ratio --
      Mine / Other's : 6.0613

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 2822309476 ns
      Average runtime : 6.8904 ns/op
      Ops per second : 145129371 op/s
      -- Other function --
      Total time : 464264114 ns
      Average runtime : 1.13346 ns/op
      Ops per second : 882256430 op/s
      -- Average runtime ratio --
      Mine / Other's : 6.0791

    • fminf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 78250500 ns 
           Average runtime : 1.95626 ns/op 
           Ops per second  : 511179353 op/s 
      -- Other function --
           Total time      : 65480981 ns 
           Average runtime : 1.63702 ns/op 
           Ops per second  : 610865008 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 1.19501 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 65927035 ns
      Average runtime : 1.64817 ns/op
      Ops per second : 606731972 op/s
      -- Other function --
      Total time : 62243382 ns
      Average runtime : 1.55608 ns/op
      Ops per second : 642639244 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.05918

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 68323626 ns
      Average runtime : 1.70809 ns/op
      Ops per second : 585449607 op/s
      -- Other function --
      Total time : 63364996 ns
      Average runtime : 1.58412 ns/op
      Ops per second : 631263986 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.07826

    • fminf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 2705661061 ns 
           Average runtime : 132.241 ns/op 
           Ops per second  : 7561922 op/s 
      -- Other function --
           Total time      : 27227960 ns 
           Average runtime : 1.33079 ns/op 
           Ops per second  : 751433452 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 99.3707 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 4105550069 ns
      Average runtime : 6.68243 ns/op
      Ops per second : 149646208 op/s
      -- Other function --
      Total time : 699710886 ns
      Average runtime : 1.13889 ns/op
      Ops per second : 878048365 op/s
      -- Average runtime ratio --
      Mine / Other's : 5.86749

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 2737657603 ns
      Average runtime : 6.68373 ns/op
      Ops per second : 149616957 op/s
      -- Other function --
      Total time : 461921045 ns
      Average runtime : 1.12774 ns/op
      Ops per second : 886731627 op/s
      -- Average runtime ratio --
      Mine / Other's : 5.92668

    • fminimumf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 68204606 ns 
           Average runtime : 1.70511 ns/op 
           Ops per second  : 586471242 op/s 
      -- Other function --
           Total time      : 55342239 ns 
           Average runtime : 1.38355 ns/op 
           Ops per second  : 722775961 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 1.23242 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 63970932 ns
      Average runtime : 1.59927 ns/op
      Ops per second : 625284621 op/s
      -- Other function --
      Total time : 52261625 ns
      Average runtime : 1.30654 ns/op
      Ops per second : 765380716 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.22405

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 64351009 ns
      Average runtime : 1.60877 ns/op
      Ops per second : 621591496 op/s
      -- Other function --
      Total time : 52571480 ns
      Average runtime : 1.31429 ns/op
      Ops per second : 760869581 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.22407

    • fminimumf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 2718399821 ns 
           Average runtime : 132.864 ns/op 
           Ops per second  : 7526486 op/s 
      -- Other function --
           Total time      : 27212139 ns 
           Average runtime : 1.33002 ns/op 
           Ops per second  : 751870332 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 99.8966 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 4060225809 ns
      Average runtime : 6.60866 ns/op
      Ops per second : 151316707 op/s
      -- Other function --
      Total time : 703916351 ns
      Average runtime : 1.14573 ns/op
      Ops per second : 872802569 op/s
      -- Average runtime ratio --
      Mine / Other's : 5.76805

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 2707408294 ns
      Average runtime : 6.60988 ns/op
      Ops per second : 151288596 op/s
      -- Other function --
      Total time : 460398900 ns
      Average runtime : 1.12402 ns/op
      Ops per second : 889663289 op/s
      -- Average runtime ratio --
      Mine / Other's : 5.88057

    • fminimum_numf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 81806361 ns 
           Average runtime : 2.04516 ns/op 
           Ops per second  : 488960021 op/s 
      -- Other function --
           Total time      : 55114561 ns 
           Average runtime : 1.37786 ns/op 
           Ops per second  : 725761745 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 1.4843 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 78283075 ns
      Average runtime : 1.95707 ns/op
      Ops per second : 510966642 op/s
      -- Other function --
      Total time : 52543904 ns
      Average runtime : 1.3136 ns/op
      Ops per second : 761268900 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.48986

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 78153297 ns
      Average runtime : 1.95383 ns/op
      Ops per second : 511815131 op/s
      -- Other function --
      Total time : 52629849 ns
      Average runtime : 1.31574 ns/op
      Ops per second : 760025741 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.48496

    • fminimum_numf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 2716695010 ns 
           Average runtime : 132.781 ns/op 
           Ops per second  : 7531209 op/s 
      -- Other function --
           Total time      : 26337047 ns 
           Average runtime : 1.28725 ns/op 
           Ops per second  : 776852469 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 103.151 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 4232601517 ns
      Average runtime : 6.88922 ns/op
      Ops per second : 145154226 op/s
      -- Other function --
      Total time : 700089704 ns
      Average runtime : 1.13951 ns/op
      Ops per second : 877573254 op/s
      -- Average runtime ratio --
      Mine / Other's : 6.0458

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 2822032987 ns
      Average runtime : 6.88973 ns/op
      Ops per second : 145143590 op/s
      -- Other function --
      Total time : 466246376 ns
      Average runtime : 1.1383 ns/op
      Ops per second : 878505487 op/s
      -- Average runtime ratio --
      Mine / Other's : 6.05266

  • Intel Core i7-13700H, GCC 14, -march=native
    • fmaxf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 77268419 ns 
           Average runtime : 1.93171 ns/op 
           Ops per second  : 517676439 op/s 
      -- Other function --
           Total time      : 55597068 ns 
           Average runtime : 1.38993 ns/op 
           Ops per second  : 719463119 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 1.38979 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 73901839 ns
      Average runtime : 1.84754 ns/op
      Ops per second : 541259061 op/s
      -- Other function --
      Total time : 53034983 ns
      Average runtime : 1.32587 ns/op
      Ops per second : 754219908 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.39345

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 74257528 ns
      Average runtime : 1.85644 ns/op
      Ops per second : 538666463 op/s
      -- Other function --
      Total time : 53277266 ns
      Average runtime : 1.33193 ns/op
      Ops per second : 750790027 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.39379

    • fmaxf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 51652389 ns 
           Average runtime : 2.52455 ns/op 
           Ops per second  : 396109461 op/s 
      -- Other function --
           Total time      : 21815418 ns 
           Average runtime : 1.06625 ns/op 
           Ops per second  : 937868804 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 2.3677 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 1548583185 ns
      Average runtime : 2.52056 ns/op
      Ops per second : 396736840 op/s
      -- Other function --
      Total time : 648741599 ns
      Average runtime : 1.05593 ns/op
      Ops per second : 947033458 op/s
      -- Average runtime ratio --
      Mine / Other's : 2.38706

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 1032992643 ns
      Average runtime : 2.52195 ns/op
      Ops per second : 396517828 op/s
      -- Other function --
      Total time : 432660173 ns
      Average runtime : 1.0563 ns/op
      Ops per second : 946701419 op/s
      -- Average runtime ratio --
      Mine / Other's : 2.38754

    • fmaximumf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 67451397 ns 
           Average runtime : 1.68628 ns/op 
           Ops per second  : 593020186 op/s 
      -- Other function --
           Total time      : 44272259 ns 
           Average runtime : 1.10681 ns/op 
           Ops per second  : 903501219 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 1.52356 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 63373093 ns
      Average runtime : 1.58433 ns/op
      Ops per second : 631183332 op/s
      -- Other function --
      Total time : 42231801 ns
      Average runtime : 1.05579 ns/op
      Ops per second : 947154491 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.5006

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 64037916 ns
      Average runtime : 1.60095 ns/op
      Ops per second : 624630570 op/s
      -- Other function --
      Total time : 42419984 ns
      Average runtime : 1.0605 ns/op
      Ops per second : 942952736 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.50962

    • fmaximumf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 41600666 ns 
           Average runtime : 2.03327 ns/op 
           Ops per second  : 491819049 op/s 
      -- Other function --
           Total time      : 21806844 ns 
           Average runtime : 1.06583 ns/op 
           Ops per second  : 938237555 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 1.90769 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 1228807031 ns
      Average runtime : 2.00008 ns/op
      Ops per second : 499980863 op/s
      -- Other function --
      Total time : 648750389 ns
      Average runtime : 1.05594 ns/op
      Ops per second : 947020626 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.89411

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 819493303 ns
      Average runtime : 2.00072 ns/op
      Ops per second : 499821046 op/s
      -- Other function --
      Total time : 432669666 ns
      Average runtime : 1.05632 ns/op
      Ops per second : 946680648 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.89404

    • fmaximum_numf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 78702456 ns 
           Average runtime : 1.96756 ns/op 
           Ops per second  : 508243859 op/s 
      -- Other function --
           Total time      : 44268938 ns 
           Average runtime : 1.10672 ns/op 
           Ops per second  : 903568999 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 1.77783 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 78560660 ns
      Average runtime : 1.96401 ns/op
      Ops per second : 509161201 op/s
      -- Other function --
      Total time : 42231133 ns
      Average runtime : 1.05578 ns/op
      Ops per second : 947169473 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.86025

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 76992932 ns
      Average runtime : 1.92482 ns/op
      Ops per second : 519528727 op/s
      -- Other function --
      Total time : 42421610 ns
      Average runtime : 1.06054 ns/op
      Ops per second : 942916593 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.81495

    • fmaximum_numf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 62376098 ns 
           Average runtime : 3.04869 ns/op 
           Ops per second  : 328010258 op/s 
      -- Other function --
           Total time      : 21808997 ns 
           Average runtime : 1.06593 ns/op 
           Ops per second  : 938144931 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 2.86011 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 1845255044 ns
      Average runtime : 3.00344 ns/op
      Ops per second : 332951264 op/s
      -- Other function --
      Total time : 648761860 ns
      Average runtime : 1.05596 ns/op
      Ops per second : 947003882 op/s
      -- Average runtime ratio --
      Mine / Other's : 2.84427

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 1230782447 ns
      Average runtime : 3.00484 ns/op
      Ops per second : 332796426 op/s
      -- Other function --
      Total time : 432607756 ns
      Average runtime : 1.05617 ns/op
      Ops per second : 946816126 op/s
      -- Average runtime ratio --
      Mine / Other's : 2.84503

    • fminf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 55349992 ns 
           Average runtime : 1.38375 ns/op 
           Ops per second  : 722674720 op/s 
      -- Other function --
           Total time      : 55585618 ns 
           Average runtime : 1.38964 ns/op 
           Ops per second  : 719611321 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 0.995761 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 52788312 ns
      Average runtime : 1.31971 ns/op
      Ops per second : 757744252 op/s
      -- Other function --
      Total time : 53057620 ns
      Average runtime : 1.32644 ns/op
      Ops per second : 753898120 op/s
      -- Average runtime ratio --
      Mine / Other's : 0.994924

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 53027264 ns
      Average runtime : 1.32568 ns/op
      Ops per second : 754329697 op/s
      -- Other function --
      Total time : 53279969 ns
      Average runtime : 1.332 ns/op
      Ops per second : 750751938 op/s
      -- Average runtime ratio --
      Mine / Other's : 0.995257

    • fminf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 43844872 ns 
           Average runtime : 2.14296 ns/op 
           Ops per second  : 466645221 op/s 
      -- Other function --
           Total time      : 21806237 ns 
           Average runtime : 1.0658 ns/op 
           Ops per second  : 938263671 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 2.01066 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 1309514367 ns
      Average runtime : 2.13144 ns/op
      Ops per second : 469166292 op/s
      -- Other function --
      Total time : 648810379 ns
      Average runtime : 1.05604 ns/op
      Ops per second : 946933063 op/s
      -- Average runtime ratio --
      Mine / Other's : 2.01833

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 871061584 ns
      Average runtime : 2.12662 ns/op
      Ops per second : 470230816 op/s
      -- Other function --
      Total time : 432650314 ns
      Average runtime : 1.05628 ns/op
      Ops per second : 946722992 op/s
      -- Average runtime ratio --
      Mine / Other's : 2.01332

    • fminimumf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 66489635 ns 
           Average runtime : 1.66224 ns/op 
           Ops per second  : 601598128 op/s 
      -- Other function --
           Total time      : 44270726 ns 
           Average runtime : 1.10677 ns/op 
           Ops per second  : 903532505 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 1.50189 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 63347608 ns
      Average runtime : 1.58369 ns/op
      Ops per second : 631437259 op/s
      -- Other function --
      Total time : 42230276 ns
      Average runtime : 1.05576 ns/op
      Ops per second : 947188694 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.50005

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 63805929 ns
      Average runtime : 1.59515 ns/op
      Ops per second : 626901615 op/s
      -- Other function --
      Total time : 42451639 ns
      Average runtime : 1.06129 ns/op
      Ops per second : 942249603 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.50303

    • fminimumf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 51562637 ns 
           Average runtime : 2.52017 ns/op 
           Ops per second  : 396798945 op/s 
      -- Other function --
           Total time      : 21799856 ns 
           Average runtime : 1.06549 ns/op 
           Ops per second  : 938538309 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 2.36527 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 1536799808 ns
      Average runtime : 2.50138 ns/op
      Ops per second : 399778811 op/s
      -- Other function --
      Total time : 648780269 ns
      Average runtime : 1.05599 ns/op
      Ops per second : 946977011 op/s
      -- Average runtime ratio --
      Mine / Other's : 2.36875

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 1024118108 ns
      Average runtime : 2.50029 ns/op
      Ops per second : 399953869 op/s
      -- Other function --
      Total time : 432635089 ns
      Average runtime : 1.05624 ns/op
      Ops per second : 946756308 op/s
      -- Average runtime ratio --
      Mine / Other's : 2.36716

    • fminimum_numf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 97553132 ns 
           Average runtime : 2.43883 ns/op 
           Ops per second  : 410033375 op/s 
      -- Other function --
           Total time      : 44268583 ns 
           Average runtime : 1.10671 ns/op 
           Ops per second  : 903576245 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 2.20367 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 92808158 ns
      Average runtime : 2.3202 ns/op
      Ops per second : 430997025 op/s
      -- Other function --
      Total time : 42233660 ns
      Average runtime : 1.05584 ns/op
      Ops per second : 947112800 op/s
      -- Average runtime ratio --
      Mine / Other's : 2.19749

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 87936228 ns
      Average runtime : 2.1984 ns/op
      Ops per second : 454875549 op/s
      -- Other function --
      Total time : 42411348 ns
      Average runtime : 1.06028 ns/op
      Ops per second : 943144745 op/s
      -- Average runtime ratio --
      Mine / Other's : 2.07341

    • fminimum_numf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 62178042 ns 
           Average runtime : 3.039 ns/op 
           Ops per second  : 329055070 op/s 
      -- Other function --
           Total time      : 21819093 ns 
           Average runtime : 1.06643 ns/op 
           Ops per second  : 937710838 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 2.84971 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 1855436397 ns
      Average runtime : 3.02001 ns/op
      Ops per second : 331124257 op/s
      -- Other function --
      Total time : 648763117 ns
      Average runtime : 1.05596 ns/op
      Ops per second : 947002047 op/s
      -- Average runtime ratio --
      Mine / Other's : 2.85996

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 1236637291 ns
      Average runtime : 3.01913 ns/op
      Ops per second : 331220805 op/s
      -- Other function --
      Total time : 432653132 ns
      Average runtime : 1.05628 ns/op
      Ops per second : 946716826 op/s
      -- Average runtime ratio --
      Mine / Other's : 2.85826

  • Google Tensor G3, Clang 17
    • fmaxf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 75795736 ns 
           Average runtime : 1.89489 ns/op 
           Ops per second  : 527734700 op/s 
      -- Other function --
           Total time      : 53211466 ns 
           Average runtime : 1.33029 ns/op 
           Ops per second  : 751718436 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 1.42442 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 71642904 ns
      Average runtime : 1.79107 ns/op
      Ops per second : 558325218 op/s
      -- Other function --
      Total time : 50812011 ns
      Average runtime : 1.2703 ns/op
      Ops per second : 787216235 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.40996

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 71662272 ns
      Average runtime : 1.79156 ns/op
      Ops per second : 558174320 op/s
      -- Other function --
      Total time : 50985433 ns
      Average runtime : 1.27463 ns/op
      Ops per second : 784538595 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.40554

    • fmaxf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 28690429 ns 
           Average runtime : 1.40227 ns/op 
           Ops per second  : 713129803 op/s 
      -- Other function --
           Total time      : 14577026 ns 
           Average runtime : 0.712465 ns/op 
           Ops per second  : 1403578480 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 1.96819 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 854737509 ns
      Average runtime : 1.39122 ns/op
      Ops per second : 718793774 op/s
      -- Other function --
      Total time : 429402588 ns
      Average runtime : 0.69892 ns/op
      Ops per second : 1430778521 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.99053

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 567886027 ns
      Average runtime : 1.38644 ns/op
      Ops per second : 721271488 op/s
      -- Other function --
      Total time : 285304932 ns
      Average runtime : 0.696545 ns/op
      Ops per second : 1435656920 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.99045

    • fmaximumf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 71507487 ns 
           Average runtime : 1.78769 ns/op 
           Ops per second  : 559382544 op/s 
      -- Other function --
           Total time      : 36308390 ns 
           Average runtime : 0.907709 ns/op 
           Ops per second  : 1101674847 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 1.96945 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 68628418 ns
      Average runtime : 1.71571 ns/op
      Ops per second : 582849512 op/s
      -- Other function --
      Total time : 34836955 ns
      Average runtime : 0.870923 ns/op
      Ops per second : 1148207126 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.96999

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 68630900 ns
      Average runtime : 1.71577 ns/op
      Ops per second : 582828434 op/s
      -- Other function --
      Total time : 34607503 ns
      Average runtime : 0.865187 ns/op
      Ops per second : 1155819881 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.98312

    • fmaximumf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 43838094 ns 
           Average runtime : 2.14262 ns/op 
           Ops per second  : 466717371 op/s 
      -- Other function --
           Total time      : 20248861 ns 
           Average runtime : 0.98968 ns/op 
           Ops per second  : 1010427203 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 2.16497 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 1293342978 ns
      Average runtime : 2.10512 ns/op
      Ops per second : 475032540 op/s
      -- Other function --
      Total time : 585760295 ns
      Average runtime : 0.953417 ns/op
      Ops per second : 1048859072 op/s
      -- Average runtime ratio --
      Mine / Other's : 2.20797

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 861770102 ns
      Average runtime : 2.10393 ns/op
      Ops per second : 475300778 op/s
      -- Other function --
      Total time : 390948486 ns
      Average runtime : 0.954464 ns/op
      Ops per second : 1047708367 op/s
      -- Average runtime ratio --
      Mine / Other's : 2.20431

    • fmaximum_numf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 143129435 ns 
           Average runtime : 3.57823 ns/op 
           Ops per second  : 279467602 op/s 
      -- Other function --
           Total time      : 36526449 ns 
           Average runtime : 0.91316 ns/op 
           Ops per second  : 1095097965 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 3.91851 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 135592652 ns
      Average runtime : 3.38981 ns/op
      Ops per second : 295001531 op/s
      -- Other function --
      Total time : 34616496 ns
      Average runtime : 0.865412 ns/op
      Ops per second : 1155519611 op/s
      -- Average runtime ratio --
      Mine / Other's : 3.917

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 135953776 ns
      Average runtime : 3.39884 ns/op
      Ops per second : 294217940 op/s
      -- Other function --
      Total time : 35718872 ns
      Average runtime : 0.892971 ns/op
      Ops per second : 1119857312 op/s
      -- Average runtime ratio --
      Mine / Other's : 3.80622

    • fmaximum_numf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 75487915 ns 
           Average runtime : 3.68954 ns/op 
           Ops per second  : 271036761 op/s 
      -- Other function --
           Total time      : 19719930 ns 
           Average runtime : 0.963828 ns/op 
           Ops per second  : 1037529037 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 3.828 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 2259568320 ns
      Average runtime : 3.6778 ns/op
      Ops per second : 271901493 op/s
      -- Other function --
      Total time : 585253744 ns
      Average runtime : 0.952592 ns/op
      Ops per second : 1049766885 op/s
      -- Average runtime ratio --
      Mine / Other's : 3.86084

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 1504050660 ns
      Average runtime : 3.672 ns/op
      Ops per second : 272331252 op/s
      -- Other function --
      Total time : 389526612 ns
      Average runtime : 0.950993 ns/op
      Ops per second : 1051532776 op/s
      -- Average runtime ratio --
      Mine / Other's : 3.86123

    • fminf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 106516642 ns 
           Average runtime : 2.66291 ns/op 
           Ops per second  : 375528548 op/s 
      -- Other function --
           Total time      : 70983805 ns 
           Average runtime : 1.77459 ns/op 
           Ops per second  : 563509380 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 1.50058 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 102739462 ns
      Average runtime : 2.56848 ns/op
      Ops per second : 389334723 op/s
      -- Other function --
      Total time : 68058675 ns
      Average runtime : 1.70147 ns/op
      Ops per second : 587728750 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.50957

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 102992839 ns
      Average runtime : 2.57482 ns/op
      Ops per second : 388376904 op/s
      -- Other function --
      Total time : 68036336 ns
      Average runtime : 1.70091 ns/op
      Ops per second : 587921724 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.51379

    • fminf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 28629272 ns 
           Average runtime : 1.39928 ns/op 
           Ops per second  : 714653170 op/s 
      -- Other function --
           Total time      : 14585734 ns 
           Average runtime : 0.71289 ns/op 
           Ops per second  : 1402740513 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 1.96283 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 863295126 ns
      Average runtime : 1.40515 ns/op
      Ops per second : 711668560 op/s
      -- Other function --
      Total time : 429140178 ns
      Average runtime : 0.698493 ns/op
      Ops per second : 1431653411 op/s
      -- Average runtime ratio --
      Mine / Other's : 2.01169

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 574792196 ns
      Average runtime : 1.4033 ns/op
      Ops per second : 712605360 op/s
      -- Other function --
      Total time : 284787801 ns
      Average runtime : 0.695283 ns/op
      Ops per second : 1438263853 op/s
      -- Average runtime ratio --
      Mine / Other's : 2.01832

    • fminimumf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 105351603 ns 
           Average runtime : 2.63379 ns/op 
           Ops per second  : 379681360 op/s 
      -- Other function --
           Total time      : 36227499 ns 
           Average runtime : 0.905687 ns/op 
           Ops per second  : 1104134734 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 2.90806 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 101117147 ns
      Average runtime : 2.52793 ns/op
      Ops per second : 395581176 op/s
      -- Other function --
      Total time : 34601441 ns
      Average runtime : 0.865035 ns/op
      Ops per second : 1156022374 op/s
      -- Average runtime ratio --
      Mine / Other's : 2.92234

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 102335653 ns
      Average runtime : 2.55839 ns/op
      Ops per second : 390871009 op/s
      -- Other function --
      Total time : 34811971 ns
      Average runtime : 0.870298 ns/op
      Ops per second : 1149031176 op/s
      -- Average runtime ratio --
      Mine / Other's : 2.93967

    • fminimumf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 43046142 ns 
           Average runtime : 2.10392 ns/op 
           Ops per second  : 475303919 op/s 
      -- Other function --
           Total time      : 20696005 ns 
           Average runtime : 1.01153 ns/op 
           Ops per second  : 988596591 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 2.07993 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 1282778158 ns
      Average runtime : 2.08792 ns/op
      Ops per second : 478944855 op/s
      -- Other function --
      Total time : 587833944 ns
      Average runtime : 0.956792 ns/op
      Ops per second : 1045159107 op/s
      -- Average runtime ratio --
      Mine / Other's : 2.18221

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 857387248 ns
      Average runtime : 2.09323 ns/op
      Ops per second : 477730454 op/s
      -- Other function --
      Total time : 390570435 ns
      Average runtime : 0.953541 ns/op
      Ops per second : 1048722492 op/s
      -- Average runtime ratio --
      Mine / Other's : 2.19522

    • fminimum_numf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 148088135 ns 
           Average runtime : 3.7022 ns/op 
           Ops per second  : 270109688 op/s 
      -- Other function --
           Total time      : 37533325 ns 
           Average runtime : 0.938332 ns/op 
           Ops per second  : 1065720662 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 3.94551 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 142208252 ns
      Average runtime : 3.5552 ns/op
      Ops per second : 281277910 op/s
      -- Other function --
      Total time : 34599690 ns
      Average runtime : 0.864991 ns/op
      Ops per second : 1156080878 op/s
      -- Average runtime ratio --
      Mine / Other's : 4.1101

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 141683024 ns
      Average runtime : 3.54207 ns/op
      Ops per second : 282320625 op/s
      -- Other function --
      Total time : 34740194 ns
      Average runtime : 0.868504 ns/op
      Ops per second : 1151405199 op/s
      -- Average runtime ratio --
      Mine / Other's : 4.07836

    • fminimum_numf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 75356568 ns 
           Average runtime : 3.68312 ns/op 
           Ops per second  : 271509180 op/s 
      -- Other function --
           Total time      : 19697550 ns 
           Average runtime : 0.962735 ns/op 
           Ops per second  : 1038707859 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 3.82568 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 2259758627 ns
      Average runtime : 3.67811 ns/op
      Ops per second : 271878594 op/s
      -- Other function --
      Total time : 586750285 ns
      Average runtime : 0.955028 ns/op
      Ops per second : 1047089393 op/s
      -- Average runtime ratio --
      Mine / Other's : 3.85131

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 1505676067 ns
      Average runtime : 3.67597 ns/op
      Ops per second : 272037265 op/s
      -- Other function --
      Total time : 390355835 ns
      Average runtime : 0.953017 ns/op
      Ops per second : 1049299032 op/s
      -- Average runtime ratio --
      Mine / Other's : 3.85719

  • Google Tensor G3, Clang 17, -mcpu=cortex-x3
    • fmaxf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 78270671 ns 
           Average runtime : 1.95676 ns/op 
           Ops per second  : 511047618 op/s 
      -- Other function --
           Total time      : 53211060 ns 
           Average runtime : 1.33028 ns/op 
           Ops per second  : 751724171 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 1.47095 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 74500040 ns
      Average runtime : 1.8625 ns/op
      Ops per second : 536913000 op/s
      -- Other function --
      Total time : 50771281 ns
      Average runtime : 1.26928 ns/op
      Ops per second : 787847759 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.46737

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 75172973 ns
      Average runtime : 1.87932 ns/op
      Ops per second : 532106665 op/s
      -- Other function --
      Total time : 51014486 ns
      Average runtime : 1.27536 ns/op
      Ops per second : 784091796 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.47356

    • fmaxf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 29380737 ns 
           Average runtime : 1.43601 ns/op 
           Ops per second  : 696374634 op/s 
      -- Other function --
           Total time      : 18011515 ns 
           Average runtime : 0.880328 ns/op 
           Ops per second  : 1135939980 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 1.63122 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 865450033 ns
      Average runtime : 1.40866 ns/op
      Ops per second : 709896558 op/s
      -- Other function --
      Total time : 457207520 ns
      Average runtime : 0.744177 ns/op
      Ops per second : 1343766174 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.8929

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 582485515 ns
      Average runtime : 1.42208 ns/op
      Ops per second : 703193451 op/s
      -- Other function --
      Total time : 311772380 ns
      Average runtime : 0.761163 ns/op
      Ops per second : 1313778981 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.8683

    • fmaximumf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 106986165 ns 
           Average runtime : 2.67465 ns/op 
           Ops per second  : 373880491 op/s 
      -- Other function --
           Total time      : 53319621 ns 
           Average runtime : 1.33299 ns/op 
           Ops per second  : 750193629 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 2.00651 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 101548096 ns
      Average runtime : 2.5387 ns/op
      Ops per second : 393902412 op/s
      -- Other function --
      Total time : 50762289 ns
      Average runtime : 1.26906 ns/op
      Ops per second : 787987318 op/s
      -- Average runtime ratio --
      Mine / Other's : 2.00046

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 101959147 ns
      Average runtime : 2.54898 ns/op
      Ops per second : 392314384 op/s
      -- Other function --
      Total time : 50984416 ns
      Average runtime : 1.27461 ns/op
      Ops per second : 784554244 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.99981

    • fmaximumf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 28572021 ns 
           Average runtime : 1.39648 ns/op 
           Ops per second  : 716085151 op/s 
      -- Other function --
           Total time      : 14893839 ns 
           Average runtime : 0.727949 ns/op 
           Ops per second  : 1373722382 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 1.91838 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 863056844 ns
      Average runtime : 1.40476 ns/op
      Ops per second : 711865046 op/s
      -- Other function --
      Total time : 427456461 ns
      Average runtime : 0.695753 ns/op
      Ops per second : 1437292580 op/s
      -- Average runtime ratio --
      Mine / Other's : 2.01905

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 575060181 ns
      Average runtime : 1.40396 ns/op
      Ops per second : 712273277 op/s
      -- Other function --
      Total time : 282931031 ns
      Average runtime : 0.69075 ns/op
      Ops per second : 1447702638 op/s
      -- Average runtime ratio --
      Mine / Other's : 2.03251

    • fmaximum_numf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 170485881 ns 
           Average runtime : 4.26214 ns/op 
           Ops per second  : 234623769 op/s 
      -- Other function --
           Total time      : 53218547 ns 
           Average runtime : 1.33046 ns/op 
           Ops per second  : 751618416 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 3.2035 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 162974406 ns
      Average runtime : 4.07436 ns/op
      Ops per second : 245437556 op/s
      -- Other function --
      Total time : 51007121 ns
      Average runtime : 1.27518 ns/op
      Ops per second : 784205013 op/s
      -- Average runtime ratio --
      Mine / Other's : 3.19513

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 163500488 ns
      Average runtime : 4.08751 ns/op
      Ops per second : 244647832 op/s
      -- Other function --
      Total time : 51041911 ns
      Average runtime : 1.27605 ns/op
      Ops per second : 783670501 op/s
      -- Average runtime ratio --
      Mine / Other's : 3.20326

    • fmaximum_numf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 59324096 ns 
           Average runtime : 2.89952 ns/op 
           Ops per second  : 344885154 op/s 
      -- Other function --
           Total time      : 15210042 ns 
           Average runtime : 0.743404 ns/op 
           Ops per second  : 1345163938 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 3.90032 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 1761444256 ns
      Average runtime : 2.86703 ns/op
      Ops per second : 348793325 op/s
      -- Other function --
      Total time : 431560506 ns
      Average runtime : 0.702433 ns/op
      Ops per second : 1423624246 op/s
      -- Average runtime ratio --
      Mine / Other's : 4.08157

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 1177347738 ns
      Average runtime : 2.87438 ns/op
      Ops per second : 347900613 op/s
      -- Other function --
      Total time : 288924601 ns
      Average runtime : 0.705382 ns/op
      Ops per second : 1417670903 op/s
      -- Average runtime ratio --
      Mine / Other's : 4.07493

    • fminf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 106519450 ns 
           Average runtime : 2.66298 ns/op 
           Ops per second  : 375518649 op/s 
      -- Other function --
           Total time      : 53234294 ns 
           Average runtime : 1.33086 ns/op 
           Ops per second  : 751396083 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 2.00096 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 101758707 ns
      Average runtime : 2.54397 ns/op
      Ops per second : 393087148 op/s
      -- Other function --
      Total time : 50890828 ns
      Average runtime : 1.27227 ns/op
      Ops per second : 785997036 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.99955

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 101965739 ns
      Average runtime : 2.54914 ns/op
      Ops per second : 392289021 op/s
      -- Other function --
      Total time : 51046997 ns
      Average runtime : 1.27617 ns/op
      Ops per second : 783592421 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.99749

    • fminf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 28505738 ns 
           Average runtime : 1.39324 ns/op 
           Ops per second  : 717750229 op/s 
      -- Other function --
           Total time      : 14643718 ns 
           Average runtime : 0.715724 ns/op 
           Ops per second  : 1397186151 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 1.94662 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 864937664 ns
      Average runtime : 1.40782 ns/op
      Ops per second : 710317084 op/s
      -- Other function --
      Total time : 426626913 ns
      Average runtime : 0.694402 ns/op
      Ops per second : 1440087301 op/s
      -- Average runtime ratio --
      Mine / Other's : 2.02739

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 576935425 ns
      Average runtime : 1.40853 ns/op
      Ops per second : 709958137 op/s
      -- Other function --
      Total time : 284343465 ns
      Average runtime : 0.694198 ns/op
      Ops per second : 1440511389 op/s
      -- Average runtime ratio --
      Mine / Other's : 2.02901

    • fminimumf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 106549235 ns 
           Average runtime : 2.66373 ns/op 
           Ops per second  : 375413676 op/s 
      -- Other function --
           Total time      : 53305664 ns 
           Average runtime : 1.33264 ns/op 
           Ops per second  : 750390052 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 1.99884 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 101931234 ns
      Average runtime : 2.54828 ns/op
      Ops per second : 392421816 op/s
      -- Other function --
      Total time : 50915283 ns
      Average runtime : 1.27288 ns/op
      Ops per second : 785619516 op/s
      -- Average runtime ratio --
      Mine / Other's : 2.00198

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 102131592 ns
      Average runtime : 2.55329 ns/op
      Ops per second : 391651977 op/s
      -- Other function --
      Total time : 51014405 ns
      Average runtime : 1.27536 ns/op
      Ops per second : 784093041 op/s
      -- Average runtime ratio --
      Mine / Other's : 2.00201

    • fminimumf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 28836670 ns 
           Average runtime : 1.40942 ns/op 
           Ops per second  : 709513269 op/s 
      -- Other function --
           Total time      : 14553711 ns 
           Average runtime : 0.711325 ns/op 
           Ops per second  : 1405827008 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 1.9814 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 871677979 ns
      Average runtime : 1.41879 ns/op
      Ops per second : 704824504 op/s
      -- Other function --
      Total time : 431341716 ns
      Average runtime : 0.702076 ns/op
      Ops per second : 1424346352 op/s
      -- Average runtime ratio --
      Mine / Other's : 2.02085

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 585330608 ns
      Average runtime : 1.42903 ns/op
      Ops per second : 699775467 op/s
      -- Other function --
      Total time : 287774292 ns
      Average runtime : 0.702574 ns/op
      Ops per second : 1423337703 op/s
      -- Average runtime ratio --
      Mine / Other's : 2.03399

    • fminimum_numf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 170389852 ns 
           Average runtime : 4.25974 ns/op 
           Ops per second  : 234755999 op/s 
      -- Other function --
           Total time      : 53455566 ns 
           Average runtime : 1.33639 ns/op 
           Ops per second  : 748285781 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 3.1875 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 162788086 ns
      Average runtime : 4.0697 ns/op
      Ops per second : 245718473 op/s
      -- Other function --
      Total time : 50874186 ns
      Average runtime : 1.27185 ns/op
      Ops per second : 786254152 op/s
      -- Average runtime ratio --
      Mine / Other's : 3.19982

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 163259603 ns
      Average runtime : 4.08149 ns/op
      Ops per second : 245008803 op/s
      -- Other function --
      Total time : 50985107 ns
      Average runtime : 1.27463 ns/op
      Ops per second : 784543611 op/s
      -- Average runtime ratio --
      Mine / Other's : 3.2021

    • fminimum_numf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 57668132 ns 
           Average runtime : 2.81858 ns/op 
           Ops per second  : 354788672 op/s 
      -- Other function --
           Total time      : 14778687 ns 
           Average runtime : 0.722321 ns/op 
           Ops per second  : 1384426099 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 3.90211 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 1939929688 ns
      Average runtime : 3.15754 ns/op
      Ops per second : 316702199 op/s
      -- Other function --
      Total time : 549771688 ns
      Average runtime : 0.89484 ns/op
      Ops per second : 1117518441 op/s
      -- Average runtime ratio --
      Mine / Other's : 3.52861

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 1387130453 ns
      Average runtime : 3.38655 ns/op
      Ops per second : 295285853 op/s
      -- Other function --
      Total time : 367092408 ns
      Average runtime : 0.896222 ns/op
      Ops per second : 1115795344 op/s
      -- Average runtime ratio --
      Mine / Other's : 3.7787

@overmighty
Copy link
Member Author

overmighty commented Jul 22, 2024

After:

  • Intel Core i7-13700H, Clang 18
    • fmaxf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 77465157 ns 
           Average runtime : 1.93663 ns/op 
           Ops per second  : 516361697 op/s 
      -- Other function --
           Total time      : 66428798 ns 
           Average runtime : 1.66072 ns/op 
           Ops per second  : 602149086 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 1.16614 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 73911884 ns
      Average runtime : 1.8478 ns/op
      Ops per second : 541185501 op/s
      -- Other function --
      Total time : 63366437 ns
      Average runtime : 1.58416 ns/op
      Ops per second : 631249631 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.16642

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 74218854 ns
      Average runtime : 1.85547 ns/op
      Ops per second : 538947152 op/s
      -- Other function --
      Total time : 63640196 ns
      Average runtime : 1.591 ns/op
      Ops per second : 628534205 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.16623

    • fmaxf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 78037020 ns 
           Average runtime : 3.81413 ns/op 
           Ops per second  : 262183256 op/s 
      -- Other function --
           Total time      : 21817403 ns 
           Average runtime : 1.06634 ns/op 
           Ops per second  : 937783474 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 3.57682 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 2342086169 ns
      Average runtime : 3.81211 ns/op
      Ops per second : 262321689 op/s
      -- Other function --
      Total time : 650203997 ns
      Average runtime : 1.05831 ns/op
      Ops per second : 944903450 op/s
      -- Average runtime ratio --
      Mine / Other's : 3.60208

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 1561406133 ns
      Average runtime : 3.81203 ns/op
      Ops per second : 262327648 op/s
      -- Other function --
      Total time : 432705118 ns
      Average runtime : 1.05641 ns/op
      Ops per second : 946603085 op/s
      -- Average runtime ratio --
      Mine / Other's : 3.60848

    • fmaximumf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 77991144 ns 
           Average runtime : 1.94978 ns/op 
           Ops per second  : 512879257 op/s 
      -- Other function --
           Total time      : 55337139 ns 
           Average runtime : 1.38343 ns/op 
           Ops per second  : 722842574 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 1.40938 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 75264397 ns
      Average runtime : 1.88161 ns/op
      Ops per second : 531460313 op/s
      -- Other function --
      Total time : 52787497 ns
      Average runtime : 1.31969 ns/op
      Ops per second : 757755951 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.4258

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 75917401 ns
      Average runtime : 1.89793 ns/op
      Ops per second : 526888953 op/s
      -- Other function --
      Total time : 53013452 ns
      Average runtime : 1.32533 ns/op
      Ops per second : 754526228 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.43204

    • fmaximumf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 71611259 ns 
           Average runtime : 3.50006 ns/op 
           Ops per second  : 285709262 op/s 
      -- Other function --
           Total time      : 21822354 ns 
           Average runtime : 1.06659 ns/op 
           Ops per second  : 937570713 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 3.28156 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 2261480229 ns
      Average runtime : 3.68091 ns/op
      Ops per second : 271671621 op/s
      -- Other function --
      Total time : 652686769 ns
      Average runtime : 1.06235 ns/op
      Ops per second : 941309107 op/s
      -- Average runtime ratio --
      Mine / Other's : 3.46488

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 1508256119 ns
      Average runtime : 3.68227 ns/op
      Ops per second : 271571913 op/s
      -- Other function --
      Total time : 435381266 ns
      Average runtime : 1.06294 ns/op
      Ops per second : 940784622 op/s
      -- Average runtime ratio --
      Mine / Other's : 3.46422

    • fmaximum_numf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 108652666 ns 
           Average runtime : 2.71631 ns/op 
           Ops per second  : 368145959 op/s 
      -- Other function --
           Total time      : 55332320 ns 
           Average runtime : 1.38331 ns/op 
           Ops per second  : 722905527 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 1.96364 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 103670676 ns
      Average runtime : 2.59176 ns/op
      Ops per second : 385837553 op/s
      -- Other function --
      Total time : 52785222 ns
      Average runtime : 1.31963 ns/op
      Ops per second : 757788609 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.96401

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 104354194 ns
      Average runtime : 2.60885 ns/op
      Ops per second : 383310324 op/s
      -- Other function --
      Total time : 53015576 ns
      Average runtime : 1.32539 ns/op
      Ops per second : 754495999 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.96837

    • fmaximum_numf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 89240451 ns 
           Average runtime : 4.3617 ns/op 
           Ops per second  : 229268227 op/s 
      -- Other function --
           Total time      : 21817603 ns 
           Average runtime : 1.06635 ns/op 
           Ops per second  : 937774878 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 4.0903 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 2679179264 ns
      Average runtime : 4.36079 ns/op
      Ops per second : 229316495 op/s
      -- Other function --
      Total time : 650285944 ns
      Average runtime : 1.05844 ns/op
      Ops per second : 944784376 op/s
      -- Average runtime ratio --
      Mine / Other's : 4.12

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 1786186467 ns
      Average runtime : 4.36081 ns/op
      Ops per second : 229315364 op/s
      -- Other function --
      Total time : 432635432 ns
      Average runtime : 1.05624 ns/op
      Ops per second : 946755558 op/s
      -- Average runtime ratio --
      Mine / Other's : 4.12862

    • fminf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 75580627 ns 
           Average runtime : 1.88951 ns/op 
           Ops per second  : 529236678 op/s 
      -- Other function --
           Total time      : 66405368 ns 
           Average runtime : 1.66013 ns/op 
           Ops per second  : 602361544 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 1.13817 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 71868680 ns
      Average runtime : 1.79672 ns/op
      Ops per second : 556571235 op/s
      -- Other function --
      Total time : 63351928 ns
      Average runtime : 1.5838 ns/op
      Ops per second : 631394201 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.13444

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 72054523 ns
      Average runtime : 1.80136 ns/op
      Ops per second : 555135726 op/s
      -- Other function --
      Total time : 63666905 ns
      Average runtime : 1.59167 ns/op
      Ops per second : 628270527 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.13174

    • fminf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 77990126 ns 
           Average runtime : 3.81183 ns/op 
           Ops per second  : 262340901 op/s 
      -- Other function --
           Total time      : 21814405 ns 
           Average runtime : 1.0662 ns/op 
           Ops per second  : 937912356 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 3.57517 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 2341980622 ns
      Average runtime : 3.81194 ns/op
      Ops per second : 262333511 op/s
      -- Other function --
      Total time : 650296496 ns
      Average runtime : 1.05846 ns/op
      Ops per second : 944769045 op/s
      -- Average runtime ratio --
      Mine / Other's : 3.6014

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 1561389702 ns
      Average runtime : 3.81199 ns/op
      Ops per second : 262330409 op/s
      -- Other function --
      Total time : 435607188 ns
      Average runtime : 1.06349 ns/op
      Ops per second : 940296696 op/s
      -- Average runtime ratio --
      Mine / Other's : 3.5844

    • fminimumf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 75224874 ns 
           Average runtime : 1.88062 ns/op 
           Ops per second  : 531739541 op/s 
      -- Other function --
           Total time      : 55333827 ns 
           Average runtime : 1.38334 ns/op 
           Ops per second  : 722885839 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 1.35947 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 71823620 ns
      Average runtime : 1.79559 ns/op
      Ops per second : 556920411 op/s
      -- Other function --
      Total time : 52790269 ns
      Average runtime : 1.31976 ns/op
      Ops per second : 757716161 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.36055

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 72134763 ns
      Average runtime : 1.80337 ns/op
      Ops per second : 554518214 op/s
      -- Other function --
      Total time : 53018364 ns
      Average runtime : 1.32546 ns/op
      Ops per second : 754456323 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.36056

    • fminimumf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 77129234 ns 
           Average runtime : 3.76976 ns/op 
           Ops per second  : 265269067 op/s 
      -- Other function --
           Total time      : 21815519 ns 
           Average runtime : 1.06625 ns/op 
           Ops per second  : 937864462 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 3.53552 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 2315823836 ns
      Average runtime : 3.76937 ns/op
      Ops per second : 265296518 op/s
      -- Other function --
      Total time : 648826472 ns
      Average runtime : 1.05607 ns/op
      Ops per second : 946909576 op/s
      -- Average runtime ratio --
      Mine / Other's : 3.56925

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 1543937359 ns
      Average runtime : 3.76938 ns/op
      Ops per second : 265295737 op/s
      -- Other function --
      Total time : 432686806 ns
      Average runtime : 1.05636 ns/op
      Ops per second : 946643147 op/s
      -- Average runtime ratio --
      Mine / Other's : 3.56826

    • fminimum_numf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 100860867 ns 
           Average runtime : 2.52152 ns/op 
           Ops per second  : 396586319 op/s 
      -- Other function --
           Total time      : 55332076 ns 
           Average runtime : 1.3833 ns/op 
           Ops per second  : 722908715 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 1.82283 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 95719639 ns
      Average runtime : 2.39299 ns/op
      Ops per second : 417887493 op/s
      -- Other function --
      Total time : 52785801 ns
      Average runtime : 1.31964 ns/op
      Ops per second : 757780297 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.81336

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 94743360 ns
      Average runtime : 2.36858 ns/op
      Ops per second : 422193597 op/s
      -- Other function --
      Total time : 53021877 ns
      Average runtime : 1.32555 ns/op
      Ops per second : 754406336 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.78687

    • fminimum_numf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 89182892 ns 
           Average runtime : 4.35889 ns/op 
           Ops per second  : 229416197 op/s 
      -- Other function --
           Total time      : 21812947 ns 
           Average runtime : 1.06613 ns/op 
           Ops per second  : 937975047 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 4.08853 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 2679096933 ns
      Average runtime : 4.36065 ns/op
      Ops per second : 229323542 op/s
      -- Other function --
      Total time : 648817053 ns
      Average runtime : 1.05605 ns/op
      Ops per second : 946923323 op/s
      -- Average runtime ratio --
      Mine / Other's : 4.1292

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 1786126606 ns
      Average runtime : 4.36066 ns/op
      Ops per second : 229323049 op/s
      -- Other function --
      Total time : 432643662 ns
      Average runtime : 1.05626 ns/op
      Ops per second : 946737548 op/s
      -- Average runtime ratio --
      Mine / Other's : 4.1284

  • Intel Core i7-13700H, Clang 18, -march=native
    • fmaxf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 66418251 ns 
           Average runtime : 1.66045 ns/op 
           Ops per second  : 602244705 op/s 
      -- Other function --
           Total time      : 66409110 ns 
           Average runtime : 1.66023 ns/op 
           Ops per second  : 602327602 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 1.00014 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 63355440 ns
      Average runtime : 1.58388 ns/op
      Ops per second : 631359201 op/s
      -- Other function --
      Total time : 63368932 ns
      Average runtime : 1.58422 ns/op
      Ops per second : 631224777 op/s
      -- Average runtime ratio --
      Mine / Other's : 0.999787

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 63618479 ns
      Average runtime : 1.59046 ns/op
      Ops per second : 628748763 op/s
      -- Other function --
      Total time : 63643726 ns
      Average runtime : 1.59109 ns/op
      Ops per second : 628499343 op/s
      -- Average runtime ratio --
      Mine / Other's : 0.999603

    • fmaxf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 78006893 ns 
           Average runtime : 3.81265 ns/op 
           Ops per second  : 262284513 op/s 
      -- Other function --
           Total time      : 21819114 ns 
           Average runtime : 1.06643 ns/op 
           Ops per second  : 937709936 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 3.57516 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 2342048504 ns
      Average runtime : 3.81205 ns/op
      Ops per second : 262325907 op/s
      -- Other function --
      Total time : 654446357 ns
      Average runtime : 1.06521 ns/op
      Ops per second : 938778241 op/s
      -- Average runtime ratio --
      Mine / Other's : 3.57867

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 1561294904 ns
      Average runtime : 3.81176 ns/op
      Ops per second : 262346337 op/s
      -- Other function --
      Total time : 432612202 ns
      Average runtime : 1.05618 ns/op
      Ops per second : 946806396 op/s
      -- Average runtime ratio --
      Mine / Other's : 3.60899

    • fmaximumf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 69079373 ns 
           Average runtime : 1.72698 ns/op 
           Ops per second  : 579044630 op/s 
      -- Other function --
           Total time      : 55332180 ns 
           Average runtime : 1.3833 ns/op 
           Ops per second  : 722907356 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 1.24845 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 66829264 ns
      Average runtime : 1.67073 ns/op
      Ops per second : 598540782 op/s
      -- Other function --
      Total time : 52789498 ns
      Average runtime : 1.31974 ns/op
      Ops per second : 757727228 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.26596

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 64767932 ns
      Average runtime : 1.6192 ns/op
      Ops per second : 617590198 op/s
      -- Other function --
      Total time : 53086186 ns
      Average runtime : 1.32715 ns/op
      Ops per second : 753492443 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.22005

    • fmaximumf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 77115782 ns 
           Average runtime : 3.7691 ns/op 
           Ops per second  : 265315341 op/s 
      -- Other function --
           Total time      : 21820040 ns 
           Average runtime : 1.06647 ns/op 
           Ops per second  : 937670141 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 3.53417 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 2315886281 ns
      Average runtime : 3.76947 ns/op
      Ops per second : 265289364 op/s
      -- Other function --
      Total time : 650187608 ns
      Average runtime : 1.05828 ns/op
      Ops per second : 944927267 op/s
      -- Average runtime ratio --
      Mine / Other's : 3.56187

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 1544015048 ns
      Average runtime : 3.76957 ns/op
      Ops per second : 265282388 op/s
      -- Other function --
      Total time : 432604809 ns
      Average runtime : 1.05616 ns/op
      Ops per second : 946822576 op/s
      -- Average runtime ratio --
      Mine / Other's : 3.56911

    • fmaximum_numf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 128481994 ns 
           Average runtime : 3.21205 ns/op 
           Ops per second  : 311327982 op/s 
      -- Other function --
           Total time      : 55332458 ns 
           Average runtime : 1.38331 ns/op 
           Ops per second  : 722903724 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 2.322 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 124399367 ns
      Average runtime : 3.10998 ns/op
      Ops per second : 321545366 op/s
      -- Other function --
      Total time : 52786083 ns
      Average runtime : 1.31965 ns/op
      Ops per second : 757776249 op/s
      -- Average runtime ratio --
      Mine / Other's : 2.35667

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 122757485 ns
      Average runtime : 3.06893 ns/op
      Ops per second : 325846037 op/s
      -- Other function --
      Total time : 53016107 ns
      Average runtime : 1.3254 ns/op
      Ops per second : 754488442 op/s
      -- Average runtime ratio --
      Mine / Other's : 2.31548

    • fmaximum_numf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 88572872 ns 
           Average runtime : 4.32907 ns/op 
           Ops per second  : 230996235 op/s 
      -- Other function --
           Total time      : 21819097 ns 
           Average runtime : 1.06643 ns/op 
           Ops per second  : 937710666 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 4.05942 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 2658131593 ns
      Average runtime : 4.32653 ns/op
      Ops per second : 231132274 op/s
      -- Other function --
      Total time : 652165137 ns
      Average runtime : 1.0615 ns/op
      Ops per second : 942062010 op/s
      -- Average runtime ratio --
      Mine / Other's : 4.07586

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 1772250079 ns
      Average runtime : 4.32678 ns/op
      Ops per second : 231118624 op/s
      -- Other function --
      Total time : 433119897 ns
      Average runtime : 1.05742 ns/op
      Ops per second : 945696567 op/s
      -- Average runtime ratio --
      Mine / Other's : 4.09182

    • fminf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 75393216 ns 
           Average runtime : 1.88483 ns/op 
           Ops per second  : 530552244 op/s 
      -- Other function --
           Total time      : 66631489 ns 
           Average runtime : 1.66579 ns/op 
           Ops per second  : 600317366 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 1.1315 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 71884092 ns
      Average runtime : 1.7971 ns/op
      Ops per second : 556451905 op/s
      -- Other function --
      Total time : 63403974 ns
      Average runtime : 1.5851 ns/op
      Ops per second : 630875913 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.13375

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 72180411 ns
      Average runtime : 1.80451 ns/op
      Ops per second : 554167528 op/s
      -- Other function --
      Total time : 63757845 ns
      Average runtime : 1.59394 ns/op
      Ops per second : 627374403 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.1321

    • fminf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 77981865 ns 
           Average runtime : 3.81143 ns/op 
           Ops per second  : 262368693 op/s 
      -- Other function --
           Total time      : 21817465 ns 
           Average runtime : 1.06635 ns/op 
           Ops per second  : 937780810 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 3.57429 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 2341954019 ns
      Average runtime : 3.8119 ns/op
      Ops per second : 262336491 op/s
      -- Other function --
      Total time : 657296884 ns
      Average runtime : 1.06985 ns/op
      Ops per second : 934707002 op/s
      -- Average runtime ratio --
      Mine / Other's : 3.56301

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 1561333872 ns
      Average runtime : 3.81185 ns/op
      Ops per second : 262339789 op/s
      -- Other function --
      Total time : 432594505 ns
      Average runtime : 1.05614 ns/op
      Ops per second : 946845129 op/s
      -- Average runtime ratio --
      Mine / Other's : 3.60923

    • fminimumf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 75307831 ns 
           Average runtime : 1.88269 ns/op 
           Ops per second  : 531153791 op/s 
      -- Other function --
           Total time      : 55335354 ns 
           Average runtime : 1.38338 ns/op 
           Ops per second  : 722865891 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 1.36094 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 71724179 ns
      Average runtime : 1.7931 ns/op
      Ops per second : 557692546 op/s
      -- Other function --
      Total time : 52788487 ns
      Average runtime : 1.31971 ns/op
      Ops per second : 757741740 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.35871

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 72161846 ns
      Average runtime : 1.80404 ns/op
      Ops per second : 554310098 op/s
      -- Other function --
      Total time : 53019987 ns
      Average runtime : 1.3255 ns/op
      Ops per second : 754433229 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.36103

    • fminimumf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 71932416 ns 
           Average runtime : 3.51576 ns/op 
           Ops per second  : 284433655 op/s 
      -- Other function --
           Total time      : 21812803 ns 
           Average runtime : 1.06612 ns/op 
           Ops per second  : 937981239 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 3.29772 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 2241862492 ns
      Average runtime : 3.64898 ns/op
      Ops per second : 274048922 op/s
      -- Other function --
      Total time : 650236233 ns
      Average runtime : 1.05836 ns/op
      Ops per second : 944856605 op/s
      -- Average runtime ratio --
      Mine / Other's : 3.44777

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 1498681669 ns
      Average runtime : 3.65889 ns/op
      Ops per second : 273306872 op/s
      -- Other function --
      Total time : 432841845 ns
      Average runtime : 1.05674 ns/op
      Ops per second : 946304070 op/s
      -- Average runtime ratio --
      Mine / Other's : 3.46242

    • fminimum_numf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 127286285 ns 
           Average runtime : 3.18215 ns/op 
           Ops per second  : 314252552 op/s 
      -- Other function --
           Total time      : 55338283 ns 
           Average runtime : 1.38346 ns/op 
           Ops per second  : 722827630 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 2.30015 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 121460916 ns
      Average runtime : 3.03652 ns/op
      Ops per second : 329324372 op/s
      -- Other function --
      Total time : 52787546 ns
      Average runtime : 1.31969 ns/op
      Ops per second : 757755247 op/s
      -- Average runtime ratio --
      Mine / Other's : 2.30094

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 122199152 ns
      Average runtime : 3.05498 ns/op
      Ops per second : 327334841 op/s
      -- Other function --
      Total time : 53025904 ns
      Average runtime : 1.32565 ns/op
      Ops per second : 754349044 op/s
      -- Average runtime ratio --
      Mine / Other's : 2.30452

    • fminimum_numf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 88499022 ns 
           Average runtime : 4.32547 ns/op 
           Ops per second  : 231188995 op/s 
      -- Other function --
           Total time      : 21816397 ns 
           Average runtime : 1.0663 ns/op 
           Ops per second  : 937826718 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 4.05654 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 2659471098 ns
      Average runtime : 4.32871 ns/op
      Ops per second : 231015858 op/s
      -- Other function --
      Total time : 651680577 ns
      Average runtime : 1.06071 ns/op
      Ops per second : 942762484 op/s
      -- Average runtime ratio --
      Mine / Other's : 4.08094

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 1772120079 ns
      Average runtime : 4.32647 ns/op
      Ops per second : 231135578 op/s
      -- Other function --
      Total time : 433954879 ns
      Average runtime : 1.05946 ns/op
      Ops per second : 943876932 op/s
      -- Average runtime ratio --
      Mine / Other's : 4.08365

  • Intel Core i7-13700H, GCC 14
    • fmaxf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 77380586 ns 
           Average runtime : 1.93451 ns/op 
           Ops per second  : 516926041 op/s 
      -- Other function --
           Total time      : 55617242 ns 
           Average runtime : 1.39043 ns/op 
           Ops per second  : 719202149 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 1.39131 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 73650101 ns
      Average runtime : 1.84125 ns/op
      Ops per second : 543109099 op/s
      -- Other function --
      Total time : 53033134 ns
      Average runtime : 1.32583 ns/op
      Ops per second : 754246203 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.38876

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 73677493 ns
      Average runtime : 1.84194 ns/op
      Ops per second : 542907180 op/s
      -- Other function --
      Total time : 53263087 ns
      Average runtime : 1.33158 ns/op
      Ops per second : 750989892 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.38327

    • fmaxf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 34231036 ns 
           Average runtime : 1.67307 ns/op 
           Ops per second  : 597703207 op/s 
      -- Other function --
           Total time      : 21807352 ns 
           Average runtime : 1.06585 ns/op 
           Ops per second  : 938215698 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 1.5697 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 1001544142 ns
      Average runtime : 1.63017 ns/op
      Ops per second : 613432772 op/s
      -- Other function --
      Total time : 649715389 ns
      Average runtime : 1.05751 ns/op
      Ops per second : 945614049 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.54151

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 667786341 ns
      Average runtime : 1.63034 ns/op
      Ops per second : 613369838 op/s
      -- Other function --
      Total time : 432651263 ns
      Average runtime : 1.05628 ns/op
      Ops per second : 946720915 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.54347

    • fmaximumf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 67158228 ns 
           Average runtime : 1.67895 ns/op 
           Ops per second  : 595608925 op/s 
      -- Other function --
           Total time      : 44275095 ns 
           Average runtime : 1.10688 ns/op 
           Ops per second  : 903443346 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 1.51684 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 64140080 ns
      Average runtime : 1.6035 ns/op
      Ops per second : 623635642 op/s
      -- Other function --
      Total time : 42232132 ns
      Average runtime : 1.0558 ns/op
      Ops per second : 947147068 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.51875

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 64247041 ns
      Average runtime : 1.60617 ns/op
      Ops per second : 622597389 op/s
      -- Other function --
      Total time : 42414192 ns
      Average runtime : 1.06035 ns/op
      Ops per second : 943081504 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.51475

    • fmaximumf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 32937837 ns 
           Average runtime : 1.60986 ns/op 
           Ops per second  : 621170115 op/s 
      -- Other function --
           Total time      : 21791382 ns 
           Average runtime : 1.06507 ns/op 
           Ops per second  : 938903278 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 1.51151 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 977126965 ns
      Average runtime : 1.59043 ns/op
      Ops per second : 628761688 op/s
      -- Other function --
      Total time : 651160103 ns
      Average runtime : 1.05987 ns/op
      Ops per second : 943516037 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.50059

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 651561450 ns
      Average runtime : 1.59073 ns/op
      Ops per second : 628643698 op/s
      -- Other function --
      Total time : 434910344 ns
      Average runtime : 1.06179 ns/op
      Ops per second : 941803306 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.49815

    • fmaximum_numf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 73874354 ns 
           Average runtime : 1.84686 ns/op 
           Ops per second  : 541460437 op/s 
      -- Other function --
           Total time      : 44275176 ns 
           Average runtime : 1.10688 ns/op 
           Ops per second  : 903441693 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 1.66853 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 71133398 ns
      Average runtime : 1.77833 ns/op
      Ops per second : 562324324 op/s
      -- Other function --
      Total time : 42237435 ns
      Average runtime : 1.05593 ns/op
      Ops per second : 947028151 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.68413

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 69794053 ns
      Average runtime : 1.74485 ns/op
      Ops per second : 573115305 op/s
      -- Other function --
      Total time : 42419748 ns
      Average runtime : 1.06049 ns/op
      Ops per second : 942957982 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.64532

    • fmaximum_numf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 45888580 ns 
           Average runtime : 2.24284 ns/op 
           Ops per second  : 445862565 op/s 
      -- Other function --
           Total time      : 21798555 ns 
           Average runtime : 1.06542 ns/op 
           Ops per second  : 938594324 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 2.10512 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 1366552775 ns
      Average runtime : 2.22428 ns/op
      Ops per second : 449583807 op/s
      -- Other function --
      Total time : 651029372 ns
      Average runtime : 1.05965 ns/op
      Ops per second : 943705501 op/s
      -- Average runtime ratio --
      Mine / Other's : 2.09906

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 912574054 ns
      Average runtime : 2.22796 ns/op
      Ops per second : 448840286 op/s
      -- Other function --
      Total time : 434410957 ns
      Average runtime : 1.06057 ns/op
      Ops per second : 942885977 op/s
      -- Average runtime ratio --
      Mine / Other's : 2.10072

    • fminf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 55335630 ns 
           Average runtime : 1.38339 ns/op 
           Ops per second  : 722862286 op/s 
      -- Other function --
           Total time      : 55600128 ns 
           Average runtime : 1.39 ns/op 
           Ops per second  : 719423523 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 0.995243 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 52792998 ns
      Average runtime : 1.31982 ns/op
      Ops per second : 757676993 op/s
      -- Other function --
      Total time : 53042316 ns
      Average runtime : 1.32606 ns/op
      Ops per second : 754115638 op/s
      -- Average runtime ratio --
      Mine / Other's : 0.9953

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 53024221 ns
      Average runtime : 1.3256 ns/op
      Ops per second : 754372987 op/s
      -- Other function --
      Total time : 53251698 ns
      Average runtime : 1.33129 ns/op
      Ops per second : 751150507 op/s
      -- Average runtime ratio --
      Mine / Other's : 0.995728

    • fminf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 33565661 ns 
           Average runtime : 1.64055 ns/op 
           Ops per second  : 609551529 op/s 
      -- Other function --
           Total time      : 21798734 ns 
           Average runtime : 1.06543 ns/op 
           Ops per second  : 938586617 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 1.5398 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 985970580 ns
      Average runtime : 1.60482 ns/op
      Ops per second : 623122040 op/s
      -- Other function --
      Total time : 652246491 ns
      Average runtime : 1.06163 ns/op
      Ops per second : 941944507 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.51165

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 654948531 ns
      Average runtime : 1.599 ns/op
      Ops per second : 625392653 op/s
      -- Other function --
      Total time : 434254520 ns
      Average runtime : 1.06019 ns/op
      Ops per second : 943225645 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.50821

    • fminimumf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 55344496 ns 
           Average runtime : 1.38361 ns/op 
           Ops per second  : 722746485 op/s 
      -- Other function --
           Total time      : 44267760 ns 
           Average runtime : 1.10669 ns/op 
           Ops per second  : 903593043 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 1.25022 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 52788799 ns
      Average runtime : 1.31972 ns/op
      Ops per second : 757737261 op/s
      -- Other function --
      Total time : 42232642 ns
      Average runtime : 1.05581 ns/op
      Ops per second : 947135630 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.24995

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 53015226 ns
      Average runtime : 1.32538 ns/op
      Ops per second : 754500980 op/s
      -- Other function --
      Total time : 42459019 ns
      Average runtime : 1.06147 ns/op
      Ops per second : 942085826 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.24862

    • fminimumf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 33411475 ns 
           Average runtime : 1.63301 ns/op 
           Ops per second  : 612364464 op/s 
      -- Other function --
           Total time      : 21798632 ns 
           Average runtime : 1.06543 ns/op 
           Ops per second  : 938591008 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 1.53273 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 988772446 ns
      Average runtime : 1.60938 ns/op
      Ops per second : 621356311 op/s
      -- Other function --
      Total time : 652200481 ns
      Average runtime : 1.06156 ns/op
      Ops per second : 942010958 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.51606

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 658300799 ns
      Average runtime : 1.60718 ns/op
      Ops per second : 622207964 op/s
      -- Other function --
      Total time : 434887398 ns
      Average runtime : 1.06174 ns/op
      Ops per second : 941852998 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.51373

    • fminimum_numf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 69412222 ns 
           Average runtime : 1.7353 ns/op 
           Ops per second  : 576267966 op/s 
      -- Other function --
           Total time      : 44266024 ns 
           Average runtime : 1.10665 ns/op 
           Ops per second  : 903628480 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 1.56807 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 64319187 ns
      Average runtime : 1.60798 ns/op
      Ops per second : 621899029 op/s
      -- Other function --
      Total time : 42230633 ns
      Average runtime : 1.05576 ns/op
      Ops per second : 947180687 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.52305

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 65532598 ns
      Average runtime : 1.63831 ns/op
      Ops per second : 610383858 op/s
      -- Other function --
      Total time : 42411994 ns
      Average runtime : 1.0603 ns/op
      Ops per second : 943130379 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.54514

    • fminimum_numf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 46173191 ns 
           Average runtime : 2.25675 ns/op 
           Ops per second  : 443114273 op/s 
      -- Other function --
           Total time      : 21797289 ns 
           Average runtime : 1.06536 ns/op 
           Ops per second  : 938648838 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 2.1183 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 1369106343 ns
      Average runtime : 2.22844 ns/op
      Ops per second : 448745273 op/s
      -- Other function --
      Total time : 650001019 ns
      Average runtime : 1.05798 ns/op
      Ops per second : 945198518 op/s
      -- Average runtime ratio --
      Mine / Other's : 2.10631

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 914128719 ns
      Average runtime : 2.23176 ns/op
      Ops per second : 448076940 op/s
      -- Other function --
      Total time : 434882827 ns
      Average runtime : 1.06173 ns/op
      Ops per second : 941862898 op/s
      -- Average runtime ratio --
      Mine / Other's : 2.10201

  • Intel Core i7-13700H, GCC 14, -march=native
    • fmaxf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 77368374 ns 
           Average runtime : 1.93421 ns/op 
           Ops per second  : 517007634 op/s 
      -- Other function --
           Total time      : 55598555 ns 
           Average runtime : 1.38996 ns/op 
           Ops per second  : 719443877 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 1.39155 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 73904583 ns
      Average runtime : 1.84761 ns/op
      Ops per second : 541238964 op/s
      -- Other function --
      Total time : 53029183 ns
      Average runtime : 1.32573 ns/op
      Ops per second : 754302399 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.39366

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 74018295 ns
      Average runtime : 1.85046 ns/op
      Ops per second : 540407476 op/s
      -- Other function --
      Total time : 53257944 ns
      Average runtime : 1.33145 ns/op
      Ops per second : 751062414 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.38981

    • fmaxf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 35048737 ns 
           Average runtime : 1.71304 ns/op 
           Ops per second  : 583758553 op/s 
      -- Other function --
           Total time      : 21803857 ns 
           Average runtime : 1.06568 ns/op 
           Ops per second  : 938366088 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 1.60746 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 1007102684 ns
      Average runtime : 1.63922 ns/op
      Ops per second : 610047028 op/s
      -- Other function --
      Total time : 648773889 ns
      Average runtime : 1.05598 ns/op
      Ops per second : 946986323 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.55232

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 666701470 ns
      Average runtime : 1.62769 ns/op
      Ops per second : 614367926 op/s
      -- Other function --
      Total time : 432504615 ns
      Average runtime : 1.05592 ns/op
      Ops per second : 947041917 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.54149

    • fmaximumf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 66686684 ns 
           Average runtime : 1.66717 ns/op 
           Ops per second  : 599820497 op/s 
      -- Other function --
           Total time      : 44268830 ns 
           Average runtime : 1.10672 ns/op 
           Ops per second  : 903571203 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 1.5064 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 63469682 ns
      Average runtime : 1.58674 ns/op
      Ops per second : 630222788 op/s
      -- Other function --
      Total time : 42234611 ns
      Average runtime : 1.05586 ns/op
      Ops per second : 947091474 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.50279

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 63660113 ns
      Average runtime : 1.5915 ns/op
      Ops per second : 628337558 op/s
      -- Other function --
      Total time : 42412827 ns
      Average runtime : 1.06032 ns/op
      Ops per second : 943111856 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.50096

    • fmaximumf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 32949866 ns 
           Average runtime : 1.61045 ns/op 
           Ops per second  : 620943344 op/s 
      -- Other function --
           Total time      : 21808489 ns 
           Average runtime : 1.06591 ns/op 
           Ops per second  : 938166784 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 1.51087 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 976511036 ns
      Average runtime : 1.58943 ns/op
      Ops per second : 629158276 op/s
      -- Other function --
      Total time : 648723528 ns
      Average runtime : 1.0559 ns/op
      Ops per second : 947059839 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.50528

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 653605381 ns
      Average runtime : 1.59572 ns/op
      Ops per second : 626677827 op/s
      -- Other function --
      Total time : 432486709 ns
      Average runtime : 1.05588 ns/op
      Ops per second : 947081127 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.51127

    • fmaximum_numf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 74230405 ns 
           Average runtime : 1.85576 ns/op 
           Ops per second  : 538863286 op/s 
      -- Other function --
           Total time      : 44313254 ns 
           Average runtime : 1.10783 ns/op 
           Ops per second  : 902665374 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 1.67513 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 69578340 ns
      Average runtime : 1.73946 ns/op
      Ops per second : 574892128 op/s
      -- Other function --
      Total time : 42229166 ns
      Average runtime : 1.05573 ns/op
      Ops per second : 947213591 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.64764

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 71927924 ns
      Average runtime : 1.7982 ns/op
      Ops per second : 556112810 op/s
      -- Other function --
      Total time : 42411937 ns
      Average runtime : 1.0603 ns/op
      Ops per second : 943131647 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.69594

    • fmaximum_numf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 46028659 ns 
           Average runtime : 2.24969 ns/op 
           Ops per second  : 444505671 op/s 
      -- Other function --
           Total time      : 21800154 ns 
           Average runtime : 1.0655 ns/op 
           Ops per second  : 938525480 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 2.11139 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 1371873708 ns
      Average runtime : 2.23294 ns/op
      Ops per second : 447840057 op/s
      -- Other function --
      Total time : 651077868 ns
      Average runtime : 1.05973 ns/op
      Ops per second : 943635208 op/s
      -- Average runtime ratio --
      Mine / Other's : 2.10708

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 917558272 ns
      Average runtime : 2.24013 ns/op
      Ops per second : 446402165 op/s
      -- Other function --
      Total time : 433545053 ns
      Average runtime : 1.05846 ns/op
      Ops per second : 944769170 op/s
      -- Average runtime ratio --
      Mine / Other's : 2.11641

    • fminf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 55335394 ns 
           Average runtime : 1.38338 ns/op 
           Ops per second  : 722865368 op/s 
      -- Other function --
           Total time      : 55591469 ns 
           Average runtime : 1.38979 ns/op 
           Ops per second  : 719535581 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 0.995394 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 52788080 ns
      Average runtime : 1.3197 ns/op
      Ops per second : 757747582 op/s
      -- Other function --
      Total time : 53020898 ns
      Average runtime : 1.32552 ns/op
      Ops per second : 754420266 op/s
      -- Average runtime ratio --
      Mine / Other's : 0.995609

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 53025995 ns
      Average runtime : 1.32565 ns/op
      Ops per second : 754347749 op/s
      -- Other function --
      Total time : 53238294 ns
      Average runtime : 1.33096 ns/op
      Ops per second : 751339627 op/s
      -- Average runtime ratio --
      Mine / Other's : 0.996012

    • fminf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 33402804 ns 
           Average runtime : 1.63259 ns/op 
           Ops per second  : 612523427 op/s 
      -- Other function --
           Total time      : 21800671 ns 
           Average runtime : 1.06553 ns/op 
           Ops per second  : 938503223 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 1.53219 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 982663771 ns
      Average runtime : 1.59944 ns/op
      Ops per second : 625218938 op/s
      -- Other function --
      Total time : 648742207 ns
      Average runtime : 1.05593 ns/op
      Ops per second : 947032570 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.51472

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 657455239 ns
      Average runtime : 1.60512 ns/op
      Ops per second : 623008192 op/s
      -- Other function --
      Total time : 432653194 ns
      Average runtime : 1.05628 ns/op
      Ops per second : 946716690 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.51959

    • fminimumf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 55344418 ns 
           Average runtime : 1.38361 ns/op 
           Ops per second  : 722747504 op/s 
      -- Other function --
           Total time      : 44268670 ns 
           Average runtime : 1.10672 ns/op 
           Ops per second  : 903574469 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 1.25019 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 52799896 ns
      Average runtime : 1.32 ns/op
      Ops per second : 757578007 op/s
      -- Other function --
      Total time : 42229692 ns
      Average runtime : 1.05574 ns/op
      Ops per second : 947201793 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.2503

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 53022400 ns
      Average runtime : 1.32556 ns/op
      Ops per second : 754398895 op/s
      -- Other function --
      Total time : 42416245 ns
      Average runtime : 1.06041 ns/op
      Ops per second : 943035858 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.25005

    • fminimumf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 33513658 ns 
           Average runtime : 1.63801 ns/op 
           Ops per second  : 610497367 op/s 
      -- Other function --
           Total time      : 21794112 ns 
           Average runtime : 1.06521 ns/op 
           Ops per second  : 938785668 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 1.53774 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 987192836 ns
      Average runtime : 1.60681 ns/op
      Ops per second : 622350545 op/s
      -- Other function --
      Total time : 649693346 ns
      Average runtime : 1.05748 ns/op
      Ops per second : 945646132 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.51948

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 658253671 ns
      Average runtime : 1.60706 ns/op
      Ops per second : 622252511 op/s
      -- Other function --
      Total time : 434879825 ns
      Average runtime : 1.06172 ns/op
      Ops per second : 941869400 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.51364

    • fminimum_numf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 69070941 ns 
           Average runtime : 1.72677 ns/op 
           Ops per second  : 579115318 op/s 
      -- Other function --
           Total time      : 44274313 ns 
           Average runtime : 1.10686 ns/op 
           Ops per second  : 903459303 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 1.56007 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 67264819 ns
      Average runtime : 1.68162 ns/op
      Ops per second : 594665095 op/s
      -- Other function --
      Total time : 42229466 ns
      Average runtime : 1.05574 ns/op
      Ops per second : 947206862 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.59284

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 67833380 ns
      Average runtime : 1.69583 ns/op
      Ops per second : 589680773 op/s
      -- Other function --
      Total time : 42430064 ns
      Average runtime : 1.06075 ns/op
      Ops per second : 942728721 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.59871

    • fminimum_numf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 46745046 ns 
           Average runtime : 2.2847 ns/op 
           Ops per second  : 437693440 op/s 
      -- Other function --
           Total time      : 21812714 ns 
           Average runtime : 1.06612 ns/op 
           Ops per second  : 937985066 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 2.14302 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 1375592561 ns
      Average runtime : 2.23899 ns/op
      Ops per second : 446629341 op/s
      -- Other function --
      Total time : 648774157 ns
      Average runtime : 1.05598 ns/op
      Ops per second : 946985932 op/s
      -- Average runtime ratio --
      Mine / Other's : 2.12029

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 916443580 ns
      Average runtime : 2.23741 ns/op
      Ops per second : 446945135 op/s
      -- Other function --
      Total time : 432801354 ns
      Average runtime : 1.05664 ns/op
      Ops per second : 946392603 op/s
      -- Average runtime ratio --
      Mine / Other's : 2.11747

  • Google Tensor G3, Clang 17
    • fmaxf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 75513468 ns 
           Average runtime : 1.88783 ns/op 
           Ops per second  : 529707362 op/s 
      -- Other function --
           Total time      : 29760294 ns 
           Average runtime : 0.744007 ns/op 
           Ops per second  : 1344074087 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 2.53739 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 73394125 ns
      Average runtime : 1.83485 ns/op
      Ops per second : 545003295 op/s
      -- Other function --
      Total time : 27909709 ns
      Average runtime : 0.697742 ns/op
      Ops per second : 1433194448 op/s
      -- Average runtime ratio --
      Mine / Other's : 2.6297

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 73853394 ns
      Average runtime : 1.84633 ns/op
      Ops per second : 541614106 op/s
      -- Other function --
      Total time : 29400187 ns
      Average runtime : 0.735004 ns/op
      Ops per second : 1360536924 op/s
      -- Average runtime ratio --
      Mine / Other's : 2.512

    • fmaxf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 28572795 ns 
           Average runtime : 1.39652 ns/op 
           Ops per second  : 716065754 op/s 
      -- Other function --
           Total time      : 17749959 ns 
           Average runtime : 0.867544 ns/op 
           Ops per second  : 1152678718 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 1.60974 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 859805583 ns
      Average runtime : 1.39947 ns/op
      Ops per second : 714556886 op/s
      -- Other function --
      Total time : 483695028 ns
      Average runtime : 0.78729 ns/op
      Ops per second : 1270180515 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.77758

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 578364299 ns
      Average runtime : 1.41202 ns/op
      Ops per second : 708204155 op/s
      -- Other function --
      Total time : 284638550 ns
      Average runtime : 0.694918 ns/op
      Ops per second : 1439018010 op/s
      -- Average runtime ratio --
      Mine / Other's : 2.03193

    • fmaximumf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 44287882 ns 
           Average runtime : 1.1072 ns/op 
           Ops per second  : 903182500 op/s 
      -- Other function --
           Total time      : 29652018 ns 
           Average runtime : 0.7413 ns/op 
           Ops per second  : 1348982049 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 1.49359 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 75609620 ns
      Average runtime : 1.89024 ns/op
      Ops per second : 529033739 op/s
      -- Other function --
      Total time : 28423584 ns
      Average runtime : 0.710589 ns/op
      Ops per second : 1407283472 op/s
      -- Average runtime ratio --
      Mine / Other's : 2.6601

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 75952393 ns
      Average runtime : 1.89881 ns/op
      Ops per second : 526646211 op/s
      -- Other function --
      Total time : 28614339 ns
      Average runtime : 0.715358 ns/op
      Ops per second : 1397901940 op/s
      -- Average runtime ratio --
      Mine / Other's : 2.65435

    • fmaximumf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 21708903 ns 
           Average runtime : 1.06104 ns/op 
           Ops per second  : 942470469 op/s 
      -- Other function --
           Total time      : 15082397 ns 
           Average runtime : 0.737165 ns/op 
           Ops per second  : 1356548299 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 1.43935 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 666345744 ns
      Average runtime : 1.08458 ns/op
      Ops per second : 922013842 op/s
      -- Other function --
      Total time : 431494507 ns
      Average runtime : 0.702325 ns/op
      Ops per second : 1423841995 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.54427

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 458576783 ns
      Average runtime : 1.11957 ns/op
      Ops per second : 893198293 op/s
      -- Other function --
      Total time : 288050334 ns
      Average runtime : 0.703248 ns/op
      Ops per second : 1421973702 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.592

    • fmaximum_numf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 106298787 ns 
           Average runtime : 2.65747 ns/op 
           Ops per second  : 376298179 op/s 
      -- Other function --
           Total time      : 30727905 ns 
           Average runtime : 0.768197 ns/op 
           Ops per second  : 1301749663 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 3.45936 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 101904053 ns
      Average runtime : 2.5476 ns/op
      Ops per second : 392526487 op/s
      -- Other function --
      Total time : 28681885 ns
      Average runtime : 0.717046 ns/op
      Ops per second : 1394609873 op/s
      -- Average runtime ratio --
      Mine / Other's : 3.55291

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 100663412 ns
      Average runtime : 2.51658 ns/op
      Ops per second : 397364237 op/s
      -- Other function --
      Total time : 29932862 ns
      Average runtime : 0.748321 ns/op
      Ops per second : 1336325273 op/s
      -- Average runtime ratio --
      Mine / Other's : 3.36297

    • fmaximum_numf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 51358683 ns 
           Average runtime : 2.5102 ns/op 
           Ops per second  : 398374701 op/s 
      -- Other function --
           Total time      : 16035563 ns 
           Average runtime : 0.783752 ns/op 
           Ops per second  : 1275914041 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 3.2028 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 1548287476 ns
      Average runtime : 2.52008 ns/op
      Ops per second : 396812613 op/s
      -- Other function --
      Total time : 430510132 ns
      Average runtime : 0.700723 ns/op
      Ops per second : 1427097655 op/s
      -- Average runtime ratio --
      Mine / Other's : 3.5964

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 1034102214 ns
      Average runtime : 2.52466 ns/op
      Ops per second : 396092373 op/s
      -- Other function --
      Total time : 286726807 ns
      Average runtime : 0.700017 ns/op
      Ops per second : 1428537513 op/s
      -- Average runtime ratio --
      Mine / Other's : 3.60658

    • fminf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 60813314 ns 
           Average runtime : 1.52033 ns/op 
           Ops per second  : 657751360 op/s 
      -- Other function --
           Total time      : 30801961 ns 
           Average runtime : 0.770048 ns/op 
           Ops per second  : 1298619915 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 1.97433 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 75545980 ns
      Average runtime : 1.88865 ns/op
      Ops per second : 529479397 op/s
      -- Other function --
      Total time : 28527466 ns
      Average runtime : 0.713186 ns/op
      Ops per second : 1402158887 op/s
      -- Average runtime ratio --
      Mine / Other's : 2.64818

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 75871379 ns
      Average runtime : 1.89678 ns/op
      Ops per second : 527208553 op/s
      -- Other function --
      Total time : 28546631 ns
      Average runtime : 0.713665 ns/op
      Ops per second : 1401217537 op/s
      -- Average runtime ratio --
      Mine / Other's : 2.65781

    • fminf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 28254354 ns 
           Average runtime : 1.38096 ns/op 
           Ops per second  : 724136180 op/s 
      -- Other function --
           Total time      : 14814819 ns 
           Average runtime : 0.724087 ns/op 
           Ops per second  : 1381049609 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 1.90717 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 856994385 ns
      Average runtime : 1.39489 ns/op
      Ops per second : 716900846 op/s
      -- Other function --
      Total time : 428132650 ns
      Average runtime : 0.696853 ns/op
      Ops per second : 1435022533 op/s
      -- Average runtime ratio --
      Mine / Other's : 2.0017

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 574573080 ns
      Average runtime : 1.40277 ns/op
      Ops per second : 712877115 op/s
      -- Other function --
      Total time : 288163330 ns
      Average runtime : 0.703524 ns/op
      Ops per second : 1421416111 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.99391

    • fminimumf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 44769654 ns 
           Average runtime : 1.11924 ns/op 
           Ops per second  : 893463237 op/s 
      -- Other function --
           Total time      : 29929444 ns 
           Average runtime : 0.748235 ns/op 
           Ops per second  : 1336477884 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 1.49584 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 75196900 ns
      Average runtime : 1.87992 ns/op
      Ops per second : 531937353 op/s
      -- Other function --
      Total time : 28091024 ns
      Average runtime : 0.702275 ns/op
      Ops per second : 1423943819 op/s
      -- Average runtime ratio --
      Mine / Other's : 2.6769

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 59529989 ns
      Average runtime : 1.48825 ns/op
      Ops per second : 671930915 op/s
      -- Other function --
      Total time : 28930217 ns
      Average runtime : 0.723255 ns/op
      Ops per second : 1382638782 op/s
      -- Average runtime ratio --
      Mine / Other's : 2.05771

    • fminimumf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 38169026 ns 
           Average runtime : 1.86554 ns/op 
           Ops per second  : 536036733 op/s 
      -- Other function --
           Total time      : 14436401 ns 
           Average runtime : 0.705591 ns/op 
           Ops per second  : 1417250739 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 2.64394 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 668715414 ns
      Average runtime : 1.08844 ns/op
      Ops per second : 918746580 op/s
      -- Other function --
      Total time : 430397746 ns
      Average runtime : 0.70054 ns/op
      Ops per second : 1427470300 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.55371

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 462626018 ns
      Average runtime : 1.12946 ns/op
      Ops per second : 885380380 op/s
      -- Other function --
      Total time : 284878784 ns
      Average runtime : 0.695505 ns/op
      Ops per second : 1437804508 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.62394

    • fminimum_numf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 92256592 ns 
           Average runtime : 2.30641 ns/op 
           Ops per second  : 433573787 op/s 
      -- Other function --
           Total time      : 32086100 ns 
           Average runtime : 0.802152 ns/op 
           Ops per second  : 1246646990 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 2.87528 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 88569784 ns
      Average runtime : 2.21424 ns/op
      Ops per second : 451621740 op/s
      -- Other function --
      Total time : 29799154 ns
      Average runtime : 0.744978 ns/op
      Ops per second : 1342321328 op/s
      -- Average runtime ratio --
      Mine / Other's : 2.97222

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 89397461 ns
      Average runtime : 2.23493 ns/op
      Ops per second : 447440448 op/s
      -- Other function --
      Total time : 30559774 ns
      Average runtime : 0.763994 ns/op
      Ops per second : 1308911512 op/s
      -- Average runtime ratio --
      Mine / Other's : 2.92533

    • fminimum_numf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 50284139 ns 
           Average runtime : 2.45768 ns/op 
           Ops per second  : 406887746 op/s 
      -- Other function --
           Total time      : 14620199 ns 
           Average runtime : 0.714575 ns/op 
           Ops per second  : 1399433755 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 3.43936 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 1538015382 ns
      Average runtime : 2.50336 ns/op
      Ops per second : 399462844 op/s
      -- Other function --
      Total time : 436742147 ns
      Average runtime : 0.710866 ns/op
      Ops per second : 1406733937 op/s
      -- Average runtime ratio --
      Mine / Other's : 3.52156

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 1031582845 ns
      Average runtime : 2.51851 ns/op
      Ops per second : 397059724 op/s
      -- Other function --
      Total time : 286090739 ns
      Average runtime : 0.698464 ns/op
      Ops per second : 1431713593 op/s
      -- Average runtime ratio --
      Mine / Other's : 3.60579

  • Google Tensor G3, Clang 17, -mcpu=cortex-x3
    • fmaxf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 76075847 ns 
           Average runtime : 1.90189 ns/op 
           Ops per second  : 525791582 op/s 
      -- Other function --
           Total time      : 29863119 ns 
           Average runtime : 0.746577 ns/op 
           Ops per second  : 1339446157 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 2.54748 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 74323364 ns
      Average runtime : 1.85808 ns/op
      Ops per second : 538189310 op/s
      -- Other function --
      Total time : 28493246 ns
      Average runtime : 0.71233 ns/op
      Ops per second : 1403842861 op/s
      -- Average runtime ratio --
      Mine / Other's : 2.60846

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 74095866 ns
      Average runtime : 1.85239 ns/op
      Ops per second : 539841723 op/s
      -- Other function --
      Total time : 28831421 ns
      Average runtime : 0.720785 ns/op
      Ops per second : 1387376640 op/s
      -- Average runtime ratio --
      Mine / Other's : 2.56997

    • fmaxf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 36966390 ns 
           Average runtime : 1.80676 ns/op 
           Ops per second  : 553475738 op/s 
      -- Other function --
           Total time      : 17701538 ns 
           Average runtime : 0.865178 ns/op 
           Ops per second  : 1155831770 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 2.08832 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 639221354 ns
      Average runtime : 1.04043 ns/op
      Ops per second : 961138103 op/s
      -- Other function --
      Total time : 467717774 ns
      Average runtime : 0.761284 ns/op
      Ops per second : 1313569922 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.36668

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 457701131 ns
      Average runtime : 1.11743 ns/op
      Ops per second : 894907117 op/s
      -- Other function --
      Total time : 325067016 ns
      Average runtime : 0.793621 ns/op
      Ops per second : 1260047866 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.40802

    • fmaximumf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 77589315 ns 
           Average runtime : 1.93973 ns/op 
           Ops per second  : 515535418 op/s 
      -- Other function --
           Total time      : 43328898 ns 
           Average runtime : 1.08322 ns/op 
           Ops per second  : 923172336 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 1.79071 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 75517904 ns
      Average runtime : 1.88795 ns/op
      Ops per second : 529676247 op/s
      -- Other function --
      Total time : 41386556 ns
      Average runtime : 1.03466 ns/op
      Ops per second : 966498396 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.8247

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 75443319 ns
      Average runtime : 1.88608 ns/op
      Ops per second : 530199897 op/s
      -- Other function --
      Total time : 41487386 ns
      Average runtime : 1.03718 ns/op
      Ops per second : 964149440 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.81846

    • fmaximumf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 39995484 ns 
           Average runtime : 1.95481 ns/op 
           Ops per second  : 511557754 op/s 
      -- Other function --
           Total time      : 17820963 ns 
           Average runtime : 0.871015 ns/op 
           Ops per second  : 1148086105 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 2.24429 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 699687663 ns
      Average runtime : 1.13885 ns/op
      Ops per second : 878077508 op/s
      -- Other function --
      Total time : 429962891 ns
      Average runtime : 0.699832 ns/op
      Ops per second : 1428914012 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.62732

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 484343058 ns
      Average runtime : 1.18248 ns/op
      Ops per second : 845681574 op/s
      -- Other function --
      Total time : 285764485 ns
      Average runtime : 0.697667 ns/op
      Ops per second : 1433348164 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.6949

    • fmaximum_numf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 160577637 ns 
           Average runtime : 4.01444 ns/op 
           Ops per second  : 249100938 op/s 
      -- Other function --
           Total time      : 52017985 ns 
           Average runtime : 1.30045 ns/op 
           Ops per second  : 768965579 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 3.08696 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 146904663 ns
      Average runtime : 3.67261 ns/op
      Ops per second : 272285706 op/s
      -- Other function --
      Total time : 48684774 ns
      Average runtime : 1.21712 ns/op
      Ops per second : 821612933 op/s
      -- Average runtime ratio --
      Mine / Other's : 3.01747

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 144039795 ns
      Average runtime : 3.60099 ns/op
      Ops per second : 277701311 op/s
      -- Other function --
      Total time : 41532593 ns
      Average runtime : 1.03831 ns/op
      Ops per second : 963099992 op/s
      -- Average runtime ratio --
      Mine / Other's : 3.46811

    • fmaximum_numf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 77536214 ns 
           Average runtime : 3.78965 ns/op 
           Ops per second  : 263876696 op/s 
      -- Other function --
           Total time      : 14888875 ns 
           Average runtime : 0.727707 ns/op 
           Ops per second  : 1374180386 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 5.20766 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 1873810100 ns
      Average runtime : 3.04992 ns/op
      Ops per second : 327877408 op/s
      -- Other function --
      Total time : 430191325 ns
      Average runtime : 0.700204 ns/op
      Ops per second : 1428155251 op/s
      -- Average runtime ratio --
      Mine / Other's : 4.35576

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 1568347128 ns
      Average runtime : 3.82897 ns/op
      Ops per second : 261166672 op/s
      -- Other function --
      Total time : 290066081 ns
      Average runtime : 0.708169 ns/op
      Ops per second : 1412092026 op/s
      -- Average runtime ratio --
      Mine / Other's : 5.40686

    • fminf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 77639363 ns 
           Average runtime : 1.94098 ns/op 
           Ops per second  : 515203093 op/s 
      -- Other function --
           Total time      : 43953288 ns 
           Average runtime : 1.09883 ns/op 
           Ops per second  : 910057968 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 1.76641 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 75565633 ns
      Average runtime : 1.88914 ns/op
      Ops per second : 529341691 op/s
      -- Other function --
      Total time : 41919190 ns
      Average runtime : 1.04798 ns/op
      Ops per second : 954217865 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.80265

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 75709147 ns
      Average runtime : 1.89273 ns/op
      Ops per second : 528338273 op/s
      -- Other function --
      Total time : 42126017 ns
      Average runtime : 1.05315 ns/op
      Ops per second : 949532921 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.79721

    • fminf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 39869303 ns 
           Average runtime : 1.94865 ns/op 
           Ops per second  : 513176766 op/s 
      -- Other function --
           Total time      : 17714762 ns 
           Average runtime : 0.865824 ns/op 
           Ops per second  : 1154968946 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 2.25063 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 703114624 ns
      Average runtime : 1.14443 ns/op
      Ops per second : 873797783 op/s
      -- Other function --
      Total time : 453043620 ns
      Average runtime : 0.7374 ns/op
      Ops per second : 1356116658 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.55198

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 462928752 ns
      Average runtime : 1.1302 ns/op
      Ops per second : 884801382 op/s
      -- Other function --
      Total time : 325607300 ns
      Average runtime : 0.79494 ns/op
      Ops per second : 1257957054 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.42174

    • fminimumf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 93882284 ns 
           Average runtime : 2.34705 ns/op 
           Ops per second  : 426065901 op/s 
      -- Other function --
           Total time      : 43306031 ns 
           Average runtime : 1.08265 ns/op 
           Ops per second  : 923659801 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 2.16788 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 74952148 ns
      Average runtime : 1.8738 ns/op
      Ops per second : 533674365 op/s
      -- Other function --
      Total time : 56312540 ns
      Average runtime : 1.40781 ns/op
      Ops per second : 710322070 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.331

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 75202270 ns
      Average runtime : 1.88005 ns/op
      Ops per second : 531899369 op/s
      -- Other function --
      Total time : 41424276 ns
      Average runtime : 1.03561 ns/op
      Ops per second : 965618324 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.81542

    • fminimumf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 38685750 ns 
           Average runtime : 1.8908 ns/op 
           Ops per second  : 528876912 op/s 
      -- Other function --
           Total time      : 14577229 ns 
           Average runtime : 0.712475 ns/op 
           Ops per second  : 1403558934 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 2.65385 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 751549805 ns
      Average runtime : 1.22327 ns/op
      Ops per second : 817484078 op/s
      -- Other function --
      Total time : 432962891 ns
      Average runtime : 0.704715 ns/op
      Ops per second : 1419013067 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.73583

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 526040120 ns
      Average runtime : 1.28428 ns/op
      Ops per second : 778647833 op/s
      -- Other function --
      Total time : 289277018 ns
      Average runtime : 0.706243 ns/op
      Ops per second : 1415943799 op/s
      -- Average runtime ratio --
      Mine / Other's : 1.81846

    • fminimum_numf
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 147885538 ns 
           Average runtime : 3.69713 ns/op 
           Ops per second  : 270479727 op/s 
      -- Other function --
           Total time      : 43274862 ns 
           Average runtime : 1.08187 ns/op 
           Ops per second  : 924325073 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 3.41735 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 145146200 ns
      Average runtime : 3.62865 ns/op
      Ops per second : 275584479 op/s
      -- Other function --
      Total time : 41209839 ns
      Average runtime : 1.03024 ns/op
      Ops per second : 970642957 op/s
      -- Average runtime ratio --
      Mine / Other's : 3.52212

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 145701049 ns
      Average runtime : 3.64252 ns/op
      Ops per second : 274535017 op/s
      -- Other function --
      Total time : 41530680 ns
      Average runtime : 1.03827 ns/op
      Ops per second : 963144354 op/s
      -- Average runtime ratio --
      Mine / Other's : 3.50828

    • fminimum_numf16
       Performance tests with inputs in denormal range:
      -- My function --
           Total time      : 91348877 ns 
           Average runtime : 4.46475 ns/op 
           Ops per second  : 223976480 op/s 
      -- Other function --
           Total time      : 14285441 ns 
           Average runtime : 0.698213 ns/op 
           Ops per second  : 1432227398 op/s 
      -- Average runtime ratio --
           Mine / Other's  : 6.39454 
      

      Performance tests with inputs in normal range:
      -- My function --
      Total time : 1373515748 ns
      Average runtime : 2.23561 ns/op
      Ops per second : 447304663 op/s
      -- Other function --
      Total time : 432648356 ns
      Average runtime : 0.704203 ns/op
      Ops per second : 1420044688 op/s
      -- Average runtime ratio --
      Mine / Other's : 3.17467

      Performance tests with inputs in normal range with exponents close to each other:
      -- My function --
      Total time : 1185378948 ns
      Average runtime : 2.89399 ns/op
      Ops per second : 345543507 op/s
      -- Other function --
      Total time : 291605509 ns
      Average runtime : 0.711928 ns/op
      Ops per second : 1404637386 op/s
      -- Average runtime ratio --
      Mine / Other's : 4.06501

@overmighty overmighty merged commit e7f8d4b into llvm:main Jul 23, 2024
6 checks passed
@llvm-ci
Copy link
Collaborator

llvm-ci commented Jul 23, 2024

LLVM Buildbot has detected a new failure on builder libc-x86_64-debian-dbg running on libc-x86_64-debian while building libc at step 4 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/93/builds/2794

Here is the relevant piece of the build log for the reference:

Step 4 (annotate) failure: 'python ../llvm-zorg/zorg/buildbot/builders/annotated/libc-linux.py ...' (failure)
...
[5/501] Building CXX object projects/libc/src/__support/OSUtil/linux/CMakeFiles/libc.src.__support.OSUtil.linux.linux_util.dir/fcntl.cpp.o
[6/501] Building CXX object projects/libc/src/inttypes/CMakeFiles/libc.src.inttypes.strtoumax.dir/strtoumax.cpp.o
[7/501] Building CXX object projects/libc/src/inttypes/CMakeFiles/libc.src.inttypes.strtoimax.dir/strtoimax.cpp.o
[8/501] Building CXX object projects/libc/src/__support/threads/linux/CMakeFiles/libc.src.__support.threads.linux.callonce.dir/callonce.cpp.o
[9/501] Building CXX object projects/libc/src/__support/File/linux/CMakeFiles/libc.src.__support.File.linux.file.dir/file.cpp.o
[10/501] Building CXX object projects/libc/src/__support/File/CMakeFiles/libc.src.__support.File.file.dir/file.cpp.o
[11/501] Building CXX object projects/libc/src/__support/StringUtil/CMakeFiles/libc.src.__support.StringUtil.error_to_string.dir/error_to_string.cpp.o
[12/501] Building CXX object projects/libc/src/__support/StringUtil/CMakeFiles/libc.src.__support.StringUtil.signal_to_string.dir/signal_to_string.cpp.o
[13/501] Building CXX object projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.ceill.dir/ceill.cpp.o
[14/501] Building CXX object projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.fabs.dir/fabs.cpp.o
FAILED: projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.fabs.dir/fabs.cpp.o 
/usr/bin/clang++ -DLIBC_NAMESPACE=__llvm_libc_19_0_0_git -D_DEBUG -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/build/projects/libc/src/math/generic -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/llvm-project/libc/src/math/generic -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/llvm-project/libc -isystem /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/build/projects/libc/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -g -mavx2 -mfma -D__LIBC_MISC_MATH_BASIC_OPS_OPT -D__LIBC_USE_BUILTIN_FMAX_FMIN -DLIBC_QSORT_IMPL=LIBC_QSORT_QUICK_SORT -fpie -fno-builtin -fno-exceptions -fno-lax-vector-conversions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-rtti -ftrivial-auto-var-init=pattern -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wextra -Werror -Wconversion -Wno-sign-conversion -Wimplicit-fallthrough -Wwrite-strings -Wextra-semi -Wnewline-eof -Wnonportable-system-include-path -Wstrict-prototypes -Wthread-safety -Wglobal-constructors -O3 -DLIBC_COPT_PUBLIC_PACKAGING -std=c++17 -MD -MT projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.fabs.dir/fabs.cpp.o -MF projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.fabs.dir/fabs.cpp.o.d -o projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.fabs.dir/fabs.cpp.o -c /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/llvm-project/libc/src/math/generic/fabs.cpp
In file included from /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/llvm-project/libc/src/math/generic/fabs.cpp:10:
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:25: error: unknown type name 'float16'
template <> LIBC_INLINE float16 max(float16 x, float16 y) {
                        ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:37: error: unknown type name 'float16'
template <> LIBC_INLINE float16 max(float16 x, float16 y) {
                                    ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:48: error: unknown type name 'float16'
template <> LIBC_INLINE float16 max(float16 x, float16 y) {
                                               ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:53:10: error: use of undeclared identifier 'float16'
  FPBits<float16> x_bits(x);
         ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:54:10: error: use of undeclared identifier 'float16'
  FPBits<float16> y_bits(y);
         ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:90:25: error: unknown type name 'float16'
template <> LIBC_INLINE float16 min(float16 x, float16 y) {
                        ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:90:37: error: unknown type name 'float16'
template <> LIBC_INLINE float16 min(float16 x, float16 y) {
                                    ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:90:48: error: unknown type name 'float16'
template <> LIBC_INLINE float16 min(float16 x, float16 y) {
                                               ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:91:10: error: use of undeclared identifier 'float16'
  FPBits<float16> x_bits(x);
         ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:92:10: error: use of undeclared identifier 'float16'
  FPBits<float16> y_bits(y);
         ^
10 errors generated.
[15/501] Building CXX object projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalizef.dir/canonicalizef.cpp.o
FAILED: projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalizef.dir/canonicalizef.cpp.o 
/usr/bin/clang++ -DLIBC_NAMESPACE=__llvm_libc_19_0_0_git -D_DEBUG -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/build/projects/libc/src/math/generic -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/llvm-project/libc/src/math/generic -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/llvm-project/libc -isystem /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/build/projects/libc/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -g -mavx2 -mfma -DLIBC_QSORT_IMPL=LIBC_QSORT_QUICK_SORT -fpie -fno-builtin -fno-exceptions -fno-lax-vector-conversions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-rtti -ftrivial-auto-var-init=pattern -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wextra -Werror -Wconversion -Wno-sign-conversion -Wimplicit-fallthrough -Wwrite-strings -Wextra-semi -Wnewline-eof -Wnonportable-system-include-path -Wstrict-prototypes -Wthread-safety -Wglobal-constructors -O3 -DLIBC_COPT_PUBLIC_PACKAGING -std=c++17 -MD -MT projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalizef.dir/canonicalizef.cpp.o -MF projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalizef.dir/canonicalizef.cpp.o.d -o projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalizef.dir/canonicalizef.cpp.o -c /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/llvm-project/libc/src/math/generic/canonicalizef.cpp
In file included from /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/llvm-project/libc/src/math/generic/canonicalizef.cpp:10:
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:25: error: unknown type name 'float16'
Step 6 (build libc) failure: build libc (failure)
...
[5/501] Building CXX object projects/libc/src/__support/OSUtil/linux/CMakeFiles/libc.src.__support.OSUtil.linux.linux_util.dir/fcntl.cpp.o
[6/501] Building CXX object projects/libc/src/inttypes/CMakeFiles/libc.src.inttypes.strtoumax.dir/strtoumax.cpp.o
[7/501] Building CXX object projects/libc/src/inttypes/CMakeFiles/libc.src.inttypes.strtoimax.dir/strtoimax.cpp.o
[8/501] Building CXX object projects/libc/src/__support/threads/linux/CMakeFiles/libc.src.__support.threads.linux.callonce.dir/callonce.cpp.o
[9/501] Building CXX object projects/libc/src/__support/File/linux/CMakeFiles/libc.src.__support.File.linux.file.dir/file.cpp.o
[10/501] Building CXX object projects/libc/src/__support/File/CMakeFiles/libc.src.__support.File.file.dir/file.cpp.o
[11/501] Building CXX object projects/libc/src/__support/StringUtil/CMakeFiles/libc.src.__support.StringUtil.error_to_string.dir/error_to_string.cpp.o
[12/501] Building CXX object projects/libc/src/__support/StringUtil/CMakeFiles/libc.src.__support.StringUtil.signal_to_string.dir/signal_to_string.cpp.o
[13/501] Building CXX object projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.ceill.dir/ceill.cpp.o
[14/501] Building CXX object projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.fabs.dir/fabs.cpp.o
FAILED: projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.fabs.dir/fabs.cpp.o 
/usr/bin/clang++ -DLIBC_NAMESPACE=__llvm_libc_19_0_0_git -D_DEBUG -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/build/projects/libc/src/math/generic -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/llvm-project/libc/src/math/generic -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/llvm-project/libc -isystem /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/build/projects/libc/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -g -mavx2 -mfma -D__LIBC_MISC_MATH_BASIC_OPS_OPT -D__LIBC_USE_BUILTIN_FMAX_FMIN -DLIBC_QSORT_IMPL=LIBC_QSORT_QUICK_SORT -fpie -fno-builtin -fno-exceptions -fno-lax-vector-conversions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-rtti -ftrivial-auto-var-init=pattern -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wextra -Werror -Wconversion -Wno-sign-conversion -Wimplicit-fallthrough -Wwrite-strings -Wextra-semi -Wnewline-eof -Wnonportable-system-include-path -Wstrict-prototypes -Wthread-safety -Wglobal-constructors -O3 -DLIBC_COPT_PUBLIC_PACKAGING -std=c++17 -MD -MT projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.fabs.dir/fabs.cpp.o -MF projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.fabs.dir/fabs.cpp.o.d -o projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.fabs.dir/fabs.cpp.o -c /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/llvm-project/libc/src/math/generic/fabs.cpp
In file included from /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/llvm-project/libc/src/math/generic/fabs.cpp:10:
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:25: error: unknown type name 'float16'
template <> LIBC_INLINE float16 max(float16 x, float16 y) {
                        ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:37: error: unknown type name 'float16'
template <> LIBC_INLINE float16 max(float16 x, float16 y) {
                                    ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:48: error: unknown type name 'float16'
template <> LIBC_INLINE float16 max(float16 x, float16 y) {
                                               ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:53:10: error: use of undeclared identifier 'float16'
  FPBits<float16> x_bits(x);
         ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:54:10: error: use of undeclared identifier 'float16'
  FPBits<float16> y_bits(y);
         ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:90:25: error: unknown type name 'float16'
template <> LIBC_INLINE float16 min(float16 x, float16 y) {
                        ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:90:37: error: unknown type name 'float16'
template <> LIBC_INLINE float16 min(float16 x, float16 y) {
                                    ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:90:48: error: unknown type name 'float16'
template <> LIBC_INLINE float16 min(float16 x, float16 y) {
                                               ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:91:10: error: use of undeclared identifier 'float16'
  FPBits<float16> x_bits(x);
         ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:92:10: error: use of undeclared identifier 'float16'
  FPBits<float16> y_bits(y);
         ^
10 errors generated.
[15/501] Building CXX object projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalizef.dir/canonicalizef.cpp.o
FAILED: projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalizef.dir/canonicalizef.cpp.o 
/usr/bin/clang++ -DLIBC_NAMESPACE=__llvm_libc_19_0_0_git -D_DEBUG -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/build/projects/libc/src/math/generic -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/llvm-project/libc/src/math/generic -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/llvm-project/libc -isystem /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/build/projects/libc/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -g -mavx2 -mfma -DLIBC_QSORT_IMPL=LIBC_QSORT_QUICK_SORT -fpie -fno-builtin -fno-exceptions -fno-lax-vector-conversions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-rtti -ftrivial-auto-var-init=pattern -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wextra -Werror -Wconversion -Wno-sign-conversion -Wimplicit-fallthrough -Wwrite-strings -Wextra-semi -Wnewline-eof -Wnonportable-system-include-path -Wstrict-prototypes -Wthread-safety -Wglobal-constructors -O3 -DLIBC_COPT_PUBLIC_PACKAGING -std=c++17 -MD -MT projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalizef.dir/canonicalizef.cpp.o -MF projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalizef.dir/canonicalizef.cpp.o.d -o projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalizef.dir/canonicalizef.cpp.o -c /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/llvm-project/libc/src/math/generic/canonicalizef.cpp
In file included from /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/llvm-project/libc/src/math/generic/canonicalizef.cpp:10:
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:25: error: unknown type name 'float16'

@llvm-ci
Copy link
Collaborator

llvm-ci commented Jul 23, 2024

LLVM Buildbot has detected a new failure on builder libc-x86_64-debian-gcc-fullbuild-dbg running on libc-x86_64-debian-fullbuild while building libc at step 4 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/131/builds/2882

Here is the relevant piece of the build log for the reference:

Step 4 (annotate) failure: 'python ../llvm-zorg/zorg/buildbot/builders/annotated/libc-linux.py ...' (failure)
...
[401/401] Linking CXX static library projects/libc/lib/libc.a
@@@BUILD_STEP build libc-startup@@@
Running: ninja libc-startup
ninja: no work to do.
@@@BUILD_STEP libc-unit-tests@@@
Running: ninja libc-unit-tests
[1/4276] Building CXX object projects/libc/src/inttypes/CMakeFiles/libc.src.inttypes.imaxdiv.__internal__.dir/imaxdiv.cpp.o
[2/4276] Building CXX object projects/libc/src/inttypes/CMakeFiles/libc.src.inttypes.imaxabs.__internal__.dir/imaxabs.cpp.o
[3/4276] Building CXX object projects/libc/src/inttypes/CMakeFiles/libc.src.inttypes.strtoimax.__internal__.dir/strtoimax.cpp.o
[4/4276] Building CXX object projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalizef.dir/canonicalizef.cpp.o
FAILED: projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalizef.dir/canonicalizef.cpp.o 
/usr/bin/g++ -DLIBC_NAMESPACE=__llvm_libc_19_0_0_git -D_DEBUG -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/build/projects/libc/src/math/generic -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/llvm-project/libc/src/math/generic -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/llvm-project/libc -isystem /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/build/projects/libc/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -g -mavx2 -mfma -DLIBC_QSORT_IMPL=LIBC_QSORT_QUICK_SORT -fpie -ffreestanding -DLIBC_FULL_BUILD -fno-builtin -fno-exceptions -fno-lax-vector-conversions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-rtti -ftrivial-auto-var-init=pattern -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wextra -Werror -Wconversion -Wno-sign-conversion -Wimplicit-fallthrough -Wwrite-strings -Wextra-semi -O3 -DLIBC_COPT_PUBLIC_PACKAGING -std=c++17 -MD -MT projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalizef.dir/canonicalizef.cpp.o -MF projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalizef.dir/canonicalizef.cpp.o.d -o projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalizef.dir/canonicalizef.cpp.o -c /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/llvm-project/libc/src/math/generic/canonicalizef.cpp
In file included from /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/llvm-project/libc/src/math/generic/canonicalizef.cpp:10:
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:25: error: ‘float16’ does not name a type; did you mean ‘float128’?
   52 | template <> LIBC_INLINE float16 max(float16 x, float16 y) {
      |                         ^~~~~~~
      |                         float128
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:90:25: error: ‘float16’ does not name a type; did you mean ‘float128’?
   90 | template <> LIBC_INLINE float16 min(float16 x, float16 y) {
      |                         ^~~~~~~
      |                         float128
[5/4276] Building CXX object projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.ceil.__internal__.dir/ceil.cpp.o
[6/4276] Building CXX object projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.__internal__.dir/canonicalize.cpp.o
FAILED: projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.__internal__.dir/canonicalize.cpp.o 
/usr/bin/g++ -DLIBC_NAMESPACE=__llvm_libc_19_0_0_git -D_DEBUG -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/build/projects/libc/src/math/generic -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/llvm-project/libc/src/math/generic -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/llvm-project/libc -isystem /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/build/projects/libc/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -g -mavx2 -mfma -DLIBC_QSORT_IMPL=LIBC_QSORT_QUICK_SORT -fpie -ffreestanding -DLIBC_FULL_BUILD -fno-builtin -fno-exceptions -fno-lax-vector-conversions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-rtti -ftrivial-auto-var-init=pattern -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wextra -Werror -Wconversion -Wno-sign-conversion -Wimplicit-fallthrough -Wwrite-strings -Wextra-semi -O3 -std=c++17 -MD -MT projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.__internal__.dir/canonicalize.cpp.o -MF projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.__internal__.dir/canonicalize.cpp.o.d -o projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.__internal__.dir/canonicalize.cpp.o -c /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/llvm-project/libc/src/math/generic/canonicalize.cpp
In file included from /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/llvm-project/libc/src/math/generic/canonicalize.cpp:10:
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:25: error: ‘float16’ does not name a type; did you mean ‘float128’?
   52 | template <> LIBC_INLINE float16 max(float16 x, float16 y) {
      |                         ^~~~~~~
      |                         float128
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:90:25: error: ‘float16’ does not name a type; did you mean ‘float128’?
   90 | template <> LIBC_INLINE float16 min(float16 x, float16 y) {
      |                         ^~~~~~~
      |                         float128
[7/4276] Building CXX object projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.dir/canonicalize.cpp.o
FAILED: projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.dir/canonicalize.cpp.o 
/usr/bin/g++ -DLIBC_NAMESPACE=__llvm_libc_19_0_0_git -D_DEBUG -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/build/projects/libc/src/math/generic -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/llvm-project/libc/src/math/generic -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/llvm-project/libc -isystem /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/build/projects/libc/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -g -mavx2 -mfma -DLIBC_QSORT_IMPL=LIBC_QSORT_QUICK_SORT -fpie -ffreestanding -DLIBC_FULL_BUILD -fno-builtin -fno-exceptions -fno-lax-vector-conversions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-rtti -ftrivial-auto-var-init=pattern -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wextra -Werror -Wconversion -Wno-sign-conversion -Wimplicit-fallthrough -Wwrite-strings -Wextra-semi -O3 -DLIBC_COPT_PUBLIC_PACKAGING -std=c++17 -MD -MT projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.dir/canonicalize.cpp.o -MF projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.dir/canonicalize.cpp.o.d -o projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.dir/canonicalize.cpp.o -c /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/llvm-project/libc/src/math/generic/canonicalize.cpp
In file included from /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/llvm-project/libc/src/math/generic/canonicalize.cpp:10:
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:25: error: ‘float16’ does not name a type; did you mean ‘float128’?
   52 | template <> LIBC_INLINE float16 max(float16 x, float16 y) {
      |                         ^~~~~~~
      |                         float128
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:90:25: error: ‘float16’ does not name a type; did you mean ‘float128’?
   90 | template <> LIBC_INLINE float16 min(float16 x, float16 y) {
      |                         ^~~~~~~
      |                         float128
[8/4276] Building CXX object projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.__NO_FMA_OPT.dir/canonicalize.cpp.o
FAILED: projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.__NO_FMA_OPT.dir/canonicalize.cpp.o 
/usr/bin/g++ -DLIBC_NAMESPACE=__llvm_libc_19_0_0_git -D_DEBUG -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/build/projects/libc/src/math/generic -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/llvm-project/libc/src/math/generic -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/llvm-project/libc -isystem /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/build/projects/libc/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -g -DLIBC_QSORT_IMPL=LIBC_QSORT_QUICK_SORT -fpie -ffreestanding -DLIBC_FULL_BUILD -fno-builtin -fno-exceptions -fno-lax-vector-conversions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-rtti -ftrivial-auto-var-init=pattern -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wextra -Werror -Wconversion -Wno-sign-conversion -Wimplicit-fallthrough -Wwrite-strings -Wextra-semi -O3 -DLIBC_COPT_PUBLIC_PACKAGING -std=c++17 -MD -MT projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.__NO_FMA_OPT.dir/canonicalize.cpp.o -MF projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.__NO_FMA_OPT.dir/canonicalize.cpp.o.d -o projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.__NO_FMA_OPT.dir/canonicalize.cpp.o -c /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-gcc-fullbuild-dbg/llvm-project/libc/src/math/generic/canonicalize.cpp

@llvm-ci
Copy link
Collaborator

llvm-ci commented Jul 23, 2024

LLVM Buildbot has detected a new failure on builder libc-x86_64-debian-fullbuild-dbg running on libc-x86_64-debian-fullbuild while building libc at step 4 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/179/builds/2853

Here is the relevant piece of the build log for the reference:

Step 4 (annotate) failure: 'python ../llvm-zorg/zorg/buildbot/builders/annotated/libc-linux.py ...' (failure)
...
Running: ninja libc-startup
ninja: no work to do.
@@@BUILD_STEP libc-unit-tests@@@
Running: ninja libc-unit-tests
[1/4276] Building CXX object projects/libc/src/inttypes/CMakeFiles/libc.src.inttypes.imaxdiv.__internal__.dir/imaxdiv.cpp.o
[2/4276] Building CXX object projects/libc/src/inttypes/CMakeFiles/libc.src.inttypes.imaxabs.__internal__.dir/imaxabs.cpp.o
[3/4276] Building CXX object projects/libc/src/inttypes/CMakeFiles/libc.src.inttypes.strtoimax.__internal__.dir/strtoimax.cpp.o
[4/4276] Building CXX object projects/libc/src/inttypes/CMakeFiles/libc.src.inttypes.strtoumax.__internal__.dir/strtoumax.cpp.o
[5/4276] Building CXX object projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.ceil.__NO_ROUND_OPT.dir/ceil.cpp.o
[6/4276] Building CXX object projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalizef.__internal__.dir/canonicalizef.cpp.o
FAILED: projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalizef.__internal__.dir/canonicalizef.cpp.o 
/usr/bin/clang++ -DLIBC_NAMESPACE=__llvm_libc_19_0_0_git -D_DEBUG -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg/build/projects/libc/src/math/generic -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg/llvm-project/libc/src/math/generic -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg/llvm-project/libc -isystem /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg/build/projects/libc/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -g -mavx2 -mfma -DLIBC_QSORT_IMPL=LIBC_QSORT_QUICK_SORT -fpie -ffreestanding -DLIBC_FULL_BUILD -nostdlibinc -idirafter/usr/include -fno-builtin -fno-exceptions -fno-lax-vector-conversions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-rtti -ftrivial-auto-var-init=pattern -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wextra -Werror -Wconversion -Wno-sign-conversion -Wimplicit-fallthrough -Wwrite-strings -Wextra-semi -Wnewline-eof -Wnonportable-system-include-path -Wstrict-prototypes -Wthread-safety -Wglobal-constructors -O3 -std=c++17 -MD -MT projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalizef.__internal__.dir/canonicalizef.cpp.o -MF projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalizef.__internal__.dir/canonicalizef.cpp.o.d -o projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalizef.__internal__.dir/canonicalizef.cpp.o -c /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg/llvm-project/libc/src/math/generic/canonicalizef.cpp
In file included from /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg/llvm-project/libc/src/math/generic/canonicalizef.cpp:10:
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:25: error: unknown type name 'float16'
template <> LIBC_INLINE float16 max(float16 x, float16 y) {
                        ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:37: error: unknown type name 'float16'
template <> LIBC_INLINE float16 max(float16 x, float16 y) {
                                    ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:48: error: unknown type name 'float16'
template <> LIBC_INLINE float16 max(float16 x, float16 y) {
                                               ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:53:10: error: use of undeclared identifier 'float16'
  FPBits<float16> x_bits(x);
         ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:54:10: error: use of undeclared identifier 'float16'
  FPBits<float16> y_bits(y);
         ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:90:25: error: unknown type name 'float16'
template <> LIBC_INLINE float16 min(float16 x, float16 y) {
                        ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:90:37: error: unknown type name 'float16'
template <> LIBC_INLINE float16 min(float16 x, float16 y) {
                                    ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:90:48: error: unknown type name 'float16'
template <> LIBC_INLINE float16 min(float16 x, float16 y) {
                                               ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:91:10: error: use of undeclared identifier 'float16'
  FPBits<float16> x_bits(x);
         ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:92:10: error: use of undeclared identifier 'float16'
  FPBits<float16> y_bits(y);
         ^
10 errors generated.
[7/4276] Building CXX object projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.__internal__.dir/canonicalize.cpp.o
FAILED: projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.__internal__.dir/canonicalize.cpp.o 
/usr/bin/clang++ -DLIBC_NAMESPACE=__llvm_libc_19_0_0_git -D_DEBUG -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg/build/projects/libc/src/math/generic -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg/llvm-project/libc/src/math/generic -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg/llvm-project/libc -isystem /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg/build/projects/libc/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -g -mavx2 -mfma -DLIBC_QSORT_IMPL=LIBC_QSORT_QUICK_SORT -fpie -ffreestanding -DLIBC_FULL_BUILD -nostdlibinc -idirafter/usr/include -fno-builtin -fno-exceptions -fno-lax-vector-conversions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-rtti -ftrivial-auto-var-init=pattern -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wextra -Werror -Wconversion -Wno-sign-conversion -Wimplicit-fallthrough -Wwrite-strings -Wextra-semi -Wnewline-eof -Wnonportable-system-include-path -Wstrict-prototypes -Wthread-safety -Wglobal-constructors -O3 -std=c++17 -MD -MT projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.__internal__.dir/canonicalize.cpp.o -MF projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.__internal__.dir/canonicalize.cpp.o.d -o projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.__internal__.dir/canonicalize.cpp.o -c /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg/llvm-project/libc/src/math/generic/canonicalize.cpp
In file included from /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg/llvm-project/libc/src/math/generic/canonicalize.cpp:10:
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:25: error: unknown type name 'float16'
Step 8 (libc-unit-tests) failure: libc-unit-tests (failure)
@@@BUILD_STEP libc-unit-tests@@@
Running: ninja libc-unit-tests
[1/4276] Building CXX object projects/libc/src/inttypes/CMakeFiles/libc.src.inttypes.imaxdiv.__internal__.dir/imaxdiv.cpp.o
[2/4276] Building CXX object projects/libc/src/inttypes/CMakeFiles/libc.src.inttypes.imaxabs.__internal__.dir/imaxabs.cpp.o
[3/4276] Building CXX object projects/libc/src/inttypes/CMakeFiles/libc.src.inttypes.strtoimax.__internal__.dir/strtoimax.cpp.o
[4/4276] Building CXX object projects/libc/src/inttypes/CMakeFiles/libc.src.inttypes.strtoumax.__internal__.dir/strtoumax.cpp.o
[5/4276] Building CXX object projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.ceil.__NO_ROUND_OPT.dir/ceil.cpp.o
[6/4276] Building CXX object projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalizef.__internal__.dir/canonicalizef.cpp.o
FAILED: projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalizef.__internal__.dir/canonicalizef.cpp.o 
/usr/bin/clang++ -DLIBC_NAMESPACE=__llvm_libc_19_0_0_git -D_DEBUG -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg/build/projects/libc/src/math/generic -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg/llvm-project/libc/src/math/generic -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg/llvm-project/libc -isystem /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg/build/projects/libc/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -g -mavx2 -mfma -DLIBC_QSORT_IMPL=LIBC_QSORT_QUICK_SORT -fpie -ffreestanding -DLIBC_FULL_BUILD -nostdlibinc -idirafter/usr/include -fno-builtin -fno-exceptions -fno-lax-vector-conversions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-rtti -ftrivial-auto-var-init=pattern -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wextra -Werror -Wconversion -Wno-sign-conversion -Wimplicit-fallthrough -Wwrite-strings -Wextra-semi -Wnewline-eof -Wnonportable-system-include-path -Wstrict-prototypes -Wthread-safety -Wglobal-constructors -O3 -std=c++17 -MD -MT projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalizef.__internal__.dir/canonicalizef.cpp.o -MF projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalizef.__internal__.dir/canonicalizef.cpp.o.d -o projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalizef.__internal__.dir/canonicalizef.cpp.o -c /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg/llvm-project/libc/src/math/generic/canonicalizef.cpp
In file included from /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg/llvm-project/libc/src/math/generic/canonicalizef.cpp:10:
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:25: error: unknown type name 'float16'
template <> LIBC_INLINE float16 max(float16 x, float16 y) {
                        ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:37: error: unknown type name 'float16'
template <> LIBC_INLINE float16 max(float16 x, float16 y) {
                                    ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:48: error: unknown type name 'float16'
template <> LIBC_INLINE float16 max(float16 x, float16 y) {
                                               ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:53:10: error: use of undeclared identifier 'float16'
  FPBits<float16> x_bits(x);
         ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:54:10: error: use of undeclared identifier 'float16'
  FPBits<float16> y_bits(y);
         ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:90:25: error: unknown type name 'float16'
template <> LIBC_INLINE float16 min(float16 x, float16 y) {
                        ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:90:37: error: unknown type name 'float16'
template <> LIBC_INLINE float16 min(float16 x, float16 y) {
                                    ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:90:48: error: unknown type name 'float16'
template <> LIBC_INLINE float16 min(float16 x, float16 y) {
                                               ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:91:10: error: use of undeclared identifier 'float16'
  FPBits<float16> x_bits(x);
         ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:92:10: error: use of undeclared identifier 'float16'
  FPBits<float16> y_bits(y);
         ^
10 errors generated.
[7/4276] Building CXX object projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.__internal__.dir/canonicalize.cpp.o
FAILED: projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.__internal__.dir/canonicalize.cpp.o 
/usr/bin/clang++ -DLIBC_NAMESPACE=__llvm_libc_19_0_0_git -D_DEBUG -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg/build/projects/libc/src/math/generic -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg/llvm-project/libc/src/math/generic -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg/llvm-project/libc -isystem /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg/build/projects/libc/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -g -mavx2 -mfma -DLIBC_QSORT_IMPL=LIBC_QSORT_QUICK_SORT -fpie -ffreestanding -DLIBC_FULL_BUILD -nostdlibinc -idirafter/usr/include -fno-builtin -fno-exceptions -fno-lax-vector-conversions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-rtti -ftrivial-auto-var-init=pattern -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wextra -Werror -Wconversion -Wno-sign-conversion -Wimplicit-fallthrough -Wwrite-strings -Wextra-semi -Wnewline-eof -Wnonportable-system-include-path -Wstrict-prototypes -Wthread-safety -Wglobal-constructors -O3 -std=c++17 -MD -MT projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.__internal__.dir/canonicalize.cpp.o -MF projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.__internal__.dir/canonicalize.cpp.o.d -o projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.__internal__.dir/canonicalize.cpp.o -c /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg/llvm-project/libc/src/math/generic/canonicalize.cpp
In file included from /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg/llvm-project/libc/src/math/generic/canonicalize.cpp:10:
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:25: error: unknown type name 'float16'
template <> LIBC_INLINE float16 max(float16 x, float16 y) {
                        ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:37: error: unknown type name 'float16'

@llvm-ci
Copy link
Collaborator

llvm-ci commented Jul 23, 2024

LLVM Buildbot has detected a new failure on builder libc-x86_64-debian running on libc-x86_64-debian while building libc at step 4 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/43/builds/2886

Here is the relevant piece of the build log for the reference:

Step 4 (annotate) failure: 'python ../llvm-zorg/zorg/buildbot/builders/annotated/libc-linux.py ...' (failure)
...
[5/501] Building CXX object projects/libc/src/__support/OSUtil/linux/CMakeFiles/libc.src.__support.OSUtil.linux.linux_util.dir/fcntl.cpp.o
[6/501] Building CXX object projects/libc/src/__support/threads/linux/CMakeFiles/libc.src.__support.threads.linux.callonce.dir/callonce.cpp.o
[7/501] Building CXX object projects/libc/src/inttypes/CMakeFiles/libc.src.inttypes.strtoimax.dir/strtoimax.cpp.o
[8/501] Building CXX object projects/libc/src/inttypes/CMakeFiles/libc.src.inttypes.strtoumax.dir/strtoumax.cpp.o
[9/501] Building CXX object projects/libc/src/__support/File/linux/CMakeFiles/libc.src.__support.File.linux.file.dir/file.cpp.o
[10/501] Building CXX object projects/libc/src/__support/StringUtil/CMakeFiles/libc.src.__support.StringUtil.signal_to_string.dir/signal_to_string.cpp.o
[11/501] Building CXX object projects/libc/src/__support/StringUtil/CMakeFiles/libc.src.__support.StringUtil.error_to_string.dir/error_to_string.cpp.o
[12/501] Building CXX object projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.ceilf.dir/ceilf.cpp.o
[13/501] Building CXX object projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.ceill.dir/ceill.cpp.o
[14/501] Building CXX object projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.dir/canonicalize.cpp.o
FAILED: projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.dir/canonicalize.cpp.o 
/usr/bin/clang++ -DLIBC_NAMESPACE=__llvm_libc_19_0_0_git -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian/build/projects/libc/src/math/generic -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian/llvm-project/libc/src/math/generic -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian/llvm-project/libc -isystem /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian/build/projects/libc/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -mavx2 -mfma -DLIBC_QSORT_IMPL=LIBC_QSORT_QUICK_SORT -fpie -fno-builtin -fno-exceptions -fno-lax-vector-conversions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-rtti -ftrivial-auto-var-init=pattern -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wextra -Werror -Wconversion -Wno-sign-conversion -Wimplicit-fallthrough -Wwrite-strings -Wextra-semi -Wnewline-eof -Wnonportable-system-include-path -Wstrict-prototypes -Wthread-safety -Wglobal-constructors -O3 -DLIBC_COPT_PUBLIC_PACKAGING -std=c++17 -MD -MT projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.dir/canonicalize.cpp.o -MF projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.dir/canonicalize.cpp.o.d -o projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.dir/canonicalize.cpp.o -c /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian/llvm-project/libc/src/math/generic/canonicalize.cpp
In file included from /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian/llvm-project/libc/src/math/generic/canonicalize.cpp:10:
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:25: error: unknown type name 'float16'
template <> LIBC_INLINE float16 max(float16 x, float16 y) {
                        ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:37: error: unknown type name 'float16'
template <> LIBC_INLINE float16 max(float16 x, float16 y) {
                                    ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:48: error: unknown type name 'float16'
template <> LIBC_INLINE float16 max(float16 x, float16 y) {
                                               ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:53:10: error: use of undeclared identifier 'float16'
  FPBits<float16> x_bits(x);
         ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:54:10: error: use of undeclared identifier 'float16'
  FPBits<float16> y_bits(y);
         ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:90:25: error: unknown type name 'float16'
template <> LIBC_INLINE float16 min(float16 x, float16 y) {
                        ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:90:37: error: unknown type name 'float16'
template <> LIBC_INLINE float16 min(float16 x, float16 y) {
                                    ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:90:48: error: unknown type name 'float16'
template <> LIBC_INLINE float16 min(float16 x, float16 y) {
                                               ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:91:10: error: use of undeclared identifier 'float16'
  FPBits<float16> x_bits(x);
         ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:92:10: error: use of undeclared identifier 'float16'
  FPBits<float16> y_bits(y);
         ^
10 errors generated.
[15/501] Building CXX object projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalizel.dir/canonicalizel.cpp.o
FAILED: projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalizel.dir/canonicalizel.cpp.o 
/usr/bin/clang++ -DLIBC_NAMESPACE=__llvm_libc_19_0_0_git -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian/build/projects/libc/src/math/generic -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian/llvm-project/libc/src/math/generic -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian/llvm-project/libc -isystem /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian/build/projects/libc/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -mavx2 -mfma -DLIBC_QSORT_IMPL=LIBC_QSORT_QUICK_SORT -fpie -fno-builtin -fno-exceptions -fno-lax-vector-conversions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-rtti -ftrivial-auto-var-init=pattern -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wextra -Werror -Wconversion -Wno-sign-conversion -Wimplicit-fallthrough -Wwrite-strings -Wextra-semi -Wnewline-eof -Wnonportable-system-include-path -Wstrict-prototypes -Wthread-safety -Wglobal-constructors -O3 -DLIBC_COPT_PUBLIC_PACKAGING -std=c++17 -MD -MT projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalizel.dir/canonicalizel.cpp.o -MF projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalizel.dir/canonicalizel.cpp.o.d -o projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalizel.dir/canonicalizel.cpp.o -c /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian/llvm-project/libc/src/math/generic/canonicalizel.cpp
In file included from /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian/llvm-project/libc/src/math/generic/canonicalizel.cpp:10:
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:25: error: unknown type name 'float16'
Step 6 (build libc) failure: build libc (failure)
...
[5/501] Building CXX object projects/libc/src/__support/OSUtil/linux/CMakeFiles/libc.src.__support.OSUtil.linux.linux_util.dir/fcntl.cpp.o
[6/501] Building CXX object projects/libc/src/__support/threads/linux/CMakeFiles/libc.src.__support.threads.linux.callonce.dir/callonce.cpp.o
[7/501] Building CXX object projects/libc/src/inttypes/CMakeFiles/libc.src.inttypes.strtoimax.dir/strtoimax.cpp.o
[8/501] Building CXX object projects/libc/src/inttypes/CMakeFiles/libc.src.inttypes.strtoumax.dir/strtoumax.cpp.o
[9/501] Building CXX object projects/libc/src/__support/File/linux/CMakeFiles/libc.src.__support.File.linux.file.dir/file.cpp.o
[10/501] Building CXX object projects/libc/src/__support/StringUtil/CMakeFiles/libc.src.__support.StringUtil.signal_to_string.dir/signal_to_string.cpp.o
[11/501] Building CXX object projects/libc/src/__support/StringUtil/CMakeFiles/libc.src.__support.StringUtil.error_to_string.dir/error_to_string.cpp.o
[12/501] Building CXX object projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.ceilf.dir/ceilf.cpp.o
[13/501] Building CXX object projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.ceill.dir/ceill.cpp.o
[14/501] Building CXX object projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.dir/canonicalize.cpp.o
FAILED: projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.dir/canonicalize.cpp.o 
/usr/bin/clang++ -DLIBC_NAMESPACE=__llvm_libc_19_0_0_git -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian/build/projects/libc/src/math/generic -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian/llvm-project/libc/src/math/generic -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian/llvm-project/libc -isystem /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian/build/projects/libc/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -mavx2 -mfma -DLIBC_QSORT_IMPL=LIBC_QSORT_QUICK_SORT -fpie -fno-builtin -fno-exceptions -fno-lax-vector-conversions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-rtti -ftrivial-auto-var-init=pattern -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wextra -Werror -Wconversion -Wno-sign-conversion -Wimplicit-fallthrough -Wwrite-strings -Wextra-semi -Wnewline-eof -Wnonportable-system-include-path -Wstrict-prototypes -Wthread-safety -Wglobal-constructors -O3 -DLIBC_COPT_PUBLIC_PACKAGING -std=c++17 -MD -MT projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.dir/canonicalize.cpp.o -MF projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.dir/canonicalize.cpp.o.d -o projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.dir/canonicalize.cpp.o -c /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian/llvm-project/libc/src/math/generic/canonicalize.cpp
In file included from /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian/llvm-project/libc/src/math/generic/canonicalize.cpp:10:
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:25: error: unknown type name 'float16'
template <> LIBC_INLINE float16 max(float16 x, float16 y) {
                        ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:37: error: unknown type name 'float16'
template <> LIBC_INLINE float16 max(float16 x, float16 y) {
                                    ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:48: error: unknown type name 'float16'
template <> LIBC_INLINE float16 max(float16 x, float16 y) {
                                               ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:53:10: error: use of undeclared identifier 'float16'
  FPBits<float16> x_bits(x);
         ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:54:10: error: use of undeclared identifier 'float16'
  FPBits<float16> y_bits(y);
         ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:90:25: error: unknown type name 'float16'
template <> LIBC_INLINE float16 min(float16 x, float16 y) {
                        ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:90:37: error: unknown type name 'float16'
template <> LIBC_INLINE float16 min(float16 x, float16 y) {
                                    ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:90:48: error: unknown type name 'float16'
template <> LIBC_INLINE float16 min(float16 x, float16 y) {
                                               ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:91:10: error: use of undeclared identifier 'float16'
  FPBits<float16> x_bits(x);
         ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:92:10: error: use of undeclared identifier 'float16'
  FPBits<float16> y_bits(y);
         ^
10 errors generated.
[15/501] Building CXX object projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalizel.dir/canonicalizel.cpp.o
FAILED: projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalizel.dir/canonicalizel.cpp.o 
/usr/bin/clang++ -DLIBC_NAMESPACE=__llvm_libc_19_0_0_git -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian/build/projects/libc/src/math/generic -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian/llvm-project/libc/src/math/generic -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian/llvm-project/libc -isystem /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian/build/projects/libc/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -mavx2 -mfma -DLIBC_QSORT_IMPL=LIBC_QSORT_QUICK_SORT -fpie -fno-builtin -fno-exceptions -fno-lax-vector-conversions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-rtti -ftrivial-auto-var-init=pattern -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wextra -Werror -Wconversion -Wno-sign-conversion -Wimplicit-fallthrough -Wwrite-strings -Wextra-semi -Wnewline-eof -Wnonportable-system-include-path -Wstrict-prototypes -Wthread-safety -Wglobal-constructors -O3 -DLIBC_COPT_PUBLIC_PACKAGING -std=c++17 -MD -MT projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalizel.dir/canonicalizel.cpp.o -MF projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalizel.dir/canonicalizel.cpp.o.d -o projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalizel.dir/canonicalizel.cpp.o -c /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian/llvm-project/libc/src/math/generic/canonicalizel.cpp
In file included from /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian/llvm-project/libc/src/math/generic/canonicalizel.cpp:10:
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:25: error: unknown type name 'float16'

@llvm-ci
Copy link
Collaborator

llvm-ci commented Jul 23, 2024

LLVM Buildbot has detected a new failure on builder libc-x86_64-debian-dbg-asan running on libc-x86_64-debian while building libc at step 4 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/147/builds/2795

Here is the relevant piece of the build log for the reference:

Step 4 (annotate) failure: 'python ../llvm-zorg/zorg/buildbot/builders/annotated/libc-linux.py ...' (failure)
...
[2/501] Building CXX object projects/libc/src/inttypes/CMakeFiles/libc.src.inttypes.imaxdiv.dir/imaxdiv.cpp.o
[3/501] Building CXX object projects/libc/src/__support/OSUtil/linux/CMakeFiles/libc.src.__support.OSUtil.linux.linux_util.dir/exit.cpp.o
[4/501] Building CXX object projects/libc/src/__support/OSUtil/linux/CMakeFiles/libc.src.__support.OSUtil.linux.pid.dir/pid.cpp.o
[5/501] Building CXX object projects/libc/src/__support/OSUtil/linux/CMakeFiles/libc.src.__support.OSUtil.linux.linux_util.dir/fcntl.cpp.o
[6/501] Building CXX object projects/libc/src/__support/threads/linux/CMakeFiles/libc.src.__support.threads.linux.callonce.dir/callonce.cpp.o
[7/501] Building CXX object projects/libc/src/inttypes/CMakeFiles/libc.src.inttypes.strtoumax.dir/strtoumax.cpp.o
[8/501] Building CXX object projects/libc/src/inttypes/CMakeFiles/libc.src.inttypes.strtoimax.dir/strtoimax.cpp.o
[9/501] Building CXX object projects/libc/src/__support/File/linux/CMakeFiles/libc.src.__support.File.linux.file.dir/file.cpp.o
[10/501] Building CXX object projects/libc/src/__support/StringUtil/CMakeFiles/libc.src.__support.StringUtil.signal_to_string.dir/signal_to_string.cpp.o
[11/501] Building CXX object projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.dir/canonicalize.cpp.o
FAILED: projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.dir/canonicalize.cpp.o 
/usr/bin/clang++ -DLIBC_NAMESPACE=__llvm_libc_19_0_0_git -D_DEBUG -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/build/projects/libc/src/math/generic -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/llvm-project/libc/src/math/generic -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/llvm-project/libc -isystem /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/build/projects/libc/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fno-omit-frame-pointer -O1 -fsanitize=address -fdiagnostics-color -g -mavx2 -mfma -DLIBC_QSORT_IMPL=LIBC_QSORT_QUICK_SORT -fpie -fno-builtin -fno-exceptions -fno-lax-vector-conversions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-rtti -ftrivial-auto-var-init=pattern -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wextra -Werror -Wconversion -Wno-sign-conversion -Wimplicit-fallthrough -Wwrite-strings -Wextra-semi -Wnewline-eof -Wnonportable-system-include-path -Wstrict-prototypes -Wthread-safety -Wglobal-constructors -O3 -DLIBC_COPT_PUBLIC_PACKAGING -std=c++17 -MD -MT projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.dir/canonicalize.cpp.o -MF projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.dir/canonicalize.cpp.o.d -o projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.dir/canonicalize.cpp.o -c /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/llvm-project/libc/src/math/generic/canonicalize.cpp
In file included from /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/llvm-project/libc/src/math/generic/canonicalize.cpp:10:
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:25: error: unknown type name 'float16'
template <> LIBC_INLINE float16 max(float16 x, float16 y) {
                        ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:37: error: unknown type name 'float16'
template <> LIBC_INLINE float16 max(float16 x, float16 y) {
                                    ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:48: error: unknown type name 'float16'
template <> LIBC_INLINE float16 max(float16 x, float16 y) {
                                               ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:53:10: error: use of undeclared identifier 'float16'
  FPBits<float16> x_bits(x);
         ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:54:10: error: use of undeclared identifier 'float16'
  FPBits<float16> y_bits(y);
         ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:90:25: error: unknown type name 'float16'
template <> LIBC_INLINE float16 min(float16 x, float16 y) {
                        ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:90:37: error: unknown type name 'float16'
template <> LIBC_INLINE float16 min(float16 x, float16 y) {
                                    ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:90:48: error: unknown type name 'float16'
template <> LIBC_INLINE float16 min(float16 x, float16 y) {
                                               ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:91:10: error: use of undeclared identifier 'float16'
  FPBits<float16> x_bits(x);
         ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:92:10: error: use of undeclared identifier 'float16'
  FPBits<float16> y_bits(y);
         ^
10 errors generated.
[12/501] Building CXX object projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.ceilf128.dir/ceilf128.cpp.o
[13/501] Building CXX object projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.ceill.dir/ceill.cpp.o
[14/501] Building CXX object projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalizef128.dir/canonicalizef128.cpp.o
FAILED: projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalizef128.dir/canonicalizef128.cpp.o 
/usr/bin/clang++ -DLIBC_NAMESPACE=__llvm_libc_19_0_0_git -D_DEBUG -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/build/projects/libc/src/math/generic -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/llvm-project/libc/src/math/generic -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/llvm-project/libc -isystem /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/build/projects/libc/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fno-omit-frame-pointer -O1 -fsanitize=address -fdiagnostics-color -g -mavx2 -mfma -DLIBC_QSORT_IMPL=LIBC_QSORT_QUICK_SORT -fpie -fno-builtin -fno-exceptions -fno-lax-vector-conversions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-rtti -ftrivial-auto-var-init=pattern -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wextra -Werror -Wconversion -Wno-sign-conversion -Wimplicit-fallthrough -Wwrite-strings -Wextra-semi -Wnewline-eof -Wnonportable-system-include-path -Wstrict-prototypes -Wthread-safety -Wglobal-constructors -O3 -DLIBC_COPT_PUBLIC_PACKAGING -std=c++17 -MD -MT projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalizef128.dir/canonicalizef128.cpp.o -MF projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalizef128.dir/canonicalizef128.cpp.o.d -o projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalizef128.dir/canonicalizef128.cpp.o -c /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/llvm-project/libc/src/math/generic/canonicalizef128.cpp
Step 6 (build libc) failure: build libc (failure)
...
[2/501] Building CXX object projects/libc/src/inttypes/CMakeFiles/libc.src.inttypes.imaxdiv.dir/imaxdiv.cpp.o
[3/501] Building CXX object projects/libc/src/__support/OSUtil/linux/CMakeFiles/libc.src.__support.OSUtil.linux.linux_util.dir/exit.cpp.o
[4/501] Building CXX object projects/libc/src/__support/OSUtil/linux/CMakeFiles/libc.src.__support.OSUtil.linux.pid.dir/pid.cpp.o
[5/501] Building CXX object projects/libc/src/__support/OSUtil/linux/CMakeFiles/libc.src.__support.OSUtil.linux.linux_util.dir/fcntl.cpp.o
[6/501] Building CXX object projects/libc/src/__support/threads/linux/CMakeFiles/libc.src.__support.threads.linux.callonce.dir/callonce.cpp.o
[7/501] Building CXX object projects/libc/src/inttypes/CMakeFiles/libc.src.inttypes.strtoumax.dir/strtoumax.cpp.o
[8/501] Building CXX object projects/libc/src/inttypes/CMakeFiles/libc.src.inttypes.strtoimax.dir/strtoimax.cpp.o
[9/501] Building CXX object projects/libc/src/__support/File/linux/CMakeFiles/libc.src.__support.File.linux.file.dir/file.cpp.o
[10/501] Building CXX object projects/libc/src/__support/StringUtil/CMakeFiles/libc.src.__support.StringUtil.signal_to_string.dir/signal_to_string.cpp.o
[11/501] Building CXX object projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.dir/canonicalize.cpp.o
FAILED: projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.dir/canonicalize.cpp.o 
/usr/bin/clang++ -DLIBC_NAMESPACE=__llvm_libc_19_0_0_git -D_DEBUG -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/build/projects/libc/src/math/generic -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/llvm-project/libc/src/math/generic -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/llvm-project/libc -isystem /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/build/projects/libc/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fno-omit-frame-pointer -O1 -fsanitize=address -fdiagnostics-color -g -mavx2 -mfma -DLIBC_QSORT_IMPL=LIBC_QSORT_QUICK_SORT -fpie -fno-builtin -fno-exceptions -fno-lax-vector-conversions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-rtti -ftrivial-auto-var-init=pattern -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wextra -Werror -Wconversion -Wno-sign-conversion -Wimplicit-fallthrough -Wwrite-strings -Wextra-semi -Wnewline-eof -Wnonportable-system-include-path -Wstrict-prototypes -Wthread-safety -Wglobal-constructors -O3 -DLIBC_COPT_PUBLIC_PACKAGING -std=c++17 -MD -MT projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.dir/canonicalize.cpp.o -MF projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.dir/canonicalize.cpp.o.d -o projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.dir/canonicalize.cpp.o -c /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/llvm-project/libc/src/math/generic/canonicalize.cpp
In file included from /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/llvm-project/libc/src/math/generic/canonicalize.cpp:10:
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:25: error: unknown type name 'float16'
template <> LIBC_INLINE float16 max(float16 x, float16 y) {
                        ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:37: error: unknown type name 'float16'
template <> LIBC_INLINE float16 max(float16 x, float16 y) {
                                    ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:48: error: unknown type name 'float16'
template <> LIBC_INLINE float16 max(float16 x, float16 y) {
                                               ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:53:10: error: use of undeclared identifier 'float16'
  FPBits<float16> x_bits(x);
         ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:54:10: error: use of undeclared identifier 'float16'
  FPBits<float16> y_bits(y);
         ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:90:25: error: unknown type name 'float16'
template <> LIBC_INLINE float16 min(float16 x, float16 y) {
                        ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:90:37: error: unknown type name 'float16'
template <> LIBC_INLINE float16 min(float16 x, float16 y) {
                                    ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:90:48: error: unknown type name 'float16'
template <> LIBC_INLINE float16 min(float16 x, float16 y) {
                                               ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:91:10: error: use of undeclared identifier 'float16'
  FPBits<float16> x_bits(x);
         ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:92:10: error: use of undeclared identifier 'float16'
  FPBits<float16> y_bits(y);
         ^
10 errors generated.
[12/501] Building CXX object projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.ceilf128.dir/ceilf128.cpp.o
[13/501] Building CXX object projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.ceill.dir/ceill.cpp.o
[14/501] Building CXX object projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalizef128.dir/canonicalizef128.cpp.o
FAILED: projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalizef128.dir/canonicalizef128.cpp.o 
/usr/bin/clang++ -DLIBC_NAMESPACE=__llvm_libc_19_0_0_git -D_DEBUG -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/build/projects/libc/src/math/generic -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/llvm-project/libc/src/math/generic -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/llvm-project/libc -isystem /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/build/projects/libc/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fno-omit-frame-pointer -O1 -fsanitize=address -fdiagnostics-color -g -mavx2 -mfma -DLIBC_QSORT_IMPL=LIBC_QSORT_QUICK_SORT -fpie -fno-builtin -fno-exceptions -fno-lax-vector-conversions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-rtti -ftrivial-auto-var-init=pattern -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wextra -Werror -Wconversion -Wno-sign-conversion -Wimplicit-fallthrough -Wwrite-strings -Wextra-semi -Wnewline-eof -Wnonportable-system-include-path -Wstrict-prototypes -Wthread-safety -Wglobal-constructors -O3 -DLIBC_COPT_PUBLIC_PACKAGING -std=c++17 -MD -MT projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalizef128.dir/canonicalizef128.cpp.o -MF projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalizef128.dir/canonicalizef128.cpp.o.d -o projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalizef128.dir/canonicalizef128.cpp.o -c /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-asan/llvm-project/libc/src/math/generic/canonicalizef128.cpp

@llvm-ci
Copy link
Collaborator

llvm-ci commented Jul 23, 2024

LLVM Buildbot has detected a new failure on builder libc-x86_64-debian-fullbuild-dbg-asan running on libc-x86_64-debian-fullbuild while building libc at step 4 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/171/builds/2829

Here is the relevant piece of the build log for the reference:

Step 4 (annotate) failure: 'python ../llvm-zorg/zorg/buildbot/builders/annotated/libc-linux.py ...' (failure)
...
[400/401] Building CXX object projects/libc/src/stdio/printf_core/CMakeFiles/libc.src.stdio.printf_core.converter.dir/converter.cpp.o
[401/401] Linking CXX static library projects/libc/lib/libc.a
@@@BUILD_STEP build libc-startup@@@
Running: ninja libc-startup
ninja: no work to do.
@@@BUILD_STEP libc-unit-tests@@@
Running: ninja libc-unit-tests
[1/4261] Building CXX object projects/libc/src/inttypes/CMakeFiles/libc.src.inttypes.imaxabs.__internal__.dir/imaxabs.cpp.o
[2/4261] Building CXX object projects/libc/src/inttypes/CMakeFiles/libc.src.inttypes.imaxdiv.__internal__.dir/imaxdiv.cpp.o
[3/4261] Building CXX object projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.dir/canonicalize.cpp.o
FAILED: projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.dir/canonicalize.cpp.o 
/usr/bin/clang++ -DLIBC_NAMESPACE=__llvm_libc_19_0_0_git -D_DEBUG -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/build/projects/libc/src/math/generic -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc/src/math/generic -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc -isystem /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/build/projects/libc/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fno-omit-frame-pointer -O1 -fsanitize=address -fdiagnostics-color -g -mavx2 -mfma -DLIBC_QSORT_IMPL=LIBC_QSORT_QUICK_SORT -fpie -ffreestanding -DLIBC_FULL_BUILD -nostdlibinc -idirafter/usr/include -fno-builtin -fno-exceptions -fno-lax-vector-conversions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-rtti -ftrivial-auto-var-init=pattern -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wextra -Werror -Wconversion -Wno-sign-conversion -Wimplicit-fallthrough -Wwrite-strings -Wextra-semi -Wnewline-eof -Wnonportable-system-include-path -Wstrict-prototypes -Wthread-safety -Wglobal-constructors -O3 -DLIBC_COPT_PUBLIC_PACKAGING -std=c++17 -MD -MT projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.dir/canonicalize.cpp.o -MF projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.dir/canonicalize.cpp.o.d -o projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.dir/canonicalize.cpp.o -c /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc/src/math/generic/canonicalize.cpp
In file included from /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc/src/math/generic/canonicalize.cpp:10:
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:25: error: unknown type name 'float16'
template <> LIBC_INLINE float16 max(float16 x, float16 y) {
                        ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:37: error: unknown type name 'float16'
template <> LIBC_INLINE float16 max(float16 x, float16 y) {
                                    ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:48: error: unknown type name 'float16'
template <> LIBC_INLINE float16 max(float16 x, float16 y) {
                                               ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:53:10: error: use of undeclared identifier 'float16'
  FPBits<float16> x_bits(x);
         ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:54:10: error: use of undeclared identifier 'float16'
  FPBits<float16> y_bits(y);
         ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:90:25: error: unknown type name 'float16'
template <> LIBC_INLINE float16 min(float16 x, float16 y) {
                        ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:90:37: error: unknown type name 'float16'
template <> LIBC_INLINE float16 min(float16 x, float16 y) {
                                    ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:90:48: error: unknown type name 'float16'
template <> LIBC_INLINE float16 min(float16 x, float16 y) {
                                               ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:91:10: error: use of undeclared identifier 'float16'
  FPBits<float16> x_bits(x);
         ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:92:10: error: use of undeclared identifier 'float16'
  FPBits<float16> y_bits(y);
         ^
10 errors generated.
[4/4261] Building CXX object projects/libc/src/inttypes/CMakeFiles/libc.src.inttypes.strtoumax.__internal__.dir/strtoumax.cpp.o
[5/4261] Building CXX object projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalizef.__NO_FMA_OPT.dir/canonicalizef.cpp.o
FAILED: projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalizef.__NO_FMA_OPT.dir/canonicalizef.cpp.o 
/usr/bin/clang++ -DLIBC_NAMESPACE=__llvm_libc_19_0_0_git -D_DEBUG -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/build/projects/libc/src/math/generic -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc/src/math/generic -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc -isystem /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/build/projects/libc/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fno-omit-frame-pointer -O1 -fsanitize=address -fdiagnostics-color -g -DLIBC_QSORT_IMPL=LIBC_QSORT_QUICK_SORT -fpie -ffreestanding -DLIBC_FULL_BUILD -nostdlibinc -idirafter/usr/include -fno-builtin -fno-exceptions -fno-lax-vector-conversions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-rtti -ftrivial-auto-var-init=pattern -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wextra -Werror -Wconversion -Wno-sign-conversion -Wimplicit-fallthrough -Wwrite-strings -Wextra-semi -Wnewline-eof -Wnonportable-system-include-path -Wstrict-prototypes -Wthread-safety -Wglobal-constructors -O3 -DLIBC_COPT_PUBLIC_PACKAGING -std=c++17 -MD -MT projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalizef.__NO_FMA_OPT.dir/canonicalizef.cpp.o -MF projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalizef.__NO_FMA_OPT.dir/canonicalizef.cpp.o.d -o projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalizef.__NO_FMA_OPT.dir/canonicalizef.cpp.o -c /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc/src/math/generic/canonicalizef.cpp
In file included from /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc/src/math/generic/canonicalizef.cpp:10:
Step 8 (libc-unit-tests) failure: libc-unit-tests (failure)
@@@BUILD_STEP libc-unit-tests@@@
Running: ninja libc-unit-tests
[1/4261] Building CXX object projects/libc/src/inttypes/CMakeFiles/libc.src.inttypes.imaxabs.__internal__.dir/imaxabs.cpp.o
[2/4261] Building CXX object projects/libc/src/inttypes/CMakeFiles/libc.src.inttypes.imaxdiv.__internal__.dir/imaxdiv.cpp.o
[3/4261] Building CXX object projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.dir/canonicalize.cpp.o
FAILED: projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.dir/canonicalize.cpp.o 
/usr/bin/clang++ -DLIBC_NAMESPACE=__llvm_libc_19_0_0_git -D_DEBUG -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/build/projects/libc/src/math/generic -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc/src/math/generic -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc -isystem /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/build/projects/libc/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fno-omit-frame-pointer -O1 -fsanitize=address -fdiagnostics-color -g -mavx2 -mfma -DLIBC_QSORT_IMPL=LIBC_QSORT_QUICK_SORT -fpie -ffreestanding -DLIBC_FULL_BUILD -nostdlibinc -idirafter/usr/include -fno-builtin -fno-exceptions -fno-lax-vector-conversions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-rtti -ftrivial-auto-var-init=pattern -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wextra -Werror -Wconversion -Wno-sign-conversion -Wimplicit-fallthrough -Wwrite-strings -Wextra-semi -Wnewline-eof -Wnonportable-system-include-path -Wstrict-prototypes -Wthread-safety -Wglobal-constructors -O3 -DLIBC_COPT_PUBLIC_PACKAGING -std=c++17 -MD -MT projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.dir/canonicalize.cpp.o -MF projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.dir/canonicalize.cpp.o.d -o projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.dir/canonicalize.cpp.o -c /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc/src/math/generic/canonicalize.cpp
In file included from /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc/src/math/generic/canonicalize.cpp:10:
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:25: error: unknown type name 'float16'
template <> LIBC_INLINE float16 max(float16 x, float16 y) {
                        ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:37: error: unknown type name 'float16'
template <> LIBC_INLINE float16 max(float16 x, float16 y) {
                                    ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:48: error: unknown type name 'float16'
template <> LIBC_INLINE float16 max(float16 x, float16 y) {
                                               ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:53:10: error: use of undeclared identifier 'float16'
  FPBits<float16> x_bits(x);
         ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:54:10: error: use of undeclared identifier 'float16'
  FPBits<float16> y_bits(y);
         ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:90:25: error: unknown type name 'float16'
template <> LIBC_INLINE float16 min(float16 x, float16 y) {
                        ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:90:37: error: unknown type name 'float16'
template <> LIBC_INLINE float16 min(float16 x, float16 y) {
                                    ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:90:48: error: unknown type name 'float16'
template <> LIBC_INLINE float16 min(float16 x, float16 y) {
                                               ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:91:10: error: use of undeclared identifier 'float16'
  FPBits<float16> x_bits(x);
         ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:92:10: error: use of undeclared identifier 'float16'
  FPBits<float16> y_bits(y);
         ^
10 errors generated.
[4/4261] Building CXX object projects/libc/src/inttypes/CMakeFiles/libc.src.inttypes.strtoumax.__internal__.dir/strtoumax.cpp.o
[5/4261] Building CXX object projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalizef.__NO_FMA_OPT.dir/canonicalizef.cpp.o
FAILED: projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalizef.__NO_FMA_OPT.dir/canonicalizef.cpp.o 
/usr/bin/clang++ -DLIBC_NAMESPACE=__llvm_libc_19_0_0_git -D_DEBUG -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/build/projects/libc/src/math/generic -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc/src/math/generic -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc -isystem /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/build/projects/libc/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fno-omit-frame-pointer -O1 -fsanitize=address -fdiagnostics-color -g -DLIBC_QSORT_IMPL=LIBC_QSORT_QUICK_SORT -fpie -ffreestanding -DLIBC_FULL_BUILD -nostdlibinc -idirafter/usr/include -fno-builtin -fno-exceptions -fno-lax-vector-conversions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-rtti -ftrivial-auto-var-init=pattern -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wextra -Werror -Wconversion -Wno-sign-conversion -Wimplicit-fallthrough -Wwrite-strings -Wextra-semi -Wnewline-eof -Wnonportable-system-include-path -Wstrict-prototypes -Wthread-safety -Wglobal-constructors -O3 -DLIBC_COPT_PUBLIC_PACKAGING -std=c++17 -MD -MT projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalizef.__NO_FMA_OPT.dir/canonicalizef.cpp.o -MF projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalizef.__NO_FMA_OPT.dir/canonicalizef.cpp.o.d -o projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalizef.__NO_FMA_OPT.dir/canonicalizef.cpp.o -c /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc/src/math/generic/canonicalizef.cpp
In file included from /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc/src/math/generic/canonicalizef.cpp:10:
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:25: error: unknown type name 'float16'
template <> LIBC_INLINE float16 max(float16 x, float16 y) {
                        ^
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian-fullbuild/libc-x86_64-debian-fullbuild-dbg-asan/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:37: error: unknown type name 'float16'
template <> LIBC_INLINE float16 max(float16 x, float16 y) {
                                    ^

@llvm-ci
Copy link
Collaborator

llvm-ci commented Jul 23, 2024

LLVM Buildbot has detected a new failure on builder libc-riscv64-debian-fullbuild-dbg running on libc-riscv64-debian while building libc at step 4 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/183/builds/1814

Here is the relevant piece of the build log for the reference:

Step 4 (annotate) failure: 'python ../llvm-zorg/zorg/buildbot/builders/annotated/libc-linux.py ...' (failure)
...
[28/3838] Building CXX object projects/libc/src/fenv/CMakeFiles/libc.src.fenv.feenableexcept.dir/feenableexcept.cpp.o
[29/3838] Building CXX object projects/libc/src/fenv/CMakeFiles/libc.src.fenv.fegetexcept.__internal__.dir/fegetexcept.cpp.o
[30/3838] Building CXX object projects/libc/src/fenv/CMakeFiles/libc.src.fenv.fedisableexcept.__internal__.dir/fedisableexcept.cpp.o
[31/3838] Building CXX object projects/libc/src/fenv/CMakeFiles/libc.src.fenv.fedisableexcept.dir/fedisableexcept.cpp.o
[32/3838] Building CXX object projects/libc/src/inttypes/CMakeFiles/libc.src.inttypes.imaxdiv.__internal__.dir/imaxdiv.cpp.o
[33/3838] Building CXX object projects/libc/src/inttypes/CMakeFiles/libc.src.inttypes.strtoimax.__internal__.dir/strtoimax.cpp.o
[34/3838] Building CXX object projects/libc/src/inttypes/CMakeFiles/libc.src.inttypes.imaxabs.__internal__.dir/imaxabs.cpp.o
[35/3838] Building CXX object projects/libc/src/inttypes/CMakeFiles/libc.src.inttypes.strtoumax.__internal__.dir/strtoumax.cpp.o
[36/3838] Building CXX object projects/libc/src/fenv/CMakeFiles/libc.src.fenv.fegetexcept.dir/fegetexcept.cpp.o
[37/3838] Building CXX object projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.__internal__.dir/canonicalize.cpp.o
FAILED: projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.__internal__.dir/canonicalize.cpp.o 
/usr/bin/clang++ -DLIBC_NAMESPACE=__llvm_libc_18_0_0_git -D_DEBUG -I/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/build/projects/libc/src/math/generic -I/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/llvm-project/libc/src/math/generic -I/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/llvm-project/libc -isystem /home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/build/projects/libc/include -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -g -D__LIBC_RISCV_USE_FMA -DLIBC_QSORT_IMPL=LIBC_QSORT_QUICK_SORT -fpie -ffreestanding -DLIBC_FULL_BUILD -nostdlibinc -idirafter/usr/include -fno-builtin -fno-exceptions -fno-lax-vector-conversions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-rtti -ftrivial-auto-var-init=pattern -fno-omit-frame-pointer -Wall -Wextra -Werror -Wconversion -Wno-sign-conversion -Wimplicit-fallthrough -Wwrite-strings -Wextra-semi -Wnewline-eof -Wnonportable-system-include-path -Wstrict-prototypes -Wthread-safety -Wglobal-constructors -O3 -std=c++17 -MD -MT projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.__internal__.dir/canonicalize.cpp.o -MF projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.__internal__.dir/canonicalize.cpp.o.d -o projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.__internal__.dir/canonicalize.cpp.o -c /home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/llvm-project/libc/src/math/generic/canonicalize.cpp
In file included from /home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/llvm-project/libc/src/math/generic/canonicalize.cpp:10:
/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:25: error: unknown type name 'float16'
template <> LIBC_INLINE float16 max(float16 x, float16 y) {
                        ^
/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:37: error: unknown type name 'float16'
template <> LIBC_INLINE float16 max(float16 x, float16 y) {
                                    ^
/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:48: error: unknown type name 'float16'
template <> LIBC_INLINE float16 max(float16 x, float16 y) {
                                               ^
/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:53:10: error: use of undeclared identifier 'float16'
  FPBits<float16> x_bits(x);
         ^
/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:54:10: error: use of undeclared identifier 'float16'
  FPBits<float16> y_bits(y);
         ^
/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:90:25: error: unknown type name 'float16'
template <> LIBC_INLINE float16 min(float16 x, float16 y) {
                        ^
/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:90:37: error: unknown type name 'float16'
template <> LIBC_INLINE float16 min(float16 x, float16 y) {
                                    ^
/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:90:48: error: unknown type name 'float16'
template <> LIBC_INLINE float16 min(float16 x, float16 y) {
                                               ^
/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:91:10: error: use of undeclared identifier 'float16'
  FPBits<float16> x_bits(x);
         ^
/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:92:10: error: use of undeclared identifier 'float16'
  FPBits<float16> y_bits(y);
         ^
10 errors generated.
[38/3838] Building CXX object projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.__NO_FMA_OPT.__internal__.dir/canonicalize.cpp.o
FAILED: projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.__NO_FMA_OPT.__internal__.dir/canonicalize.cpp.o 
/usr/bin/clang++ -DLIBC_NAMESPACE=__llvm_libc_18_0_0_git -D_DEBUG -I/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/build/projects/libc/src/math/generic -I/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/llvm-project/libc/src/math/generic -I/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/llvm-project/libc -isystem /home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/build/projects/libc/include -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -g -DLIBC_QSORT_IMPL=LIBC_QSORT_QUICK_SORT -fpie -ffreestanding -DLIBC_FULL_BUILD -nostdlibinc -idirafter/usr/include -fno-builtin -fno-exceptions -fno-lax-vector-conversions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-rtti -ftrivial-auto-var-init=pattern -fno-omit-frame-pointer -Wall -Wextra -Werror -Wconversion -Wno-sign-conversion -Wimplicit-fallthrough -Wwrite-strings -Wextra-semi -Wnewline-eof -Wnonportable-system-include-path -Wstrict-prototypes -Wthread-safety -Wglobal-constructors -O3 -std=c++17 -MD -MT projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.__NO_FMA_OPT.__internal__.dir/canonicalize.cpp.o -MF projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.__NO_FMA_OPT.__internal__.dir/canonicalize.cpp.o.d -o projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.__NO_FMA_OPT.__internal__.dir/canonicalize.cpp.o -c /home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/llvm-project/libc/src/math/generic/canonicalize.cpp
In file included from /home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/llvm-project/libc/src/math/generic/canonicalize.cpp:10:
/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:25: error: unknown type name 'float16'
Step 8 (libc-unit-tests) failure: libc-unit-tests (failure)
...
[28/3838] Building CXX object projects/libc/src/fenv/CMakeFiles/libc.src.fenv.feenableexcept.dir/feenableexcept.cpp.o
[29/3838] Building CXX object projects/libc/src/fenv/CMakeFiles/libc.src.fenv.fegetexcept.__internal__.dir/fegetexcept.cpp.o
[30/3838] Building CXX object projects/libc/src/fenv/CMakeFiles/libc.src.fenv.fedisableexcept.__internal__.dir/fedisableexcept.cpp.o
[31/3838] Building CXX object projects/libc/src/fenv/CMakeFiles/libc.src.fenv.fedisableexcept.dir/fedisableexcept.cpp.o
[32/3838] Building CXX object projects/libc/src/inttypes/CMakeFiles/libc.src.inttypes.imaxdiv.__internal__.dir/imaxdiv.cpp.o
[33/3838] Building CXX object projects/libc/src/inttypes/CMakeFiles/libc.src.inttypes.strtoimax.__internal__.dir/strtoimax.cpp.o
[34/3838] Building CXX object projects/libc/src/inttypes/CMakeFiles/libc.src.inttypes.imaxabs.__internal__.dir/imaxabs.cpp.o
[35/3838] Building CXX object projects/libc/src/inttypes/CMakeFiles/libc.src.inttypes.strtoumax.__internal__.dir/strtoumax.cpp.o
[36/3838] Building CXX object projects/libc/src/fenv/CMakeFiles/libc.src.fenv.fegetexcept.dir/fegetexcept.cpp.o
[37/3838] Building CXX object projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.__internal__.dir/canonicalize.cpp.o
FAILED: projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.__internal__.dir/canonicalize.cpp.o 
/usr/bin/clang++ -DLIBC_NAMESPACE=__llvm_libc_18_0_0_git -D_DEBUG -I/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/build/projects/libc/src/math/generic -I/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/llvm-project/libc/src/math/generic -I/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/llvm-project/libc -isystem /home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/build/projects/libc/include -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -g -D__LIBC_RISCV_USE_FMA -DLIBC_QSORT_IMPL=LIBC_QSORT_QUICK_SORT -fpie -ffreestanding -DLIBC_FULL_BUILD -nostdlibinc -idirafter/usr/include -fno-builtin -fno-exceptions -fno-lax-vector-conversions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-rtti -ftrivial-auto-var-init=pattern -fno-omit-frame-pointer -Wall -Wextra -Werror -Wconversion -Wno-sign-conversion -Wimplicit-fallthrough -Wwrite-strings -Wextra-semi -Wnewline-eof -Wnonportable-system-include-path -Wstrict-prototypes -Wthread-safety -Wglobal-constructors -O3 -std=c++17 -MD -MT projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.__internal__.dir/canonicalize.cpp.o -MF projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.__internal__.dir/canonicalize.cpp.o.d -o projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.__internal__.dir/canonicalize.cpp.o -c /home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/llvm-project/libc/src/math/generic/canonicalize.cpp
In file included from /home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/llvm-project/libc/src/math/generic/canonicalize.cpp:10:
/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:25: error: unknown type name 'float16'
template <> LIBC_INLINE float16 max(float16 x, float16 y) {
                        ^
/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:37: error: unknown type name 'float16'
template <> LIBC_INLINE float16 max(float16 x, float16 y) {
                                    ^
/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:48: error: unknown type name 'float16'
template <> LIBC_INLINE float16 max(float16 x, float16 y) {
                                               ^
/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:53:10: error: use of undeclared identifier 'float16'
  FPBits<float16> x_bits(x);
         ^
/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:54:10: error: use of undeclared identifier 'float16'
  FPBits<float16> y_bits(y);
         ^
/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:90:25: error: unknown type name 'float16'
template <> LIBC_INLINE float16 min(float16 x, float16 y) {
                        ^
/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:90:37: error: unknown type name 'float16'
template <> LIBC_INLINE float16 min(float16 x, float16 y) {
                                    ^
/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:90:48: error: unknown type name 'float16'
template <> LIBC_INLINE float16 min(float16 x, float16 y) {
                                               ^
/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:91:10: error: use of undeclared identifier 'float16'
  FPBits<float16> x_bits(x);
         ^
/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:92:10: error: use of undeclared identifier 'float16'
  FPBits<float16> y_bits(y);
         ^
10 errors generated.
[38/3838] Building CXX object projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.__NO_FMA_OPT.__internal__.dir/canonicalize.cpp.o
FAILED: projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.__NO_FMA_OPT.__internal__.dir/canonicalize.cpp.o 
/usr/bin/clang++ -DLIBC_NAMESPACE=__llvm_libc_18_0_0_git -D_DEBUG -I/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/build/projects/libc/src/math/generic -I/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/llvm-project/libc/src/math/generic -I/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/llvm-project/libc -isystem /home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/build/projects/libc/include -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -g -DLIBC_QSORT_IMPL=LIBC_QSORT_QUICK_SORT -fpie -ffreestanding -DLIBC_FULL_BUILD -nostdlibinc -idirafter/usr/include -fno-builtin -fno-exceptions -fno-lax-vector-conversions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-rtti -ftrivial-auto-var-init=pattern -fno-omit-frame-pointer -Wall -Wextra -Werror -Wconversion -Wno-sign-conversion -Wimplicit-fallthrough -Wwrite-strings -Wextra-semi -Wnewline-eof -Wnonportable-system-include-path -Wstrict-prototypes -Wthread-safety -Wglobal-constructors -O3 -std=c++17 -MD -MT projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.__NO_FMA_OPT.__internal__.dir/canonicalize.cpp.o -MF projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.__NO_FMA_OPT.__internal__.dir/canonicalize.cpp.o.d -o projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.__NO_FMA_OPT.__internal__.dir/canonicalize.cpp.o -c /home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/llvm-project/libc/src/math/generic/canonicalize.cpp
In file included from /home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/llvm-project/libc/src/math/generic/canonicalize.cpp:10:
/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-fullbuild-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:25: error: unknown type name 'float16'

@llvm-ci
Copy link
Collaborator

llvm-ci commented Jul 23, 2024

LLVM Buildbot has detected a new failure on builder libc-riscv64-debian-dbg running on libc-riscv64-debian while building libc at step 4 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/188/builds/1996

Here is the relevant piece of the build log for the reference:

Step 4 (annotate) failure: 'python ../llvm-zorg/zorg/buildbot/builders/annotated/libc-linux.py ...' (failure)
...
[20/517] Building CXX object projects/libc/src/fenv/CMakeFiles/libc.src.fenv.feholdexcept.dir/feholdexcept.cpp.o
[21/517] Building CXX object projects/libc/src/fenv/CMakeFiles/libc.src.fenv.feupdateenv.dir/feupdateenv.cpp.o
[22/517] Building CXX object projects/libc/src/inttypes/CMakeFiles/libc.src.inttypes.strtoimax.dir/strtoimax.cpp.o
[23/517] Building CXX object projects/libc/src/inttypes/CMakeFiles/libc.src.inttypes.imaxdiv.dir/imaxdiv.cpp.o
[24/517] Building CXX object projects/libc/src/fenv/CMakeFiles/libc.src.fenv.fedisableexcept.dir/fedisableexcept.cpp.o
[25/517] Building CXX object projects/libc/src/inttypes/CMakeFiles/libc.src.inttypes.imaxabs.dir/imaxabs.cpp.o
[26/517] Building CXX object projects/libc/src/inttypes/CMakeFiles/libc.src.inttypes.strtoumax.dir/strtoumax.cpp.o
[27/517] Building CXX object projects/libc/src/fenv/CMakeFiles/libc.src.fenv.feenableexcept.dir/feenableexcept.cpp.o
[28/517] Building CXX object projects/libc/src/fenv/CMakeFiles/libc.src.fenv.fegetexcept.dir/fegetexcept.cpp.o
[29/517] Building CXX object projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.dir/canonicalize.cpp.o
FAILED: projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.dir/canonicalize.cpp.o 
/usr/bin/clang++ -DLIBC_NAMESPACE=__llvm_libc_18_0_0_git -D_DEBUG -I/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-dbg/build/projects/libc/src/math/generic -I/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-dbg/llvm-project/libc/src/math/generic -I/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-dbg/llvm-project/libc -isystem /home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-dbg/build/projects/libc/include -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -g -D__LIBC_RISCV_USE_FMA -DLIBC_QSORT_IMPL=LIBC_QSORT_QUICK_SORT -fpie -fno-builtin -fno-exceptions -fno-lax-vector-conversions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-rtti -ftrivial-auto-var-init=pattern -fno-omit-frame-pointer -Wall -Wextra -Werror -Wconversion -Wno-sign-conversion -Wimplicit-fallthrough -Wwrite-strings -Wextra-semi -Wnewline-eof -Wnonportable-system-include-path -Wstrict-prototypes -Wthread-safety -Wglobal-constructors -O3 -DLIBC_COPT_PUBLIC_PACKAGING -std=c++17 -MD -MT projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.dir/canonicalize.cpp.o -MF projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.dir/canonicalize.cpp.o.d -o projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.dir/canonicalize.cpp.o -c /home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-dbg/llvm-project/libc/src/math/generic/canonicalize.cpp
In file included from /home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-dbg/llvm-project/libc/src/math/generic/canonicalize.cpp:10:
/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:25: error: unknown type name 'float16'
template <> LIBC_INLINE float16 max(float16 x, float16 y) {
                        ^
/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:37: error: unknown type name 'float16'
template <> LIBC_INLINE float16 max(float16 x, float16 y) {
                                    ^
/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:48: error: unknown type name 'float16'
template <> LIBC_INLINE float16 max(float16 x, float16 y) {
                                               ^
/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:53:10: error: use of undeclared identifier 'float16'
  FPBits<float16> x_bits(x);
         ^
/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:54:10: error: use of undeclared identifier 'float16'
  FPBits<float16> y_bits(y);
         ^
/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:90:25: error: unknown type name 'float16'
template <> LIBC_INLINE float16 min(float16 x, float16 y) {
                        ^
/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:90:37: error: unknown type name 'float16'
template <> LIBC_INLINE float16 min(float16 x, float16 y) {
                                    ^
/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:90:48: error: unknown type name 'float16'
template <> LIBC_INLINE float16 min(float16 x, float16 y) {
                                               ^
/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:91:10: error: use of undeclared identifier 'float16'
  FPBits<float16> x_bits(x);
         ^
/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:92:10: error: use of undeclared identifier 'float16'
  FPBits<float16> y_bits(y);
         ^
10 errors generated.
[30/517] Building CXX object projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalizef.dir/canonicalizef.cpp.o
FAILED: projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalizef.dir/canonicalizef.cpp.o 
/usr/bin/clang++ -DLIBC_NAMESPACE=__llvm_libc_18_0_0_git -D_DEBUG -I/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-dbg/build/projects/libc/src/math/generic -I/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-dbg/llvm-project/libc/src/math/generic -I/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-dbg/llvm-project/libc -isystem /home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-dbg/build/projects/libc/include -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -g -D__LIBC_RISCV_USE_FMA -DLIBC_QSORT_IMPL=LIBC_QSORT_QUICK_SORT -fpie -fno-builtin -fno-exceptions -fno-lax-vector-conversions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-rtti -ftrivial-auto-var-init=pattern -fno-omit-frame-pointer -Wall -Wextra -Werror -Wconversion -Wno-sign-conversion -Wimplicit-fallthrough -Wwrite-strings -Wextra-semi -Wnewline-eof -Wnonportable-system-include-path -Wstrict-prototypes -Wthread-safety -Wglobal-constructors -O3 -DLIBC_COPT_PUBLIC_PACKAGING -std=c++17 -MD -MT projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalizef.dir/canonicalizef.cpp.o -MF projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalizef.dir/canonicalizef.cpp.o.d -o projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalizef.dir/canonicalizef.cpp.o -c /home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-dbg/llvm-project/libc/src/math/generic/canonicalizef.cpp
In file included from /home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-dbg/llvm-project/libc/src/math/generic/canonicalizef.cpp:10:
/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:25: error: unknown type name 'float16'
Step 6 (build libc) failure: build libc (failure)
...
[20/517] Building CXX object projects/libc/src/fenv/CMakeFiles/libc.src.fenv.feholdexcept.dir/feholdexcept.cpp.o
[21/517] Building CXX object projects/libc/src/fenv/CMakeFiles/libc.src.fenv.feupdateenv.dir/feupdateenv.cpp.o
[22/517] Building CXX object projects/libc/src/inttypes/CMakeFiles/libc.src.inttypes.strtoimax.dir/strtoimax.cpp.o
[23/517] Building CXX object projects/libc/src/inttypes/CMakeFiles/libc.src.inttypes.imaxdiv.dir/imaxdiv.cpp.o
[24/517] Building CXX object projects/libc/src/fenv/CMakeFiles/libc.src.fenv.fedisableexcept.dir/fedisableexcept.cpp.o
[25/517] Building CXX object projects/libc/src/inttypes/CMakeFiles/libc.src.inttypes.imaxabs.dir/imaxabs.cpp.o
[26/517] Building CXX object projects/libc/src/inttypes/CMakeFiles/libc.src.inttypes.strtoumax.dir/strtoumax.cpp.o
[27/517] Building CXX object projects/libc/src/fenv/CMakeFiles/libc.src.fenv.feenableexcept.dir/feenableexcept.cpp.o
[28/517] Building CXX object projects/libc/src/fenv/CMakeFiles/libc.src.fenv.fegetexcept.dir/fegetexcept.cpp.o
[29/517] Building CXX object projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.dir/canonicalize.cpp.o
FAILED: projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.dir/canonicalize.cpp.o 
/usr/bin/clang++ -DLIBC_NAMESPACE=__llvm_libc_18_0_0_git -D_DEBUG -I/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-dbg/build/projects/libc/src/math/generic -I/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-dbg/llvm-project/libc/src/math/generic -I/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-dbg/llvm-project/libc -isystem /home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-dbg/build/projects/libc/include -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -g -D__LIBC_RISCV_USE_FMA -DLIBC_QSORT_IMPL=LIBC_QSORT_QUICK_SORT -fpie -fno-builtin -fno-exceptions -fno-lax-vector-conversions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-rtti -ftrivial-auto-var-init=pattern -fno-omit-frame-pointer -Wall -Wextra -Werror -Wconversion -Wno-sign-conversion -Wimplicit-fallthrough -Wwrite-strings -Wextra-semi -Wnewline-eof -Wnonportable-system-include-path -Wstrict-prototypes -Wthread-safety -Wglobal-constructors -O3 -DLIBC_COPT_PUBLIC_PACKAGING -std=c++17 -MD -MT projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.dir/canonicalize.cpp.o -MF projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.dir/canonicalize.cpp.o.d -o projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.dir/canonicalize.cpp.o -c /home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-dbg/llvm-project/libc/src/math/generic/canonicalize.cpp
In file included from /home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-dbg/llvm-project/libc/src/math/generic/canonicalize.cpp:10:
/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:25: error: unknown type name 'float16'
template <> LIBC_INLINE float16 max(float16 x, float16 y) {
                        ^
/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:37: error: unknown type name 'float16'
template <> LIBC_INLINE float16 max(float16 x, float16 y) {
                                    ^
/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:48: error: unknown type name 'float16'
template <> LIBC_INLINE float16 max(float16 x, float16 y) {
                                               ^
/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:53:10: error: use of undeclared identifier 'float16'
  FPBits<float16> x_bits(x);
         ^
/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:54:10: error: use of undeclared identifier 'float16'
  FPBits<float16> y_bits(y);
         ^
/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:90:25: error: unknown type name 'float16'
template <> LIBC_INLINE float16 min(float16 x, float16 y) {
                        ^
/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:90:37: error: unknown type name 'float16'
template <> LIBC_INLINE float16 min(float16 x, float16 y) {
                                    ^
/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:90:48: error: unknown type name 'float16'
template <> LIBC_INLINE float16 min(float16 x, float16 y) {
                                               ^
/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:91:10: error: use of undeclared identifier 'float16'
  FPBits<float16> x_bits(x);
         ^
/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:92:10: error: use of undeclared identifier 'float16'
  FPBits<float16> y_bits(y);
         ^
10 errors generated.
[30/517] Building CXX object projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalizef.dir/canonicalizef.cpp.o
FAILED: projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalizef.dir/canonicalizef.cpp.o 
/usr/bin/clang++ -DLIBC_NAMESPACE=__llvm_libc_18_0_0_git -D_DEBUG -I/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-dbg/build/projects/libc/src/math/generic -I/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-dbg/llvm-project/libc/src/math/generic -I/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-dbg/llvm-project/libc -isystem /home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-dbg/build/projects/libc/include -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -g -D__LIBC_RISCV_USE_FMA -DLIBC_QSORT_IMPL=LIBC_QSORT_QUICK_SORT -fpie -fno-builtin -fno-exceptions -fno-lax-vector-conversions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-rtti -ftrivial-auto-var-init=pattern -fno-omit-frame-pointer -Wall -Wextra -Werror -Wconversion -Wno-sign-conversion -Wimplicit-fallthrough -Wwrite-strings -Wextra-semi -Wnewline-eof -Wnonportable-system-include-path -Wstrict-prototypes -Wthread-safety -Wglobal-constructors -O3 -DLIBC_COPT_PUBLIC_PACKAGING -std=c++17 -MD -MT projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalizef.dir/canonicalizef.cpp.o -MF projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalizef.dir/canonicalizef.cpp.o.d -o projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalizef.dir/canonicalizef.cpp.o -c /home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-dbg/llvm-project/libc/src/math/generic/canonicalizef.cpp
In file included from /home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-dbg/llvm-project/libc/src/math/generic/canonicalizef.cpp:10:
/home/libc_worker/libc-riscv64-debian/libc-riscv64-debian-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:25: error: unknown type name 'float16'

@llvm-ci
Copy link
Collaborator

llvm-ci commented Jul 23, 2024

LLVM Buildbot has detected a new failure on builder fuchsia-x86_64-linux running on fuchsia-debian-64-us-central1-a-1 while building libc at step 4 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/11/builds/2261

Here is the relevant piece of the build log for the reference:

Step 4 (annotate) failure: 'python ../llvm-zorg/zorg/buildbot/builders/annotated/fuchsia-linux.py ...' (failure)
...
[158/1669] Building CXX object libc/src/stdbit/CMakeFiles/libc.src.stdbit.stdc_trailing_ones_uc.dir/stdc_trailing_ones_uc.cpp.obj
[159/1669] Building CXX object libc/src/stdlib/CMakeFiles/libc.src.stdlib.atoi.dir/atoi.cpp.obj
[160/1669] Building CXX object libc/src/stdlib/CMakeFiles/libc.src.stdlib.atol.dir/atol.cpp.obj
[161/1669] Building CXX object libc/src/stdlib/CMakeFiles/libc.src.stdlib.atoll.dir/atoll.cpp.obj
[162/1669] Building CXX object libc/src/assert/generic/CMakeFiles/libc.src.assert.generic.__assert_fail.dir/__assert_fail.cpp.obj
[163/1669] Building CXX object libc/src/inttypes/CMakeFiles/libc.src.inttypes.strtoumax.dir/strtoumax.cpp.obj
[164/1669] Building CXX object libc/src/inttypes/CMakeFiles/libc.src.inttypes.strtoimax.dir/strtoimax.cpp.obj
[165/1669] Building CXX object libc/src/__support/StringUtil/CMakeFiles/libc.src.__support.StringUtil.error_to_string.dir/error_to_string.cpp.obj
[166/1669] Building CXX object libc/src/math/generic/CMakeFiles/libc.src.math.generic.ceilf.dir/ceilf.cpp.obj
[167/1669] Building CXX object libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.dir/canonicalize.cpp.obj
FAILED: libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.dir/canonicalize.cpp.obj 
/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-24aj_csn/bin/clang++ --target=armv7m-unknown-eabi -DLIBC_NAMESPACE=__llvm_libc_20_0_0_git -I/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/libc -isystem /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-24aj_csn/include/armv7m-unknown-unknown-eabi --target=armv7m-unknown-eabi -mthumb -Wno-atomic-alignment "-Dvfprintf(stream, format, vlist)=vprintf(format, vlist)" "-Dfprintf(stream, format, ...)=printf(format)" "-Dtimeval=struct timeval{int tv_sec; int tv_usec;}" "-Dgettimeofday(tv, tz)" -D_LIBCPP_PRINT=1 -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -ffunction-sections -fdata-sections -ffile-prefix-map=/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-24aj_csn/runtimes/runtimes-armv7m-unknown-eabi-bins=../../../../llvm-project -ffile-prefix-map=/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/= -no-canonical-prefixes -Os -DNDEBUG -std=gnu++17 --target=armv7m-unknown-eabi -DLIBC_QSORT_IMPL=LIBC_QSORT_HEAP_SORT -fpie -ffreestanding -DLIBC_FULL_BUILD -nostdlibinc -ffixed-point -fno-builtin -fno-exceptions -fno-lax-vector-conversions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-rtti -ftrivial-auto-var-init=pattern -fno-omit-frame-pointer -Wall -Wextra -Werror -Wconversion -Wno-sign-conversion -Wimplicit-fallthrough -Wwrite-strings -Wextra-semi -Wnewline-eof -Wnonportable-system-include-path -Wstrict-prototypes -Wthread-safety -Wglobal-constructors -O3 -DLIBC_COPT_PUBLIC_PACKAGING -MD -MT libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.dir/canonicalize.cpp.obj -MF libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.dir/canonicalize.cpp.obj.d -o libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.dir/canonicalize.cpp.obj -c /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/libc/src/math/generic/canonicalize.cpp
In file included from /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/libc/src/math/generic/canonicalize.cpp:10:
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:25: error: unknown type name 'float16'; did you mean 'float'?
   52 | template <> LIBC_INLINE float16 max(float16 x, float16 y) {
      |                         ^~~~~~~
      |                         float
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:37: error: unknown type name 'float16'; did you mean 'float'?
   52 | template <> LIBC_INLINE float16 max(float16 x, float16 y) {
      |                                     ^~~~~~~
      |                                     float
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:48: error: unknown type name 'float16'; did you mean 'float'?
   52 | template <> LIBC_INLINE float16 max(float16 x, float16 y) {
      |                                                ^~~~~~~
      |                                                float
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:53:10: error: use of undeclared identifier 'float16'; did you mean 'float'?
   53 |   FPBits<float16> x_bits(x);
      |          ^~~~~~~
      |          float
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:54:10: error: use of undeclared identifier 'float16'; did you mean 'float'?
   54 |   FPBits<float16> y_bits(y);
      |          ^~~~~~~
      |          float
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:90:25: error: unknown type name 'float16'; did you mean 'float'?
   90 | template <> LIBC_INLINE float16 min(float16 x, float16 y) {
      |                         ^~~~~~~
      |                         float
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:90:37: error: unknown type name 'float16'; did you mean 'float'?
   90 | template <> LIBC_INLINE float16 min(float16 x, float16 y) {
      |                                     ^~~~~~~
      |                                     float
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:90:48: error: unknown type name 'float16'; did you mean 'float'?
   90 | template <> LIBC_INLINE float16 min(float16 x, float16 y) {
      |                                                ^~~~~~~
      |                                                float
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:91:10: error: use of undeclared identifier 'float16'; did you mean 'float'?
   91 |   FPBits<float16> x_bits(x);
      |          ^~~~~~~
      |          float
Step 6 (build) failure: build (failure)
...
[158/1669] Building CXX object libc/src/stdbit/CMakeFiles/libc.src.stdbit.stdc_trailing_ones_uc.dir/stdc_trailing_ones_uc.cpp.obj
[159/1669] Building CXX object libc/src/stdlib/CMakeFiles/libc.src.stdlib.atoi.dir/atoi.cpp.obj
[160/1669] Building CXX object libc/src/stdlib/CMakeFiles/libc.src.stdlib.atol.dir/atol.cpp.obj
[161/1669] Building CXX object libc/src/stdlib/CMakeFiles/libc.src.stdlib.atoll.dir/atoll.cpp.obj
[162/1669] Building CXX object libc/src/assert/generic/CMakeFiles/libc.src.assert.generic.__assert_fail.dir/__assert_fail.cpp.obj
[163/1669] Building CXX object libc/src/inttypes/CMakeFiles/libc.src.inttypes.strtoumax.dir/strtoumax.cpp.obj
[164/1669] Building CXX object libc/src/inttypes/CMakeFiles/libc.src.inttypes.strtoimax.dir/strtoimax.cpp.obj
[165/1669] Building CXX object libc/src/__support/StringUtil/CMakeFiles/libc.src.__support.StringUtil.error_to_string.dir/error_to_string.cpp.obj
[166/1669] Building CXX object libc/src/math/generic/CMakeFiles/libc.src.math.generic.ceilf.dir/ceilf.cpp.obj
[167/1669] Building CXX object libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.dir/canonicalize.cpp.obj
FAILED: libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.dir/canonicalize.cpp.obj 
/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-24aj_csn/bin/clang++ --target=armv7m-unknown-eabi -DLIBC_NAMESPACE=__llvm_libc_20_0_0_git -I/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/libc -isystem /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-24aj_csn/include/armv7m-unknown-unknown-eabi --target=armv7m-unknown-eabi -mthumb -Wno-atomic-alignment "-Dvfprintf(stream, format, vlist)=vprintf(format, vlist)" "-Dfprintf(stream, format, ...)=printf(format)" "-Dtimeval=struct timeval{int tv_sec; int tv_usec;}" "-Dgettimeofday(tv, tz)" -D_LIBCPP_PRINT=1 -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -ffunction-sections -fdata-sections -ffile-prefix-map=/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-24aj_csn/runtimes/runtimes-armv7m-unknown-eabi-bins=../../../../llvm-project -ffile-prefix-map=/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/= -no-canonical-prefixes -Os -DNDEBUG -std=gnu++17 --target=armv7m-unknown-eabi -DLIBC_QSORT_IMPL=LIBC_QSORT_HEAP_SORT -fpie -ffreestanding -DLIBC_FULL_BUILD -nostdlibinc -ffixed-point -fno-builtin -fno-exceptions -fno-lax-vector-conversions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-rtti -ftrivial-auto-var-init=pattern -fno-omit-frame-pointer -Wall -Wextra -Werror -Wconversion -Wno-sign-conversion -Wimplicit-fallthrough -Wwrite-strings -Wextra-semi -Wnewline-eof -Wnonportable-system-include-path -Wstrict-prototypes -Wthread-safety -Wglobal-constructors -O3 -DLIBC_COPT_PUBLIC_PACKAGING -MD -MT libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.dir/canonicalize.cpp.obj -MF libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.dir/canonicalize.cpp.obj.d -o libc/src/math/generic/CMakeFiles/libc.src.math.generic.canonicalize.dir/canonicalize.cpp.obj -c /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/libc/src/math/generic/canonicalize.cpp
In file included from /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/libc/src/math/generic/canonicalize.cpp:10:
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:25: error: unknown type name 'float16'; did you mean 'float'?
   52 | template <> LIBC_INLINE float16 max(float16 x, float16 y) {
      |                         ^~~~~~~
      |                         float
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:37: error: unknown type name 'float16'; did you mean 'float'?
   52 | template <> LIBC_INLINE float16 max(float16 x, float16 y) {
      |                                     ^~~~~~~
      |                                     float
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:48: error: unknown type name 'float16'; did you mean 'float'?
   52 | template <> LIBC_INLINE float16 max(float16 x, float16 y) {
      |                                                ^~~~~~~
      |                                                float
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:53:10: error: use of undeclared identifier 'float16'; did you mean 'float'?
   53 |   FPBits<float16> x_bits(x);
      |          ^~~~~~~
      |          float
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:54:10: error: use of undeclared identifier 'float16'; did you mean 'float'?
   54 |   FPBits<float16> y_bits(y);
      |          ^~~~~~~
      |          float
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:90:25: error: unknown type name 'float16'; did you mean 'float'?
   90 | template <> LIBC_INLINE float16 min(float16 x, float16 y) {
      |                         ^~~~~~~
      |                         float
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:90:37: error: unknown type name 'float16'; did you mean 'float'?
   90 | template <> LIBC_INLINE float16 min(float16 x, float16 y) {
      |                                     ^~~~~~~
      |                                     float
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:90:48: error: unknown type name 'float16'; did you mean 'float'?
   90 | template <> LIBC_INLINE float16 min(float16 x, float16 y) {
      |                                                ^~~~~~~
      |                                                float
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:91:10: error: use of undeclared identifier 'float16'; did you mean 'float'?
   91 |   FPBits<float16> x_bits(x);
      |          ^~~~~~~
      |          float

@llvm-ci
Copy link
Collaborator

llvm-ci commented Jul 23, 2024

LLVM Buildbot has detected a new failure on builder libc-arm32-debian-dbg running on libc-arm32-debian while building libc at step 4 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/182/builds/1445

Here is the relevant piece of the build log for the reference:

Step 4 (annotate) failure: 'python ../llvm-zorg/zorg/buildbot/builders/annotated/libc-linux.py ...' (failure)
...
[18/321] Building CXX object projects/libc/src/fenv/CMakeFiles/libc.src.fenv.fegetexcept.dir/fegetexcept.cpp.o
[19/321] Building CXX object projects/libc/src/inttypes/CMakeFiles/libc.src.inttypes.strtoimax.dir/strtoimax.cpp.o
[20/321] Building CXX object projects/libc/src/inttypes/CMakeFiles/libc.src.inttypes.strtoumax.dir/strtoumax.cpp.o
[21/321] Building CXX object projects/libc/src/inttypes/CMakeFiles/libc.src.inttypes.imaxdiv.dir/imaxdiv.cpp.o
[22/321] Building CXX object projects/libc/src/inttypes/CMakeFiles/libc.src.inttypes.imaxabs.dir/imaxabs.cpp.o
[23/321] Building CXX object projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.ceilf.dir/ceilf.cpp.o
[24/321] Building CXX object projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.ceil.dir/ceil.cpp.o
[25/321] Building CXX object projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.ceill.dir/ceill.cpp.o
[26/321] Building CXX object projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.dsqrtl.dir/dsqrtl.cpp.o
[27/321] Building CXX object projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.cosf.dir/cosf.cpp.o
FAILED: projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.cosf.dir/cosf.cpp.o 
/usr/bin/clang++ -DLIBC_NAMESPACE=__llvm_libc_19_0_0_git -D_DEBUG -I/llvm/libc_worker/worker/libc-arm32-debian/libc-arm32-debian-dbg/build/projects/libc/src/math/generic -I/llvm/libc_worker/worker/libc-arm32-debian/libc-arm32-debian-dbg/llvm-project/libc/src/math/generic -I/llvm/libc_worker/worker/libc-arm32-debian/libc-arm32-debian-dbg/llvm-project/libc -isystem /llvm/libc_worker/worker/libc-arm32-debian/libc-arm32-debian-dbg/build/projects/libc/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -g -DLIBC_QSORT_IMPL=LIBC_QSORT_QUICK_SORT -fpie -fno-builtin -fno-exceptions -fno-lax-vector-conversions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-rtti -ftrivial-auto-var-init=pattern -fno-omit-frame-pointer -Wall -Wextra -Werror -Wconversion -Wno-sign-conversion -Wimplicit-fallthrough -Wwrite-strings -Wextra-semi -Wnewline-eof -Wnonportable-system-include-path -Wstrict-prototypes -Wthread-safety -Wglobal-constructors -O3 -DLIBC_COPT_PUBLIC_PACKAGING -std=c++17 -MD -MT projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.cosf.dir/cosf.cpp.o -MF projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.cosf.dir/cosf.cpp.o.d -o projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.cosf.dir/cosf.cpp.o -c /llvm/libc_worker/worker/libc-arm32-debian/libc-arm32-debian-dbg/llvm-project/libc/src/math/generic/cosf.cpp
In file included from /llvm/libc_worker/worker/libc-arm32-debian/libc-arm32-debian-dbg/llvm-project/libc/src/math/generic/cosf.cpp:11:
/llvm/libc_worker/worker/libc-arm32-debian/libc-arm32-debian-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:25: error: unknown type name 'float16'
template <> LIBC_INLINE float16 max(float16 x, float16 y) {
                        ^
/llvm/libc_worker/worker/libc-arm32-debian/libc-arm32-debian-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:37: error: unknown type name 'float16'
template <> LIBC_INLINE float16 max(float16 x, float16 y) {
                                    ^
/llvm/libc_worker/worker/libc-arm32-debian/libc-arm32-debian-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:48: error: unknown type name 'float16'
template <> LIBC_INLINE float16 max(float16 x, float16 y) {
                                               ^
/llvm/libc_worker/worker/libc-arm32-debian/libc-arm32-debian-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:53:10: error: use of undeclared identifier 'float16'; did you mean 'float'?
  FPBits<float16> x_bits(x);
         ^~~~~~~
         float
/llvm/libc_worker/worker/libc-arm32-debian/libc-arm32-debian-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:53:17: error: expected '(' for function-style cast or type construction
  FPBits<float16> x_bits(x);
         ~~~~~~~^
/llvm/libc_worker/worker/libc-arm32-debian/libc-arm32-debian-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:54:10: error: use of undeclared identifier 'float16'; did you mean 'float'?
  FPBits<float16> y_bits(y);
         ^~~~~~~
         float
/llvm/libc_worker/worker/libc-arm32-debian/libc-arm32-debian-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:54:17: error: expected '(' for function-style cast or type construction
  FPBits<float16> y_bits(y);
         ~~~~~~~^
/llvm/libc_worker/worker/libc-arm32-debian/libc-arm32-debian-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:90:25: error: unknown type name 'float16'
template <> LIBC_INLINE float16 min(float16 x, float16 y) {
                        ^
/llvm/libc_worker/worker/libc-arm32-debian/libc-arm32-debian-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:90:37: error: unknown type name 'float16'
template <> LIBC_INLINE float16 min(float16 x, float16 y) {
                                    ^
/llvm/libc_worker/worker/libc-arm32-debian/libc-arm32-debian-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:90:48: error: unknown type name 'float16'
template <> LIBC_INLINE float16 min(float16 x, float16 y) {
                                               ^
/llvm/libc_worker/worker/libc-arm32-debian/libc-arm32-debian-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:91:10: error: use of undeclared identifier 'float16'; did you mean 'float'?
  FPBits<float16> x_bits(x);
         ^~~~~~~
         float
Step 6 (build libc) failure: build libc (failure)
...
[18/321] Building CXX object projects/libc/src/fenv/CMakeFiles/libc.src.fenv.fegetexcept.dir/fegetexcept.cpp.o
[19/321] Building CXX object projects/libc/src/inttypes/CMakeFiles/libc.src.inttypes.strtoimax.dir/strtoimax.cpp.o
[20/321] Building CXX object projects/libc/src/inttypes/CMakeFiles/libc.src.inttypes.strtoumax.dir/strtoumax.cpp.o
[21/321] Building CXX object projects/libc/src/inttypes/CMakeFiles/libc.src.inttypes.imaxdiv.dir/imaxdiv.cpp.o
[22/321] Building CXX object projects/libc/src/inttypes/CMakeFiles/libc.src.inttypes.imaxabs.dir/imaxabs.cpp.o
[23/321] Building CXX object projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.ceilf.dir/ceilf.cpp.o
[24/321] Building CXX object projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.ceil.dir/ceil.cpp.o
[25/321] Building CXX object projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.ceill.dir/ceill.cpp.o
[26/321] Building CXX object projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.dsqrtl.dir/dsqrtl.cpp.o
[27/321] Building CXX object projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.cosf.dir/cosf.cpp.o
FAILED: projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.cosf.dir/cosf.cpp.o 
/usr/bin/clang++ -DLIBC_NAMESPACE=__llvm_libc_19_0_0_git -D_DEBUG -I/llvm/libc_worker/worker/libc-arm32-debian/libc-arm32-debian-dbg/build/projects/libc/src/math/generic -I/llvm/libc_worker/worker/libc-arm32-debian/libc-arm32-debian-dbg/llvm-project/libc/src/math/generic -I/llvm/libc_worker/worker/libc-arm32-debian/libc-arm32-debian-dbg/llvm-project/libc -isystem /llvm/libc_worker/worker/libc-arm32-debian/libc-arm32-debian-dbg/build/projects/libc/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -g -DLIBC_QSORT_IMPL=LIBC_QSORT_QUICK_SORT -fpie -fno-builtin -fno-exceptions -fno-lax-vector-conversions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-rtti -ftrivial-auto-var-init=pattern -fno-omit-frame-pointer -Wall -Wextra -Werror -Wconversion -Wno-sign-conversion -Wimplicit-fallthrough -Wwrite-strings -Wextra-semi -Wnewline-eof -Wnonportable-system-include-path -Wstrict-prototypes -Wthread-safety -Wglobal-constructors -O3 -DLIBC_COPT_PUBLIC_PACKAGING -std=c++17 -MD -MT projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.cosf.dir/cosf.cpp.o -MF projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.cosf.dir/cosf.cpp.o.d -o projects/libc/src/math/generic/CMakeFiles/libc.src.math.generic.cosf.dir/cosf.cpp.o -c /llvm/libc_worker/worker/libc-arm32-debian/libc-arm32-debian-dbg/llvm-project/libc/src/math/generic/cosf.cpp
In file included from /llvm/libc_worker/worker/libc-arm32-debian/libc-arm32-debian-dbg/llvm-project/libc/src/math/generic/cosf.cpp:11:
/llvm/libc_worker/worker/libc-arm32-debian/libc-arm32-debian-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:25: error: unknown type name 'float16'
template <> LIBC_INLINE float16 max(float16 x, float16 y) {
                        ^
/llvm/libc_worker/worker/libc-arm32-debian/libc-arm32-debian-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:37: error: unknown type name 'float16'
template <> LIBC_INLINE float16 max(float16 x, float16 y) {
                                    ^
/llvm/libc_worker/worker/libc-arm32-debian/libc-arm32-debian-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:52:48: error: unknown type name 'float16'
template <> LIBC_INLINE float16 max(float16 x, float16 y) {
                                               ^
/llvm/libc_worker/worker/libc-arm32-debian/libc-arm32-debian-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:53:10: error: use of undeclared identifier 'float16'; did you mean 'float'?
  FPBits<float16> x_bits(x);
         ^~~~~~~
         float
/llvm/libc_worker/worker/libc-arm32-debian/libc-arm32-debian-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:53:17: error: expected '(' for function-style cast or type construction
  FPBits<float16> x_bits(x);
         ~~~~~~~^
/llvm/libc_worker/worker/libc-arm32-debian/libc-arm32-debian-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:54:10: error: use of undeclared identifier 'float16'; did you mean 'float'?
  FPBits<float16> y_bits(y);
         ^~~~~~~
         float
/llvm/libc_worker/worker/libc-arm32-debian/libc-arm32-debian-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:54:17: error: expected '(' for function-style cast or type construction
  FPBits<float16> y_bits(y);
         ~~~~~~~^
/llvm/libc_worker/worker/libc-arm32-debian/libc-arm32-debian-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:90:25: error: unknown type name 'float16'
template <> LIBC_INLINE float16 min(float16 x, float16 y) {
                        ^
/llvm/libc_worker/worker/libc-arm32-debian/libc-arm32-debian-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:90:37: error: unknown type name 'float16'
template <> LIBC_INLINE float16 min(float16 x, float16 y) {
                                    ^
/llvm/libc_worker/worker/libc-arm32-debian/libc-arm32-debian-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:90:48: error: unknown type name 'float16'
template <> LIBC_INLINE float16 min(float16 x, float16 y) {
                                               ^
/llvm/libc_worker/worker/libc-arm32-debian/libc-arm32-debian-dbg/llvm-project/libc/src/__support/FPUtil/BasicOperations.h:91:10: error: use of undeclared identifier 'float16'; did you mean 'float'?
  FPBits<float16> x_bits(x);
         ^~~~~~~
         float

yuxuanchen1997 pushed a commit that referenced this pull request Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants