Commit c4957d21 authored by Michael R. Crusoe's avatar Michael R. Crusoe Committed by Michael R. Crusoe

remove useless cast

parent 5bc0d771
...@@ -2631,7 +2631,7 @@ simde_mm_cvtps_epi32 (simde__m128 a) { ...@@ -2631,7 +2631,7 @@ simde_mm_cvtps_epi32 (simde__m128 a) {
r_.altivec_i32 = vec_cts(a_.altivec_f32, 1); r_.altivec_i32 = vec_cts(a_.altivec_f32, 1);
HEDLEY_DIAGNOSTIC_POP HEDLEY_DIAGNOSTIC_POP
#else #else
a_ = simde__m128_to_private(simde_x_mm_round_ps(simde__m128_from_private(a_), SIMDE_MM_FROUND_TO_NEAREST_INT, 1)); a_ = simde__m128_to_private(simde_x_mm_round_ps(a, SIMDE_MM_FROUND_TO_NEAREST_INT, 1));
SIMDE_VECTORIZE SIMDE_VECTORIZE
for (size_t i = 0 ; i < (sizeof(r_.i32) / sizeof(r_.i32[0])) ; i++) { for (size_t i = 0 ; i < (sizeof(r_.i32) / sizeof(r_.i32[0])) ; i++) {
r_.i32[i] = HEDLEY_STATIC_CAST(int32_t, a_.f32[i]); r_.i32[i] = HEDLEY_STATIC_CAST(int32_t, a_.f32[i]);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment