diff options
Diffstat (limited to 'pl/math/estrinf.h')
-rw-r--r-- | pl/math/estrinf.h | 14 |
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" |