tcg/i386: Add support for fence
commita7d00d4effb58889ac6df64f98ac50c9d1594149
authorPranith Kumar <bobby.prani@gmail.com>
Thu, 14 Jul 2016 20:20:14 +0000 (14 16:20 -0400)
committerRichard Henderson <rth@twiddle.net>
Fri, 16 Sep 2016 15:12:11 +0000 (16 08:12 -0700)
tree593370bd63533d44d376b23ed3ae2cffd66e0322
parentf65e19bc2c9e8358e634d309606144ac2a3c2936
tcg/i386: Add support for fence

Generate a 'lock orl $0,0(%esp)' instruction for ordering instead of
mfence which has similar ordering semantics.

Signed-off-by: Pranith Kumar <bobby.prani@gmail.com>
Message-Id: <20160714202026.9727-3-bobby.prani@gmail.com>
Signed-off-by: Richard Henderson <rth@twiddle.net>
tcg/i386/tcg-target.inc.c