Commit 0ccab07
committed
fixup! Introduce WASM_CPU_SUPPORTS_UNALIGNED_SIMD_ACCESS for V128 load/store
Make simd_store alignment consistent with simd_load.
The simd_load function was updated to use conditional alignment based on
target_supports_unaligned_simd, but simd_store was missed. Apply the
same logic: targets with native unaligned SIMD support (x86_64, aarch64,
hexagon) use align 1, others use the WASM alignment hint.1 parent fe7bf09 commit 0ccab07
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
310 | 310 | | |
311 | 311 | | |
312 | 312 | | |
313 | | - | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
314 | 319 | | |
315 | 320 | | |
316 | 321 | | |
| |||
0 commit comments