Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
howjmay committed Jul 9, 2024
1 parent b67200d commit d9b0e48
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sse2neon.h
Original file line number Diff line number Diff line change
Expand Up @@ -4486,8 +4486,8 @@ FORCE_INLINE __m128d _mm_max_pd(__m128d a, __m128d b)
double b0 = recast_f64(vgetq_lane_u64(vreinterpretq_u64_m128d(b), 0));
double b1 = recast_f64(vgetq_lane_u64(vreinterpretq_u64_m128d(b), 1));
uint64_t d[2];
d[0] = a0 > b0 ? a0 : b0;
d[1] = a1 > b1 ? a1 : b1;
d[0] = a0 > b0 ? recast_i64(a0) : recast_i64(b0);
d[1] = a1 > b1 ? recast_i64(a1) : recast_i64(b1);

return vreinterpretq_m128d_u64(vld1q_u64(d));
#endif
Expand Down Expand Up @@ -4549,8 +4549,8 @@ FORCE_INLINE __m128d _mm_min_pd(__m128d a, __m128d b)
double b0 = recast_f64(vgetq_lane_u64(vreinterpretq_u64_m128d(b), 0));
double b1 = recast_f64(vgetq_lane_u64(vreinterpretq_u64_m128d(b), 1));
uint64_t d[2];
d[0] = a0 < b0 ? a0 : b0;
d[1] = a1 < b1 ? a1 : b1;
d[0] = a0 < b0 ? recast_i64(a0) : recast_i64(b0);
d[1] = a1 < b1 ? recast_i64(a1) : recast_i64(b1);
return vreinterpretq_m128d_u64(vld1q_u64(d));
#endif
}
Expand Down

0 comments on commit d9b0e48

Please sign in to comment.