Fix SSE4 instruction leak in GCC10 debug builds
toArgb32 was leaking an SSE4 instruction when not inlined. Pick-to: 5.15 Change-Id: I5df87bc7343f4ec40881a0aedd6f066323143817 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>bb10
parent
07bef8b383
commit
81329bc8dc
|
|
@ -195,7 +195,7 @@ Q_ALWAYS_INLINE uint toArgb32(uint16x4_t v)
|
|||
}
|
||||
#endif
|
||||
|
||||
inline uint toArgb32(QRgba64 rgba64)
|
||||
Q_ALWAYS_INLINE uint toArgb32(QRgba64 rgba64)
|
||||
{
|
||||
#if defined __SSE2__
|
||||
__m128i v = _mm_loadl_epi64((const __m128i *)&rgba64);
|
||||
|
|
@ -215,7 +215,7 @@ inline uint toArgb32(QRgba64 rgba64)
|
|||
#endif
|
||||
}
|
||||
|
||||
inline uint toRgba8888(QRgba64 rgba64)
|
||||
Q_ALWAYS_INLINE uint toRgba8888(QRgba64 rgba64)
|
||||
{
|
||||
#if defined __SSE2__
|
||||
__m128i v = _mm_loadl_epi64((const __m128i *)&rgba64);
|
||||
|
|
|
|||
Loading…
Reference in New Issue