On Sun, May 29, 2016 at 11:10 PM, Uros Bizjak <ubiz...@gmail.com> wrote:
> Attached RFC patch implements this proposal. > > 2016-05-29 Uros Bizjak <ubiz...@gmail.com> > > * config/i386/sync.md (mfence_nosse): Use "lock orl $0, -4(%esp)". > > Patch was bootstrapped and regression tested on x86_64-linux-gnu {,-m32}. > > Any other opinion on this issue? The linux kernel also implements > memory fence like the above proposal. I have committed the patch to mainline SVN. Uros.