[Webkit-unassigned] [Bug 162349] Add acquire/release flags to B3::MemoryValue

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Oct 30 10:13:07 PDT 2016


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

--- Comment #3 from Filip Pizlo <fpizlo at apple.com> ---
I think it's important to review the optimizations we want to be able to do.

On x86, we want to be able to optimize store-load fences by transforming this:

store
fenceRW
load

Into this:

atomic store
load

We also want to turn Depend into a load-load fence, which reduces to no-op later.

On ARM we want to be able to optimize fences also.  For example, we want to optimize load-load fences into load acquires:

load
fenceW
load

into:

load
load acquire

We want to be able to optimize store-load fences like this:

store
fenceRW
load

into:

store release
load acquire

Conversely, we want to be able to lower acq/rel flags.  I believe that we want both store and load to accept such flags.  That means that if we have a store acquire or load release, we want to be able to insert fences.

-- 
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/20161030/2de43e29/attachment.html>


More information about the webkit-unassigned mailing list