Commit dbe7c1b9 authored by Evan Nemerson's avatar Evan Nemerson

neon/padd: vpadd_f32 was buggy in older clang versions

I can't find any details on when this was fixed.
parent 079e7fa6
...@@ -40,7 +40,7 @@ SIMDE_BEGIN_DECLS_ ...@@ -40,7 +40,7 @@ SIMDE_BEGIN_DECLS_
SIMDE_FUNCTION_ATTRIBUTES SIMDE_FUNCTION_ATTRIBUTES
simde_float32x2_t simde_float32x2_t
simde_vpadd_f32(simde_float32x2_t a, simde_float32x2_t b) { simde_vpadd_f32(simde_float32x2_t a, simde_float32x2_t b) {
#if defined(SIMDE_ARM_NEON_A32V7_NATIVE) #if defined(SIMDE_ARM_NEON_A32V7_NATIVE) && !SIMDE_DETECT_CLANG_VERSION_NOT(9,0,0)
return vpadd_f32(a, b); return vpadd_f32(a, b);
#else #else
return simde_vadd_f32(simde_vuzp1_f32(a, b), simde_vuzp2_f32(a, b)); return simde_vadd_f32(simde_vuzp1_f32(a, b), simde_vuzp2_f32(a, b));
......
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