18:22
<sfink>

In https://bugzilla.mozilla.org/show_bug.cgi?id=1752287 (probably just read comment 26 on), I was arguing with someone that hoisting a typed array read out of a loop containing Atomics.pause() is valid:

    while (view[i] === 0) { Atomics.pause(); }

->

    x = view[i]; while (x === 0) { Atomics.pause(); }
18:22
<sfink>
But I realized that I actually don't know why Atomics.pause() couldn't have been specced to be a Synchronize event.
18:23
<sfink>
Would it be horribly slow to have a global memory fence there? Would it defeat the purpose of fast spinlocks?
18:23
<sfink>
shu: ^ you probably have an obvious answer