Vector Optimized Library of Kernels  3.3.0
Architecture-tuned implementations of math kernels
volk_32f_x2_fm_detectpuppet_32f.h
Go to the documentation of this file.
1 /* -*- c++ -*- */
2 /*
3  * Copyright 2014 Free Software Foundation, Inc.
4  *
5  * This file is part of VOLK
6  *
7  * SPDX-License-Identifier: LGPL-3.0-or-later
8  */
9 
10 #ifndef INCLUDED_volk_32f_x2_fm_detectpuppet_32f_a_H
11 #define INCLUDED_volk_32f_x2_fm_detectpuppet_32f_a_H
12 
14 
15 #ifdef LV_HAVE_AVX
16 #include <immintrin.h>
17 
18 static inline void volk_32f_x2_fm_detectpuppet_32f_a_avx(float* outputVector,
19  const float* inputVector,
20  float* saveValue,
21  unsigned int num_points)
22 {
23  const float bound = 2.0f;
24 
26  outputVector, inputVector, bound, saveValue, num_points);
27 }
28 #endif /* LV_HAVE_AVX */
29 
30 #ifdef LV_HAVE_SSE
31 #include <xmmintrin.h>
32 
33 static inline void volk_32f_x2_fm_detectpuppet_32f_a_sse(float* outputVector,
34  const float* inputVector,
35  float* saveValue,
36  unsigned int num_points)
37 {
38  const float bound = 2.0f;
39 
41  outputVector, inputVector, bound, saveValue, num_points);
42 }
43 #endif /* LV_HAVE_SSE */
44 
45 #ifdef LV_HAVE_GENERIC
46 
47 static inline void volk_32f_x2_fm_detectpuppet_32f_generic(float* outputVector,
48  const float* inputVector,
49  float* saveValue,
50  unsigned int num_points)
51 {
52  const float bound = 2.0f;
53 
55  outputVector, inputVector, bound, saveValue, num_points);
56 }
57 #endif /* LV_HAVE_GENERIC */
58 
59 #ifdef LV_HAVE_NEON
60 
61 static inline void volk_32f_x2_fm_detectpuppet_32f_neon(float* outputVector,
62  const float* inputVector,
63  float* saveValue,
64  unsigned int num_points)
65 {
66  const float bound = 2.0f;
67 
69  outputVector, inputVector, bound, saveValue, num_points);
70 }
71 #endif /* LV_HAVE_NEON */
72 
73 #ifdef LV_HAVE_NEONV8
74 
75 static inline void volk_32f_x2_fm_detectpuppet_32f_neonv8(float* outputVector,
76  const float* inputVector,
77  float* saveValue,
78  unsigned int num_points)
79 {
80  const float bound = 2.0f;
81 
82  volk_32f_s32f_32f_fm_detect_32f_neonv8(
83  outputVector, inputVector, bound, saveValue, num_points);
84 }
85 #endif /* LV_HAVE_NEONV8 */
86 
87 #endif /* INCLUDED_volk_32f_x2_fm_detectpuppet_32f_a_H */
88 
89 
90 #ifndef INCLUDED_volk_32f_x2_fm_detectpuppet_32f_u_H
91 #define INCLUDED_volk_32f_x2_fm_detectpuppet_32f_u_H
92 
94 
95 #ifdef LV_HAVE_AVX
96 #include <immintrin.h>
97 
98 static inline void volk_32f_x2_fm_detectpuppet_32f_u_avx(float* outputVector,
99  const float* inputVector,
100  float* saveValue,
101  unsigned int num_points)
102 {
103  const float bound = 2.0f;
104 
106  outputVector, inputVector, bound, saveValue, num_points);
107 }
108 #endif /* LV_HAVE_AVX */
109 
110 #ifdef LV_HAVE_RVV
111 static inline void volk_32f_x2_fm_detectpuppet_32f_rvv(float* outputVector,
112  const float* inputVector,
113  float* saveValue,
114  unsigned int num_points)
115 {
116  const float bound = 2.0f;
117  volk_32f_s32f_32f_fm_detect_32f_rvv(
118  outputVector, inputVector, bound, saveValue, num_points);
119 }
120 #endif /* LV_HAVE_RVV */
121 
122 #endif /* INCLUDED_volk_32f_x2_fm_detectpuppet_32f_u_H */
volk_32f_s32f_32f_fm_detect_32f_u_avx
static void volk_32f_s32f_32f_fm_detect_32f_u_avx(float *outputVector, const float *inputVector, const float bound, float *saveValue, unsigned int num_points)
Definition: volk_32f_s32f_32f_fm_detect_32f.h:436
volk_32f_x2_fm_detectpuppet_32f_generic
static void volk_32f_x2_fm_detectpuppet_32f_generic(float *outputVector, const float *inputVector, float *saveValue, unsigned int num_points)
Definition: volk_32f_x2_fm_detectpuppet_32f.h:47
volk_32f_x2_fm_detectpuppet_32f_a_avx
static void volk_32f_x2_fm_detectpuppet_32f_a_avx(float *outputVector, const float *inputVector, float *saveValue, unsigned int num_points)
Definition: volk_32f_x2_fm_detectpuppet_32f.h:18
volk_32f_s32f_32f_fm_detect_32f_a_sse
static void volk_32f_s32f_32f_fm_detect_32f_a_sse(float *outputVector, const float *inputVector, const float bound, float *saveValue, unsigned int num_points)
Definition: volk_32f_s32f_32f_fm_detect_32f.h:133
volk_32f_s32f_32f_fm_detect_32f_a_avx
static void volk_32f_s32f_32f_fm_detect_32f_a_avx(float *outputVector, const float *inputVector, const float bound, float *saveValue, unsigned int num_points)
Definition: volk_32f_s32f_32f_fm_detect_32f.h:53
volk_32f_x2_fm_detectpuppet_32f_u_avx
static void volk_32f_x2_fm_detectpuppet_32f_u_avx(float *outputVector, const float *inputVector, float *saveValue, unsigned int num_points)
Definition: volk_32f_x2_fm_detectpuppet_32f.h:98
volk_32f_x2_fm_detectpuppet_32f_neon
static void volk_32f_x2_fm_detectpuppet_32f_neon(float *outputVector, const float *inputVector, float *saveValue, unsigned int num_points)
Definition: volk_32f_x2_fm_detectpuppet_32f.h:61
volk_32f_x2_fm_detectpuppet_32f_a_sse
static void volk_32f_x2_fm_detectpuppet_32f_a_sse(float *outputVector, const float *inputVector, float *saveValue, unsigned int num_points)
Definition: volk_32f_x2_fm_detectpuppet_32f.h:33
volk_32f_s32f_32f_fm_detect_32f.h
volk_32f_s32f_32f_fm_detect_32f_generic
static void volk_32f_s32f_32f_fm_detect_32f_generic(float *outputVector, const float *inputVector, const float bound, float *saveValue, unsigned int num_points)
Definition: volk_32f_s32f_32f_fm_detect_32f.h:212
volk_32f_s32f_32f_fm_detect_32f_neon
static void volk_32f_s32f_32f_fm_detect_32f_neon(float *outputVector, const float *inputVector, const float bound, float *saveValue, unsigned int num_points)
Definition: volk_32f_s32f_32f_fm_detect_32f.h:252