summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--volk/include/volk/volk_16i_max_star_16i_a.h4
-rw-r--r--volk/include/volk/volk_32f_s32f_stddev_32f_a.h6
-rw-r--r--volk/include/volk/volk_32f_stddev_and_mean_32f_x2_a.h6
3 files changed, 8 insertions, 8 deletions
diff --git a/volk/include/volk/volk_16i_max_star_16i_a.h b/volk/include/volk/volk_16i_max_star_16i_a.h
index 6a4f63708..28197ddef 100644
--- a/volk/include/volk/volk_16i_max_star_16i_a.h
+++ b/volk/include/volk/volk_16i_max_star_16i_a.h
@@ -18,7 +18,7 @@ static inline void volk_16i_max_star_16i_a_ssse3(short* target, short* src0, un
short candidate = src0[0];
short cands[8];
- __m128i xmm0, xmm1, xmm2, xmm3, xmm4, xmm5, xmm6;
+ __m128i xmm0, xmm1, xmm3, xmm4, xmm5, xmm6;
__m128i *p_src0;
@@ -41,7 +41,7 @@ static inline void volk_16i_max_star_16i_a_ssse3(short* target, short* src0, un
for(i = 0; i < bound; ++i) {
xmm1 = _mm_load_si128(p_src0);
p_src0 += 1;
- xmm2 = _mm_sub_epi16(xmm1, xmm0);
+ //xmm2 = _mm_sub_epi16(xmm1, xmm0);
diff --git a/volk/include/volk/volk_32f_s32f_stddev_32f_a.h b/volk/include/volk/volk_32f_s32f_stddev_32f_a.h
index 881067bdc..75fe0cb2e 100644
--- a/volk/include/volk/volk_32f_s32f_stddev_32f_a.h
+++ b/volk/include/volk/volk_32f_s32f_stddev_32f_a.h
@@ -60,7 +60,7 @@ static inline void volk_32f_s32f_stddev_32f_a_sse4_1(float* stddev, const float*
}
returnValue /= num_points;
returnValue -= (mean * mean);
- returnValue = sqrt(returnValue);
+ returnValue = sqrtf(returnValue);
}
*stddev = returnValue;
}
@@ -106,7 +106,7 @@ static inline void volk_32f_s32f_stddev_32f_a_sse(float* stddev, const float* in
}
returnValue /= num_points;
returnValue -= (mean * mean);
- returnValue = sqrt(returnValue);
+ returnValue = sqrtf(returnValue);
}
*stddev = returnValue;
}
@@ -133,7 +133,7 @@ static inline void volk_32f_s32f_stddev_32f_a_generic(float* stddev, const float
returnValue /= num_points;
returnValue -= (mean * mean);
- returnValue = sqrt(returnValue);
+ returnValue = sqrtf(returnValue);
}
*stddev = returnValue;
}
diff --git a/volk/include/volk/volk_32f_stddev_and_mean_32f_x2_a.h b/volk/include/volk/volk_32f_stddev_and_mean_32f_x2_a.h
index 3a82e3d2f..20ff676d8 100644
--- a/volk/include/volk/volk_32f_stddev_and_mean_32f_x2_a.h
+++ b/volk/include/volk/volk_32f_stddev_and_mean_32f_x2_a.h
@@ -72,7 +72,7 @@ static inline void volk_32f_stddev_and_mean_32f_x2_a_sse4_1(float* stddev, float
newMean /= num_points;
returnValue /= num_points;
returnValue -= (newMean * newMean);
- returnValue = sqrt(returnValue);
+ returnValue = sqrtf(returnValue);
}
*stddev = returnValue;
*mean = newMean;
@@ -128,7 +128,7 @@ static inline void volk_32f_stddev_and_mean_32f_x2_a_sse(float* stddev, float* m
newMean /= num_points;
returnValue /= num_points;
returnValue -= (newMean * newMean);
- returnValue = sqrt(returnValue);
+ returnValue = sqrtf(returnValue);
}
*stddev = returnValue;
*mean = newMean;
@@ -157,7 +157,7 @@ static inline void volk_32f_stddev_and_mean_32f_x2_a_generic(float* stddev, floa
newMean /= num_points;
returnValue /= num_points;
returnValue -= (newMean * newMean);
- returnValue = sqrt(returnValue);
+ returnValue = sqrtf(returnValue);
}
*stddev = returnValue;
*mean = newMean;