Overview

Request 494707 accepted

- Add back sse2_nojit.patch to support 32bit CPUs without SSE2 instructions (boo#1027691)


Fabian Vogt's avatar

Did you verify that the SSE2+ version gets used on SSE2+ platforms? Does the patch work with/apply to Qt 5.9 as well?


Wolfgang Bauer's avatar
author source maintainer target maintainer

Did you verify that the SSE2+ version gets used on SSE2+ platforms?

No. But it should work: I just took that from the 5.5.1 package, and the same (i.e. installing the SSE2 versions to /usr/lib/sse2/) is done in libqt5-qtbase too.

I suppose installing a 32bit application on my 64bit system and running ldd would be enough for testing?

Does the patch work with/apply to Qt 5.9 as well?

Yes, with a trivial adjustment of the context lines: https://build.opensuse.org/project/show/home:wolfi323:branches:KDE:Qt59


Wolfgang Bauer's avatar
author source maintainer target maintainer

After installing libQtQuick-32bit and the 32bit sddm package from Factory on my 42.2 system: $ ldd /usr/bin/sddm | grep Qml libQt5Qml.so.5 => /usr/lib/sse2/libQt5Qml.so.5 (0xf7296000)

I believe that should show that the SSE2 version is in fact used...


Wolfgang Bauer's avatar
author source maintainer target maintainer

Should I submit it to KDE:Qt59 (and maybe the others) too?


Fabian Vogt's avatar

Sure, Qt59 is the only repo that matters currently. 42.x is 64bit only, luckily


Wolfgang Bauer's avatar
author source maintainer target maintainer

Ok, will do that later, maybe tomorrow...

Btw, just to be sure: wolfi@amiga:~/Desktop> objdump -d /usr/lib/sse2/libQt5Qml.so.5 | grep addsd | head 859e0: f2 0f 58 c1 addsd %xmm1,%xmm0 a1228: f2 0f 58 46 04 addsd 0x4(%esi),%xmm0 a1622: f2 0f 58 86 a0 7d eb addsd -0x148260(%esi),%xmm0 a1709: f2 0f 58 46 04 addsd 0x4(%esi),%xmm0 aa70b: f2 0f 58 44 24 18 addsd 0x18(%esp),%xmm0 b7f2e: f2 0f 58 83 a0 7d eb addsd -0x148260(%ebx),%xmm0 b9952: f2 0f 58 80 a0 7d eb addsd -0x148260(%eax),%xmm0 ba0dd: f2 0f 58 83 a0 7d eb addsd -0x148260(%ebx),%xmm0 bb57b: f2 0f 58 8f a0 7d eb addsd -0x148260(%edi),%xmm1 bb613: f2 0f 58 8f a0 7d eb addsd -0x148260(%edi),%xmm1 wolfi@amiga:~/Desktop> objdump -d /usr/lib/libQt5Qml.so.5 | grep addsd | head wolfi@amiga:~/Desktop>


Wolfgang Bauer's avatar
author source maintainer target maintainer

Hm, it seems that patch is actually an improvement for 32bit SSE2 systems too.

I can't find any SSE2 instructions with "objdump -d" in the current Tumbleweed 32bit libQt5Qml.so.5... (-D does find some, but a lot less)

Request History
Wolfgang Bauer's avatar

wolfi323 created request

- Add back sse2_nojit.patch to support 32bit CPUs without SSE2 instructions (boo#1027691)


Fabian Vogt's avatar

Vogtinator accepted request

Thanks! Let's make the two remaining users without SSE2 happy...

openSUSE Build Service is sponsored by