[all-commits] [llvm/llvm-project] ef1e57: [libc][mathvec] Vectorise cosf (#224290)

DylanFleming-arm via All-commits all-commits at lists.llvm.org
Tue Sep 29 11:49:32 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ef1e579be4898441f4b340bf7e416397cc1d8f4f
      https://github.com/llvm/llvm-project/commit/ef1e579be4898441f4b340bf7e416397cc1d8f4f
  Author: DylanFleming-arm <85629460+DylanFleming-arm at users.noreply.github.com>
  Date:   2026-09-29 (Tue, 29 Sep 2026)

  Changed paths:
    M libc/src/__support/mathvec/CMakeLists.txt
    M libc/src/__support/mathvec/cosf.h
    M libc/src/__support/mathvec/trig_reductionf.h
    M libc/src/__support/mathvec/trig_reductionf_nofma.h
    M libc/test/UnitTest/SIMDMatcher.h
    M libc/test/src/mathvec/UnitTestWrappers.h
    M libc/test/src/mathvec/cosf_test.cpp
    M libc/test/src/mathvec/exhaustive/cosf_test.cpp
    M libc/test/src/mathvec/exhaustive/exhaustive_test.h
    M libc/test/src/mathvec/exhaustive/sinf_test.cpp
    M libc/test/src/mathvec/sinf_test.cpp

  Log Message:
  -----------
  [libc][mathvec] Vectorise cosf (#224290)

Replaces loop over scalar cosf with a fully vectorised implementation.

Replaces sinf and cosf scalar reference with a forced accurate double-eval.



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