Skip to content

Commit

Permalink
Correct casts for ARM in machine_vectors.h
Browse files Browse the repository at this point in the history
  • Loading branch information
albinahlback committed Mar 5, 2025
1 parent 20dee52 commit 4da170d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/machine_vectors.h
Original file line number Diff line number Diff line change
Expand Up @@ -1469,7 +1469,7 @@ FLINT_FORCE_INLINE vec2d vec2n_convert_limited_vec2d(vec2n a) {
}

FLINT_FORCE_INLINE void vec2n_store_unaligned(ulong* z, vec2n a) {
vst1q_u64((unsigned long long *) z, a);
vst1q_u64((uint64_t *) z, a);
}

FLINT_FORCE_INLINE vec2n vec2d_convert_limited_vec2n(vec2d a) {
Expand All @@ -1482,7 +1482,7 @@ FLINT_FORCE_INLINE vec2n vec2n_set_n(ulong a) {
}

FLINT_FORCE_INLINE vec2n vec2n_load_unaligned(const ulong* a) {
return vld1q_u64((const unsigned long long *) a);
return vld1q_u64((const uint64_t *) a);
}

// Right shift 32bits
Expand Down

0 comments on commit 4da170d

Please sign in to comment.