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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jul 22 17:13:42 PDT 2018


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

--- Comment #7 from karogyoker2+webkit at gmail.com ---
In wtf\Atomics.h I found this:
inline void x86_lfence()
{
#if !OS(WINDOWS)
    asm volatile("lfence" ::: "memory");
#endif
}

Well, this won't work on every x86, it should be !OS(WINDOWS) && CPU(X86_64) because every 64bit CPU has SSE2. Pentium 4 users would lose Spectre V2 mitigation here.

-- 
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/0745dc5b/attachment.html>


More information about the webkit-unassigned mailing list