Skip to content

Commit 25e15c3

Browse files
RalfJungAmanieu
authored andcommitted
fix test_mm512_stream_ps test
1 parent b6bedbc commit 25e15c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/core_arch/src/x86/avx512f.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -54385,9 +54385,9 @@ mod tests {
5438554385

5438654386
#[simd_test(enable = "avx512f")]
5438754387
unsafe fn test_mm512_stream_ps() {
54388-
#[repr(align(32))]
54388+
#[repr(align(64))]
5438954389
struct Memory {
54390-
pub data: [f32; 16],
54390+
pub data: [f32; 16], // 64 bytes
5439154391
}
5439254392
let a = _mm512_set1_ps(7.0);
5439354393
let mut mem = Memory { data: [-1.0; 16] };

0 commit comments

Comments
 (0)