[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 Feb 17 13:03:46 PST 2026
================
@@ -0,0 +1,16 @@
+//===-- 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 {
+
+cpp::simd<float> expf(cpp::simd<float> x) { return mathvec::expf(x); }
----------------
jhuber6 wrote:
This was discussed in the math group meeting, we are punting this issue until later as vector variants must have name mangling and this overrides that with the `asm` keyword.
https://github.com/llvm/llvm-project/pull/173058
More information about the libc-commits
mailing list