[libc-commits] [libc] [libc][math][c23] Add exp2f16 C23 math function (PR #101217)

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Tue Jul 30 11:38:12 PDT 2024


================
@@ -164,6 +164,17 @@ add_perf_binary(
     -fno-builtin
 )
 
+add_perf_binary(
+  exp2f16_perf
+  SRCS
+    exp2f16_perf.cpp
+  DEPENDS
+    .single_input_single_output_diff
+    libc.src.math.exp2f16
+  COMPILE_OPTIONS
+    -fno-builtin
----------------
jhuber6 wrote:

What's this testing exactly? And if we want to disable a single builtin it's better to just do `-fno-builtin-exp2f16` if that's what it's called.

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


More information about the libc-commits mailing list