Skip to content

Commit

Permalink
arm/neon/rnd: use correct SVML function for simde_vrndq_f64
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-c committed Apr 28, 2023
1 parent 7d16fa6 commit f19193b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion simde/arm/neon/rnd.h
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ simde_vrndq_f64(simde_float64x2_t a) {
#if defined(SIMDE_X86_SSE4_1_NATIVE)
r_.m128d = _mm_round_pd(a_.m128d, _MM_FROUND_TO_ZERO);
#elif defined(SIMDE_X86_SVML_NATIVE) && defined(SIMDE_X86_SSE_NATIVE)
r_.m128d = _mm_trunc_ps(a_.m128d);
r_.m128d = _mm_trunc_pd(a_.m128d);
#else
SIMDE_VECTORIZE
for (size_t i = 0 ; i < (sizeof(r_.values) / sizeof(r_.values[0])) ; i++) {
Expand Down

0 comments on commit f19193b

Please sign in to comment.