mirror of
https://github.com/opencv/opencv.git
synced 2025-06-13 04:52:53 +08:00
core:avx2 fix unaligned store for v_store_interleave v_uint32x8-3ch
This commit is contained in:
parent
9076bb6089
commit
47202b3349
@ -2156,9 +2156,9 @@ inline void v_store_interleave( unsigned* ptr, const v_uint32x8& b, const v_uint
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
_mm256_stream_si256((__m256i*)ptr, bgr0);
|
_mm256_storeu_si256((__m256i*)ptr, bgr0);
|
||||||
_mm256_stream_si256((__m256i*)(ptr + 8), p2);
|
_mm256_storeu_si256((__m256i*)(ptr + 8), p2);
|
||||||
_mm256_stream_si256((__m256i*)(ptr + 16), bgr2);
|
_mm256_storeu_si256((__m256i*)(ptr + 16), bgr2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user