Vector Optimized Library of Kernels  3.0.0
Architecture-tuned implementations of math kernels
volk_32f_s32f_mod_rangepuppet_32f.h
Go to the documentation of this file.
1 /* -*- c++ -*- */
2 /*
3  * Copyright 2017, 2020 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_S32F_MOD_RANGEPUPPET_32F_H
11 #define INCLUDED_VOLK_32F_S32F_MOD_RANGEPUPPET_32F_H
12 
14 
15 #ifdef LV_HAVE_GENERIC
16 static inline void volk_32f_s32f_mod_rangepuppet_32f_generic(float* output,
17  const float* input,
18  float bound,
19  unsigned int num_points)
20 {
22  output, input, bound - 3.141f, bound, num_points);
23 }
24 #endif
25 
26 
27 #ifdef LV_HAVE_SSE
28 static inline void volk_32f_s32f_mod_rangepuppet_32f_u_sse(float* output,
29  const float* input,
30  float bound,
31  unsigned int num_points)
32 {
34  output, input, bound - 3.141f, bound, num_points);
35 }
36 #endif
37 #ifdef LV_HAVE_SSE
38 static inline void volk_32f_s32f_mod_rangepuppet_32f_a_sse(float* output,
39  const float* input,
40  float bound,
41  unsigned int num_points)
42 {
44  output, input, bound - 3.141f, bound, num_points);
45 }
46 #endif
47 
48 #ifdef LV_HAVE_SSE2
49 static inline void volk_32f_s32f_mod_rangepuppet_32f_u_sse2(float* output,
50  const float* input,
51  float bound,
52  unsigned int num_points)
53 {
55  output, input, bound - 3.141f, bound, num_points);
56 }
57 #endif
58 #ifdef LV_HAVE_SSE2
59 static inline void volk_32f_s32f_mod_rangepuppet_32f_a_sse2(float* output,
60  const float* input,
61  float bound,
62  unsigned int num_points)
63 {
65  output, input, bound - 3.141f, bound, num_points);
66 }
67 #endif
68 
69 #ifdef LV_HAVE_AVX
70 static inline void volk_32f_s32f_mod_rangepuppet_32f_u_avx(float* output,
71  const float* input,
72  float bound,
73  unsigned int num_points)
74 {
76  output, input, bound - 3.141f, bound, num_points);
77 }
78 #endif
79 #ifdef LV_HAVE_AVX
80 static inline void volk_32f_s32f_mod_rangepuppet_32f_a_avx(float* output,
81  const float* input,
82  float bound,
83  unsigned int num_points)
84 {
86  output, input, bound - 3.141f, bound, num_points);
87 }
88 #endif
89 #endif
static void volk_32f_s32f_mod_rangepuppet_32f_u_avx(float *output, const float *input, float bound, unsigned int num_points)
Definition: volk_32f_s32f_mod_rangepuppet_32f.h:70
static void volk_32f_s32f_mod_rangepuppet_32f_u_sse(float *output, const float *input, float bound, unsigned int num_points)
Definition: volk_32f_s32f_mod_rangepuppet_32f.h:28
static void volk_32f_s32f_mod_rangepuppet_32f_u_sse2(float *output, const float *input, float bound, unsigned int num_points)
Definition: volk_32f_s32f_mod_rangepuppet_32f.h:49
static void volk_32f_s32f_mod_rangepuppet_32f_a_sse2(float *output, const float *input, float bound, unsigned int num_points)
Definition: volk_32f_s32f_mod_rangepuppet_32f.h:59
static void volk_32f_s32f_mod_rangepuppet_32f_a_avx(float *output, const float *input, float bound, unsigned int num_points)
Definition: volk_32f_s32f_mod_rangepuppet_32f.h:80
static void volk_32f_s32f_mod_rangepuppet_32f_a_sse(float *output, const float *input, float bound, unsigned int num_points)
Definition: volk_32f_s32f_mod_rangepuppet_32f.h:38
static void volk_32f_s32f_mod_rangepuppet_32f_generic(float *output, const float *input, float bound, unsigned int num_points)
Definition: volk_32f_s32f_mod_rangepuppet_32f.h:16
static void volk_32f_s32f_s32f_mod_range_32f_u_sse(float *outputVector, const float *inputVector, const float lower_bound, const float upper_bound, unsigned int num_points)
Definition: volk_32f_s32f_s32f_mod_range_32f.h:266
static void volk_32f_s32f_s32f_mod_range_32f_a_avx(float *outputVector, const float *inputVector, const float lower_bound, const float upper_bound, unsigned int num_points)
Definition: volk_32f_s32f_s32f_mod_range_32f.h:116
static void volk_32f_s32f_s32f_mod_range_32f_a_sse(float *outputVector, const float *inputVector, const float lower_bound, const float upper_bound, unsigned int num_points)
Definition: volk_32f_s32f_s32f_mod_range_32f.h:313
static void volk_32f_s32f_s32f_mod_range_32f_u_sse2(float *outputVector, const float *inputVector, const float lower_bound, const float upper_bound, unsigned int num_points)
Definition: volk_32f_s32f_s32f_mod_range_32f.h:170
static void volk_32f_s32f_s32f_mod_range_32f_generic(float *outputVector, const float *inputVector, const float lower_bound, const float upper_bound, unsigned int num_points)
Definition: volk_32f_s32f_s32f_mod_range_32f.h:37
static void volk_32f_s32f_s32f_mod_range_32f_u_avx(float *outputVector, const float *inputVector, const float lower_bound, const float upper_bound, unsigned int num_points)
Definition: volk_32f_s32f_s32f_mod_range_32f.h:68
static void volk_32f_s32f_s32f_mod_range_32f_a_sse2(float *outputVector, const float *inputVector, const float lower_bound, const float upper_bound, unsigned int num_points)
Definition: volk_32f_s32f_s32f_mod_range_32f.h:215