Vector Optimized Library of Kernels  2.4
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,
32  const float* inputVector,
33  float* saveValue,
34  unsigned int num_points)
35 {
36  const float bound = 1.0f;
37 
39  outputVector, inputVector, bound, saveValue, num_points);
40 }
41 #endif /* LV_HAVE_AVX */
42 
43 #ifdef LV_HAVE_SSE
44 #include <xmmintrin.h>
45 
46 static inline void volk_32f_x2_fm_detectpuppet_32f_a_sse(float* outputVector,
47  const float* inputVector,
48  float* saveValue,
49  unsigned int num_points)
50 {
51  const float bound = 1.0f;
52 
54  outputVector, inputVector, bound, saveValue, num_points);
55 }
56 #endif /* LV_HAVE_SSE */
57 
58 #ifdef LV_HAVE_GENERIC
59 
60 static inline void volk_32f_x2_fm_detectpuppet_32f_generic(float* outputVector,
61  const float* inputVector,
62  float* saveValue,
63  unsigned int num_points)
64 {
65  const float bound = 1.0f;
66 
68  outputVector, inputVector, bound, saveValue, num_points);
69 }
70 #endif /* LV_HAVE_GENERIC */
71 
72 
73 #endif /* INCLUDED_volk_32f_x2_fm_detectpuppet_32f_a_H */
74 
75 
76 #ifndef INCLUDED_volk_32f_x2_fm_detectpuppet_32f_u_H
77 #define INCLUDED_volk_32f_x2_fm_detectpuppet_32f_u_H
78 
80 
81 #ifdef LV_HAVE_AVX
82 #include <immintrin.h>
83 
84 static inline void volk_32f_x2_fm_detectpuppet_32f_u_avx(float* outputVector,
85  const float* inputVector,
86  float* saveValue,
87  unsigned int num_points)
88 {
89  const float bound = 1.0f;
90 
92  outputVector, inputVector, bound, saveValue, num_points);
93 }
94 #endif /* LV_HAVE_AVX */
95 #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:66
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:274
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:146
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:225
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:84
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:60
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:46
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