GNU Radio Manual and C++ API Reference  3.7.7
The Free & Open Software Radio Ecosystem
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
volk_32fc_s32fc_rotatorpuppet_32fc.h
Go to the documentation of this file.
1 /* -*- c++ -*- */
2 /*
3  * Copyright 2012, 2013, 2014 Free Software Foundation, Inc.
4  *
5  * This file is part of GNU Radio
6  *
7  * GNU Radio 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  * GNU Radio 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 GNU Radio; 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 
24 #ifndef INCLUDED_volk_32fc_s32fc_rotatorpuppet_32fc_a_H
25 #define INCLUDED_volk_32fc_s32fc_rotatorpuppet_32fc_a_H
26 
27 
28 #include <volk/volk_complex.h>
29 #include <stdio.h>
31 
32 
33 #ifdef LV_HAVE_GENERIC
34 
35 static inline void volk_32fc_s32fc_rotatorpuppet_32fc_generic(lv_32fc_t* outVector, const lv_32fc_t* inVector, const lv_32fc_t phase_inc, unsigned int num_points){
36  lv_32fc_t phase[1] = {lv_cmake(.3, 0.95393)};
37  volk_32fc_s32fc_x2_rotator_32fc_generic(outVector, inVector, phase_inc, phase, num_points);
38 
39 }
40 
41 #endif /* LV_HAVE_GENERIC */
42 
43 
44 #ifdef LV_HAVE_SSE4_1
45 #include <smmintrin.h>
46 
47 static inline void volk_32fc_s32fc_rotatorpuppet_32fc_a_sse4_1(lv_32fc_t* outVector, const lv_32fc_t* inVector, const lv_32fc_t phase_inc, unsigned int num_points){
48  lv_32fc_t phase[1] = {lv_cmake(.3, .95393)};
49  volk_32fc_s32fc_x2_rotator_32fc_a_sse4_1(outVector, inVector, phase_inc, phase, num_points);
50 
51 }
52 
53 #endif /* LV_HAVE_SSE4_1 */
54 
55 
56 #ifdef LV_HAVE_SSE4_1
57 #include <smmintrin.h>
58 static inline void volk_32fc_s32fc_rotatorpuppet_32fc_u_sse4_1(lv_32fc_t* outVector, const lv_32fc_t* inVector, const lv_32fc_t phase_inc, unsigned int num_points){
59  lv_32fc_t phase[1] = {lv_cmake(.3, .95393)};
60  volk_32fc_s32fc_x2_rotator_32fc_u_sse4_1(outVector, inVector, phase_inc, phase, num_points);
61 
62 }
63 
64 #endif /* LV_HAVE_SSE4_1 */
65 
66 
67 #ifdef LV_HAVE_AVX
68 #include <immintrin.h>
69 
70 static inline void volk_32fc_s32fc_rotatorpuppet_32fc_a_avx(lv_32fc_t* outVector, const lv_32fc_t* inVector, const lv_32fc_t phase_inc, unsigned int num_points){
71  lv_32fc_t phase[1] = {lv_cmake(.3, .95393)};
72  volk_32fc_s32fc_x2_rotator_32fc_a_avx(outVector, inVector, phase_inc, phase, num_points);
73 }
74 
75 #endif /* LV_HAVE_AVX */
76 
77 
78 #ifdef LV_HAVE_AVX
79 #include <immintrin.h>
80 
81 static inline void volk_32fc_s32fc_rotatorpuppet_32fc_u_avx(lv_32fc_t* outVector, const lv_32fc_t* inVector, const lv_32fc_t phase_inc, unsigned int num_points){
82  lv_32fc_t phase[1] = {lv_cmake(.3, .95393)};
83  volk_32fc_s32fc_x2_rotator_32fc_u_avx(outVector, inVector, phase_inc, phase, num_points);
84 }
85 
86 #endif /* LV_HAVE_AVX */
87 
88 #endif /* INCLUDED_volk_32fc_s32fc_rotatorpuppet_32fc_a_H */
#define lv_cmake(r, i)
Definition: volk_complex.h:59
float complex lv_32fc_t
Definition: volk_complex.h:56