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

via libc-commits libc-commits at lists.llvm.org
Tue Jul 30 11:36:04 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
----------------
overmighty wrote:

This shouldn't change anything yet. I added it now so that we don't forget it when the day comes that we remove the `placeholderf16` function and benchmark against the system libc's function.

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


More information about the libc-commits mailing list