55#ifndef INCLUDED_volk_32fc_conjugate_32fc_u_H
56#define INCLUDED_volk_32fc_conjugate_32fc_u_H
68 unsigned int num_points)
70 unsigned int number = 0;
71 const unsigned int quarterPoints = num_points / 4;
77 __m256 conjugator = _mm256_setr_ps(0, -0.f, 0, -0.f, 0, -0.f, 0, -0.f);
79 for (; number < quarterPoints; number++) {
81 x = _mm256_loadu_ps((
float*)a);
83 x = _mm256_xor_ps(x, conjugator);
85 _mm256_storeu_ps((
float*)c, x);
91 number = quarterPoints * 4;
93 for (; number < num_points; number++) {
100#include <pmmintrin.h>
104 unsigned int num_points)
106 unsigned int number = 0;
107 const unsigned int halfPoints = num_points / 2;
115 for (; number < halfPoints; number++) {
127 if ((num_points % 2) != 0) {
133#ifdef LV_HAVE_GENERIC
137 unsigned int num_points)
141 unsigned int number = 0;
143 for (number = 0; number < num_points; number++) {
151#ifndef INCLUDED_volk_32fc_conjugate_32fc_a_H
152#define INCLUDED_volk_32fc_conjugate_32fc_a_H
160#include <immintrin.h>
164 unsigned int num_points)
166 unsigned int number = 0;
167 const unsigned int quarterPoints = num_points / 4;
173 __m256 conjugator = _mm256_setr_ps(0, -0.f, 0, -0.f, 0, -0.f, 0, -0.f);
175 for (; number < quarterPoints; number++) {
177 x = _mm256_load_ps((
float*)a);
179 x = _mm256_xor_ps(x, conjugator);
181 _mm256_store_ps((
float*)c, x);
187 number = quarterPoints * 4;
189 for (; number < num_points; number++) {
196#include <pmmintrin.h>
200 unsigned int num_points)
202 unsigned int number = 0;
203 const unsigned int halfPoints = num_points / 2;
211 for (; number < halfPoints; number++) {
223 if ((num_points % 2) != 0) {
234 unsigned int num_points)
237 const unsigned int quarterPoints = num_points / 4;
243 for (number = 0; number < quarterPoints; number++) {
245 x = vld2q_f32((
float*)a);
248 x.val[1] = vnegq_f32(x.val[1]);
250 vst2q_f32((
float*)c, x);
256 for (number = quarterPoints * 4; number < num_points; number++) {