Skip to content

Commit cdd1d53

Browse files
committed
fix test_mm512_stream_ps test
1 parent e5bfd0d commit cdd1d53

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
@@ -54387,9 +54387,9 @@ mod tests {
5438754387

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

0 commit comments

Comments
 (0)