[Webkit-unassigned] [Bug 187889] New: Hard dependency on SSE2 instruction set
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Jul 22 04:39:36 PDT 2018
https://bugs.webkit.org/show_bug.cgi?id=187889
Bug ID: 187889
Summary: Hard dependency on SSE2 instruction set
Product: WebKit
Version: WebKit Local Build
Hardware: PC
OS: Linux
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: karogyoker2+webkit at gmail.com
Hello,
On my Athlon XP both surf or Epiphany-Browser (Web) is unusable, they cannot display any websites, they just remain white and the loading takes forever, but nothing happens, no CPU activity.
If I try them in a 32 bit VM on my 64 bit host, both works fine.
I did a quick search for hardcoded assembly instructions in WebKit's source, and I found this:
movsd %xmm0, (%esp)
It is in ThunkGenerators.cpp, below this part:
#elif CPU(X86) && COMPILER(GCC_OR_CLANG) && (OS(DARWIN) || OS(LINUX))
#define defineUnaryDoubleOpWrapper(function) \
MOVSD was introduced in SSE2:
http://softpixel.com/~cwright/programming/simd/sse2.php
https://en.wikibooks.org/wiki/X86_Assembly/SSE
Athlon XP or Pentium 3 don't have SSE2 (Pentium 4 was the first to have it), I think this is the issue.
I couldn't obtain any crash logs or something (sometimes there is no crash, just nothing happens), but I'm willing to try it somehow if needed.
I would also test the fix on my Athlon XP if somebody fixes this and created a package on a PPA (debian). I cannot fix it myself because the reasons below:
Currently, I'm not even able to run my own built WebKit on my Athlon XP. On Athlon XP I cannot build it because the linking process requires more than 4 GB memory. I was able to cross-complie it on a 64 bit VM inside a 32 bit LXC container with pentium3 arch, I got the resulted files in the lib folder, but I don't know yet how to use them with surf browser for example to try them on my Athlon XP.
When I was building WebKit on a 64 bit VM, after sudo ninja install, I could compile surf with sudo make clean install, and it was working, but I don't know how to reuse the already compiled files without sudo ninja install (which can be ran only after a build, which I cannot do because the memory limitation).
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180722/652628f9/attachment.html>
More information about the webkit-unassigned
mailing list