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 bb5cbf0 commit 66ef13c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sse2neon.h
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
#include <stdlib.h>
#include <string.h>

FORCE_INLINE double recast_f64(uint64_t *u64) {
FORCE_INLINE double recast_f64(uint64_t u64) {
double f64;
memcpy(&f64, u64, sizeof(uint64_t));
return f64;
Expand Down Expand Up @@ -4199,7 +4199,7 @@ FORCE_INLINE int32_t _mm_cvttsd_si32(__m128d a)
{
double _a;
_a = recast_f64(vgetq_lane_u64(vreinterpretq_u64_m128d(a), 0));
return (int32_t) _a.f64;
return (int32_t) _a;
}

// Convert the lower double-precision (64-bit) floating-point element in a to a
Expand Down

0 comments on commit 66ef13c

Please sign in to comment.