[all-commits] [llvm/llvm-project] dde00f: [libc][math] Improve performance test framework (#...

Tejas Vipin via All-commits all-commits at lists.llvm.org
Thu Apr 24 04:22:43 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dde00f5e22e81ac88b37d1502d2383985a58329d
      https://github.com/llvm/llvm-project/commit/dde00f5e22e81ac88b37d1502d2383985a58329d
  Author: Tejas Vipin <alissxlace at proton.me>
  Date:   2025-04-24 (Thu, 24 Apr 2025)

  Changed paths:
    R libc/test/src/math/performance_testing/BinaryOpSingleOutputPerf.h
    M libc/test/src/math/performance_testing/CMakeLists.txt
    A libc/test/src/math/performance_testing/PerfTest.h
    R libc/test/src/math/performance_testing/SingleInputSingleOutputPerf.h
    M libc/test/src/math/performance_testing/ceilf_perf.cpp
    M libc/test/src/math/performance_testing/cosf_perf.cpp
    M libc/test/src/math/performance_testing/exp10f16_perf.cpp
    M libc/test/src/math/performance_testing/exp2f16_perf.cpp
    M libc/test/src/math/performance_testing/exp2f_perf.cpp
    M libc/test/src/math/performance_testing/expf16_perf.cpp
    M libc/test/src/math/performance_testing/expf_perf.cpp
    M libc/test/src/math/performance_testing/expm1f_perf.cpp
    M libc/test/src/math/performance_testing/fabsf_perf.cpp
    M libc/test/src/math/performance_testing/floorf_perf.cpp
    M libc/test/src/math/performance_testing/fmod_perf.cpp
    M libc/test/src/math/performance_testing/fmodf128_perf.cpp
    M libc/test/src/math/performance_testing/fmodf16_perf.cpp
    M libc/test/src/math/performance_testing/fmodf_perf.cpp
    M libc/test/src/math/performance_testing/fmodl_perf.cpp
    M libc/test/src/math/performance_testing/fmul_perf.cpp
    M libc/test/src/math/performance_testing/fmull_perf.cpp
    M libc/test/src/math/performance_testing/hypot_perf.cpp
    M libc/test/src/math/performance_testing/hypotf16_perf.cpp
    M libc/test/src/math/performance_testing/hypotf_perf.cpp
    M libc/test/src/math/performance_testing/log10f_perf.cpp
    M libc/test/src/math/performance_testing/log1pf_perf.cpp
    M libc/test/src/math/performance_testing/log2f_perf.cpp
    M libc/test/src/math/performance_testing/logbf_perf.cpp
    M libc/test/src/math/performance_testing/logf_perf.cpp
    M libc/test/src/math/performance_testing/max_min_funcs_perf.cpp
    M libc/test/src/math/performance_testing/misc_basic_ops_perf.cpp
    M libc/test/src/math/performance_testing/nearbyintf_perf.cpp
    M libc/test/src/math/performance_testing/nearest_integer_funcs_perf.cpp
    M libc/test/src/math/performance_testing/rintf_perf.cpp
    M libc/test/src/math/performance_testing/roundf_perf.cpp
    M libc/test/src/math/performance_testing/sinf_perf.cpp
    M libc/test/src/math/performance_testing/sqrtf128_perf.cpp
    M libc/test/src/math/performance_testing/sqrtf_perf.cpp
    M libc/test/src/math/performance_testing/truncf_perf.cpp

  Log Message:
  -----------
  [libc][math] Improve performance test framework (#134501)

- Merges `BinaryOpSingleOutputPerf.h` and
`SingleInputSingleOutputPerf.h` files into a unified `PerfTest.h` and
update all performance tests to use this.
- Improve the output printed to log file for tests.
- Removes unused `run_diff` method and redundant `run_perf` call in
`BINARY_INPUT_SINGLE_OUTPUT_PERF_EX` (previously
`BINARY_OP_SINGLE_OUTPUT_PERF_EX`)
- Change `BINARY_INPUT_SINGLE_OUTPUT_PERF_EX` and
`SINGLE_INPUT_SINGLE_OUTPUT_PERF` to not define `main`



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list