Skip to content

Commit

Permalink
Use memcpy so there's no alignment expectation
Browse files Browse the repository at this point in the history
  • Loading branch information
tannergooding committed Jul 2, 2024
1 parent 8778938 commit 93e5874
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mono/mono/mini/interp/interp-simd.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ interp_v128_i4_all_bits_set (gpointer res)
static void
interp_v128_bitcast (gpointer res, gpointer v1)
{
*(v128_i1*)res = *(v128_i1*)v1;
memcpy (res, v1, SIZEOF_V128);
}

// op_Addition
Expand Down

0 comments on commit 93e5874

Please sign in to comment.