Vector Optimized Library of Kernels  3.0.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 = 1.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 = 1.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 = 1.0f;
53 
55  outputVector, inputVector, bound, saveValue, num_points);
56 }
57 #endif /* LV_HAVE_GENERIC */
58 
59 
60 #endif /* INCLUDED_volk_32f_x2_fm_detectpuppet_32f_a_H */
61 
62 
63 #ifndef INCLUDED_volk_32f_x2_fm_detectpuppet_32f_u_H
64 #define INCLUDED_volk_32f_x2_fm_detectpuppet_32f_u_H
65 
67 
68 #ifdef LV_HAVE_AVX
69 #include <immintrin.h>
70 
71 static inline void volk_32f_x2_fm_detectpuppet_32f_u_avx(float* outputVector,
72  const float* inputVector,
73  float* saveValue,
74  unsigned int num_points)
75 {
76  const float bound = 1.0f;
77 
79  outputVector, inputVector, bound, saveValue, num_points);
80 }
81 #endif /* LV_HAVE_AVX */
82 #endif /* INCLUDED_volk_32f_x2_fm_detectpuppet_32f_u_H */
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
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:261
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
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
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:71
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
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
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