Vector Optimized Library of Kernels  2.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  * VOLK is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 3, or (at your option)
10  * any later version.
11  *
12  * VOLK is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with VOLK; see the file COPYING. If not, write to
19  * the Free Software Foundation, Inc., 51 Franklin Street,
20  * Boston, MA 02110-1301, USA.
21  */
22 
23 #ifndef INCLUDED_volk_32f_x2_fm_detectpuppet_32f_a_H
24 #define INCLUDED_volk_32f_x2_fm_detectpuppet_32f_a_H
25 
27 
28 #ifdef LV_HAVE_AVX
29 #include <immintrin.h>
30 
31 static inline void volk_32f_x2_fm_detectpuppet_32f_a_avx(float* outputVector, const float* inputVector, float* saveValue, unsigned int num_points)
32 {
33  const float bound = 1.0f;
34 
35  volk_32f_s32f_32f_fm_detect_32f_a_avx(outputVector, inputVector, bound, saveValue, num_points);
36 }
37 #endif /* LV_HAVE_AVX */
38 
39 #ifdef LV_HAVE_SSE
40 #include <xmmintrin.h>
41 
42 static inline void volk_32f_x2_fm_detectpuppet_32f_a_sse(float* outputVector, const float* inputVector, float* saveValue, unsigned int num_points)
43 {
44  const float bound = 1.0f;
45 
46  volk_32f_s32f_32f_fm_detect_32f_a_sse(outputVector, inputVector, bound, saveValue, num_points);
47 }
48 #endif /* LV_HAVE_SSE */
49 
50 #ifdef LV_HAVE_GENERIC
51 
52 static inline void volk_32f_x2_fm_detectpuppet_32f_generic(float* outputVector, const float* inputVector, float* saveValue, unsigned int num_points)
53 {
54  const float bound = 1.0f;
55 
56  volk_32f_s32f_32f_fm_detect_32f_generic(outputVector, inputVector, bound, saveValue, num_points);
57 }
58 #endif /* LV_HAVE_GENERIC */
59 
60 
61 #endif /* INCLUDED_volk_32f_x2_fm_detectpuppet_32f_a_H */
62 
63 
64 #ifndef INCLUDED_volk_32f_x2_fm_detectpuppet_32f_u_H
65 #define INCLUDED_volk_32f_x2_fm_detectpuppet_32f_u_H
66 
68 
69 #ifdef LV_HAVE_AVX
70 #include <immintrin.h>
71 
72 static inline void volk_32f_x2_fm_detectpuppet_32f_u_avx(float* outputVector, const float* inputVector, float* saveValue, unsigned int num_points)
73 {
74  const float bound = 1.0f;
75 
76  volk_32f_s32f_32f_fm_detect_32f_u_avx(outputVector, inputVector, bound, saveValue, num_points);
77 }
78 #endif /* LV_HAVE_AVX */
79 #endif /* INCLUDED_volk_32f_x2_fm_detectpuppet_32f_u_H */
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:241
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:31
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_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:65
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:42
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:72
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:199
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:52