sse2: add NEON implementations of simde_mm_set{,1}_pd
Partially fixes
@@ -356,8 +356,9 @@ simde_mm_set_pd (simde_float64 e1, simde_float64 e0) {
#if defined(SIMDE_WASM_SIMD128_NATIVE)
r_.wasm_v128 = wasm_f64x2_make(e0, e1);
- #elif defined(SIMDE_WASM_SIMD128_NATIVE)
- r_.wasm_v128 = wasm_f64x2_make(e0, e1);
+ #elif defined(SIMDE_ARM_NEON_A64V8_NATIVE)
+ SIMDE_ALIGN(16) simde_float64 data[2] = { e0, e1 };
+ r_.neon_f64 = vld1q_f64(data);
#else
r_.f64[0] = e0;
r_.f64[1] = e1;
@@ -380,6 +381,8 @@ simde_mm_set1_pd (simde_float64 a) {
#if defined(SIMDE_WASM_SIMD128_NATIVE)
r_.wasm_v128 = wasm_f64x2_splat(a);
+ #elif defined(SIMDE_ARM_NEON_A64V8_NATIVE)
+ r_.neon_f64 = vdupq_n_f64(a);
#elif defined(SIMDE_POWER_ALTIVEC_P8_NATIVE)
r_.altivec_f64 = vec_splats(HEDLEY_STATIC_CAST(double, a));
#else
