simd128: use vec_cmpgt instead of vec_cmplt in pmin
Fixes
@@ -5585,9 +5585,9 @@ simde_wasm_f32x4_pmin (simde_v128_t a, simde_v128_t b) {
#elif defined(SIMDE_POWER_ALTIVEC_P6_NATIVE)
r_.altivec_f32 =
vec_sel(
- b_.altivec_f32,
a_.altivec_f32,
- vec_cmplt(b_.altivec_f32, a_.altivec_f32)
+ b_.altivec_f32,
+ vec_cmpgt(a_.altivec_f32, b_.altivec_f32)
);
#else
SIMDE_VECTORIZE
@@ -5630,9 +5630,9 @@ simde_wasm_f64x2_pmin (simde_v128_t a, simde_v128_t b) {
#elif defined(SIMDE_POWER_ALTIVEC_P7_NATIVE)
r_.altivec_f32 =
vec_sel(
- b_.altivec_f32,
a_.altivec_f32,
- vec_cmplt(b_.altivec_f32, a_.altivec_f32)
+ b_.altivec_f32,
+ vec_cmpgt(a_.altivec_f32, b_.altivec_f32)
);
#else
SIMDE_VECTORIZE
