Revision cef9e33e volk/include/volk/volk_32f_s32f_power_32f_a16.h
| b/volk/include/volk/volk_32f_s32f_power_32f_a16.h | ||
|---|---|---|
| 5 | 5 |
#include <stdio.h> |
| 6 | 6 |
#include <math.h> |
| 7 | 7 |
|
| 8 |
#if LV_HAVE_SSE4_1 |
|
| 8 |
#ifdef LV_HAVE_SSE4_1
|
|
| 9 | 9 |
#include <tmmintrin.h> |
| 10 | 10 |
|
| 11 |
#if LV_HAVE_LIB_SIMDMATH |
|
| 11 |
#ifdef LV_HAVE_LIB_SIMDMATH
|
|
| 12 | 12 |
#include <simdmath.h> |
| 13 | 13 |
#endif /* LV_HAVE_LIB_SIMDMATH */ |
| 14 | 14 |
|
| ... | ... | |
| 26 | 26 |
float* cPtr = cVector; |
| 27 | 27 |
const float* aPtr = aVector; |
| 28 | 28 |
|
| 29 |
#if LV_HAVE_LIB_SIMDMATH |
|
| 29 |
#ifdef LV_HAVE_LIB_SIMDMATH
|
|
| 30 | 30 |
__m128 vPower = _mm_set_ps1(power); |
| 31 | 31 |
__m128 zeroValue = _mm_setzero_ps(); |
| 32 | 32 |
__m128 signMask; |
| ... | ... | |
| 62 | 62 |
} |
| 63 | 63 |
#endif /* LV_HAVE_SSE4_1 */ |
| 64 | 64 |
|
| 65 |
#if LV_HAVE_SSE |
|
| 65 |
#ifdef LV_HAVE_SSE
|
|
| 66 | 66 |
#include <xmmintrin.h> |
| 67 | 67 |
|
| 68 |
#if LV_HAVE_LIB_SIMDMATH |
|
| 68 |
#ifdef LV_HAVE_LIB_SIMDMATH
|
|
| 69 | 69 |
#include <simdmath.h> |
| 70 | 70 |
#endif /* LV_HAVE_LIB_SIMDMATH */ |
| 71 | 71 |
|
| ... | ... | |
| 83 | 83 |
float* cPtr = cVector; |
| 84 | 84 |
const float* aPtr = aVector; |
| 85 | 85 |
|
| 86 |
#if LV_HAVE_LIB_SIMDMATH |
|
| 86 |
#ifdef LV_HAVE_LIB_SIMDMATH
|
|
| 87 | 87 |
__m128 vPower = _mm_set_ps1(power); |
| 88 | 88 |
__m128 zeroValue = _mm_setzero_ps(); |
| 89 | 89 |
__m128 signMask; |
| ... | ... | |
| 119 | 119 |
} |
| 120 | 120 |
#endif /* LV_HAVE_SSE */ |
| 121 | 121 |
|
| 122 |
#if LV_HAVE_GENERIC |
|
| 122 |
#ifdef LV_HAVE_GENERIC
|
|
| 123 | 123 |
/*! |
| 124 | 124 |
\brief Takes each the input vector value to the specified power and stores the results in the return vector |
| 125 | 125 |
\param cVector The vector where the results will be stored |
Also available in: Unified diff