aboutsummaryrefslogtreecommitdiff
path: root/contrib/arm-optimized-routines/math/vn_expf_1u.c
diff options
context:
space:
mode:
authorAlex Richardson <arichardson@FreeBSD.org>2021-07-06 10:02:44 +0000
committerAlex Richardson <arichardson@FreeBSD.org>2021-07-06 10:05:34 +0000
commit31914882fca502069810b9e9ddea4bcd8136a4f4 (patch)
tree4e683e2197c52fe78bdc77db188c471418418a43 /contrib/arm-optimized-routines/math/vn_expf_1u.c
parente34c713b0e660a49b57fafc02c9eccb26b938220 (diff)
parentf9f37c002ab5a580accfe26b731eef45e798b435 (diff)
downloadsrc-31914882fca502069810b9e9ddea4bcd8136a4f4.tar.gz
src-31914882fca502069810b9e9ddea4bcd8136a4f4.zip
Import Arm Optimized Routines v21.02
This is the new replacement for the existing cortex-strings code which will be replaced in a follow-up commit. We should also be able to use some of the math functions to allow the tests to pass on AArch64 (and other architectures) instead of just x86. We might also be able to reuse some of the tests for the kyua testsuite. Imported using ``` curl -L https://github.com/ARM-software/optimized-routines/tarball/e823e3abf5f89ecba58a10fc0fd82c13d9984b6b | tar --strip-components=1 -xvzf - git add . ``` Differential Revision: https://reviews.freebsd.org/D29035 git-subtree-dir: contrib/arm-optimized-routines git-subtree-mainline: e34c713b0e660a49b57fafc02c9eccb26b938220 git-subtree-split: f9f37c002ab5a580accfe26b731eef45e798b435
Diffstat (limited to 'contrib/arm-optimized-routines/math/vn_expf_1u.c')
-rw-r--r--contrib/arm-optimized-routines/math/vn_expf_1u.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/contrib/arm-optimized-routines/math/vn_expf_1u.c b/contrib/arm-optimized-routines/math/vn_expf_1u.c
new file mode 100644
index 000000000000..3be776814822
--- /dev/null
+++ b/contrib/arm-optimized-routines/math/vn_expf_1u.c
@@ -0,0 +1,11 @@
+/*
+ * AdvSIMD vector PCS variant of __v_expf_1u.
+ *
+ * Copyright (c) 2019, Arm Limited.
+ * SPDX-License-Identifier: MIT
+ */
+#include "mathlib.h"
+#ifdef __vpcs
+#define VPCS 1
+#include "v_expf_1u.c"
+#endif