[libc-commits] [libc] [libc][mathvec] Initial commit for LIBC vector math component (PR #173058)
Joseph Huber via libc-commits
libc-commits at lists.llvm.org
Tue Jan 13 09:32:12 PST 2026
================
@@ -0,0 +1,18 @@
+//===-- Single-precision SIMD e^x vector function -------------------------===//
+//
+// 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 "src/mathvec/expf.h"
+#include "src/__support/mathvec/expf.h"
+
+namespace LIBC_NAMESPACE_DECL {
+
+LLVM_LIBC_FUNCTION(cpp::simd<float>, expf, (cpp::simd<float> x)) {
----------------
jhuber6 wrote:
We probably want the same handling that LLVM_LIBC_FUNCTION does, but with the name mangling. Might need a new macro for that
https://github.com/llvm/llvm-project/pull/173058
More information about the libc-commits
mailing list