Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit bf0d024

Browse files
committedJun 21, 2024·
fix test_mm512_stream_ps test
1 parent 26bddf5 commit bf0d024

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)
Please sign in to comment.