Fix alignment in qConvertARGB64PMToA2RGB30PM_sse2
_mm_load_si128 requires 16 byte alignment. This crashes on 32 bit Windows builds. Change-Id: Ib6c30eba726747bbab56467eada820521981a80c Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
This commit is contained in:
parent
ccca3ffdc2
commit
129d268246
@ -1257,9 +1257,8 @@ static inline void qConvertARGB64PMToA2RGB30PM_sse2(uint *dest, const QRgba64 *b
|
||||
const __m128i cmask = _mm_set1_epi32(0x000003ff);
|
||||
int i = 0;
|
||||
__m128i vr, vg, vb, va;
|
||||
if (i < count && (const uintptr_t)buffer & 0x8) {
|
||||
for (; i < count && (const uintptr_t)buffer & 0xF; ++i) {
|
||||
*dest++ = qConvertRgb64ToRgb30<PixelOrder>(*buffer++);
|
||||
++i;
|
||||
}
|
||||
|
||||
for (; i < count-15; i += 16) {
|
||||
|
Loading…
Reference in New Issue
Block a user