aboutsummaryrefslogtreecommitdiff
path: root/pl/math/estrinf.h
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-07-07 05:01:00 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-07-07 05:01:00 +0000
commit05a126002f4b36b3e67a7ff8c1ae0b6a22e5bcce (patch)
treeb6182e391304fb3a42c51d482dcf671f540f2363 /pl/math/estrinf.h
parentff02702194780c584abb5f040482fcd492f71ba5 (diff)
parent172d24a7ae67ee7bae413d5a8618f1b5edc002be (diff)
downloadarm-optimized-routines-05a126002f4b36b3e67a7ff8c1ae0b6a22e5bcce.tar.gz
Change-Id: I340f83d77480d20bc7ed62a5e440f70665de74b2
Diffstat (limited to 'pl/math/estrinf.h')
-rw-r--r--pl/math/estrinf.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/pl/math/estrinf.h b/pl/math/estrinf.h
new file mode 100644
index 0000000..175233c
--- /dev/null
+++ b/pl/math/estrinf.h
@@ -0,0 +1,14 @@
+/*
+ * Helper macros for single-precision Estrin polynomial evaluation.
+ *
+ * Copyright (c) 2022-2023, Arm Limited.
+ * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
+ */
+
+#if V_SUPPORTED
+#define FMA v_fma_f32
+#else
+#define FMA fmaf
+#endif
+
+#include "estrin_wrap.h"