[Webkit-unassigned] [Bug 164588] [JavaScriptCore] Build broken for 32-bit x86 after r208306 with GCC 4.9

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 10 10:42:16 PST 2016


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

--- Comment #4 from Carlos Alberto Lopez Perez <clopez at igalia.com> ---
Ok.. i think now I understand better this.

The purpose of executing the x86 assembly instruction cpuid on crossModifyingCodeFence() is just to force any modifications to registers, memory and flags to be completed and to drain all buffered writes to memory before the next instruction is fetched and executed.

The value returned by cpuid is not used at all here. The idea is just to force this sync() on the cpu registers and memory.. right?

Reference: https://jpassing.com/2015/01/19/runtime-code-modification-explained-part-2-cache-coherency-issues/

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20161110/20e3e99e/attachment-0001.html>


More information about the webkit-unassigned mailing list