Line |
Branch |
Exec |
Source |
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 |
|
|
|
13 |
|
|
#include "volk_32f_s32f_32f_fm_detect_32f.h" |
14 |
|
|
|
15 |
|
|
#ifdef LV_HAVE_AVX |
16 |
|
|
#include <immintrin.h> |
17 |
|
|
|
18 |
|
2 |
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 |
|
2 |
const float bound = 1.0f; |
24 |
|
|
|
25 |
|
2 |
volk_32f_s32f_32f_fm_detect_32f_a_avx( |
26 |
|
|
outputVector, inputVector, bound, saveValue, num_points); |
27 |
|
2 |
} |
28 |
|
|
#endif /* LV_HAVE_AVX */ |
29 |
|
|
|
30 |
|
|
#ifdef LV_HAVE_SSE |
31 |
|
|
#include <xmmintrin.h> |
32 |
|
|
|
33 |
|
2 |
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 |
|
2 |
const float bound = 1.0f; |
39 |
|
|
|
40 |
|
2 |
volk_32f_s32f_32f_fm_detect_32f_a_sse( |
41 |
|
|
outputVector, inputVector, bound, saveValue, num_points); |
42 |
|
2 |
} |
43 |
|
|
#endif /* LV_HAVE_SSE */ |
44 |
|
|
|
45 |
|
|
#ifdef LV_HAVE_GENERIC |
46 |
|
|
|
47 |
|
2 |
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 |
|
2 |
const float bound = 1.0f; |
53 |
|
|
|
54 |
|
2 |
volk_32f_s32f_32f_fm_detect_32f_generic( |
55 |
|
|
outputVector, inputVector, bound, saveValue, num_points); |
56 |
|
2 |
} |
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 |
|
|
|
66 |
|
|
#include "volk_32f_s32f_32f_fm_detect_32f.h" |
67 |
|
|
|
68 |
|
|
#ifdef LV_HAVE_AVX |
69 |
|
|
#include <immintrin.h> |
70 |
|
|
|
71 |
|
2 |
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 |
|
2 |
const float bound = 1.0f; |
77 |
|
|
|
78 |
|
2 |
volk_32f_s32f_32f_fm_detect_32f_u_avx( |
79 |
|
|
outputVector, inputVector, bound, saveValue, num_points); |
80 |
|
2 |
} |
81 |
|
|
#endif /* LV_HAVE_AVX */ |
82 |
|
|
#endif /* INCLUDED_volk_32f_x2_fm_detectpuppet_32f_u_H */ |
83 |
|
|
|