[Webkit-unassigned] [Bug 187889] Hard dependency on SSE2 instruction set

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 23 14:52:22 PDT 2018


https://bugs.webkit.org/show_bug.cgi?id=187889

--- Comment #12 from karogyoker2+webkit at gmail.com ---
Created attachment 345610

  --> https://bugs.webkit.org/attachment.cgi?id=345610&action=review

WebKit running on Athlon XP

I fixed the LFENCE issue, now I can open webpages, so far so good, works well on my Athlon XP!

This is what I've changed in wtf\Atomics.h:
From:
inline void x86_lfence()
{
#if !OS(WINDOWS)
    asm volatile("lfence" ::: "memory");
#endif
}
To:
inline void x86_lfence()
{
#if !OS(WINDOWS) && defined(__SSE2__)
    asm volatile("lfence" ::: "memory");
#endif
}

So, I've just added " && defined(__SSE2__)". Easy fix.

-- 
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/20180723/2b5ca550/attachment-0001.html>


More information about the webkit-unassigned mailing list