diff options
author | Pranith Kumar | 2016-08-23 15:48:25 +0200 |
---|---|---|
committer | Richard Henderson | 2016-09-16 17:12:12 +0200 |
commit | 34f939218ce78163171addd63750e1e0300376ab (patch) | |
tree | b753d7c12df7c6c955bc93e3947c97cd7428125b /include/hw/virtio | |
parent | target-i386: Generate fences for x86 (diff) | |
download | qemu-34f939218ce78163171addd63750e1e0300376ab.tar.gz qemu-34f939218ce78163171addd63750e1e0300376ab.tar.xz qemu-34f939218ce78163171addd63750e1e0300376ab.zip |
tcg: Optimize fence instructions
This commit optimizes fence instructions. Two optimizations are
currently implemented: (1) unnecessary duplicate fence instructions,
and (2) merging weaker fences into a stronger fence.
[rth: Merge tcg_optimize_mb back into tcg_optimize, so that we only
loop over the opcode stream once. Merge "unrelated" weaker barriers
into one stronger barrier.]
Signed-off-by: Pranith Kumar <bobby.prani@gmail.com>
Message-Id: <20160823134825.32578-1-bobby.prani@gmail.com>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'include/hw/virtio')
0 files changed, 0 insertions, 0 deletions