Commit 979a1025 authored by Evan Nemerson's avatar Evan Nemerson

sse: work around missing vrndiq_f32 on GCC on armv8 with NEON

Fixes #656
parent c68b2649
...@@ -411,7 +411,7 @@ simde_x_mm_round_ps (simde__m128 a, int rounding, int lax_rounding) ...@@ -411,7 +411,7 @@ simde_x_mm_round_ps (simde__m128 a, int rounding, int lax_rounding)
case SIMDE_MM_FROUND_CUR_DIRECTION: case SIMDE_MM_FROUND_CUR_DIRECTION:
#if defined(SIMDE_POWER_ALTIVEC_P6_NATIVE) #if defined(SIMDE_POWER_ALTIVEC_P6_NATIVE)
r_.altivec_f32 = HEDLEY_REINTERPRET_CAST(SIMDE_POWER_ALTIVEC_VECTOR(float), vec_round(a_.altivec_f32)); r_.altivec_f32 = HEDLEY_REINTERPRET_CAST(SIMDE_POWER_ALTIVEC_VECTOR(float), vec_round(a_.altivec_f32));
#elif defined(SIMDE_ARM_NEON_A32V8_NATIVE) #elif defined(SIMDE_ARM_NEON_A32V8_NATIVE) && !defined(SIMDE_BUG_GCC_95399)
r_.neon_f32 = vrndiq_f32(a_.neon_f32); r_.neon_f32 = vrndiq_f32(a_.neon_f32);
#elif defined(simde_math_nearbyintf) #elif defined(simde_math_nearbyintf)
SIMDE_VECTORIZE SIMDE_VECTORIZE
......
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