]> Git Repo - qemu.git/commit
tcg: Optimize fence instructions
authorPranith Kumar <[email protected]>
Tue, 23 Aug 2016 13:48:25 +0000 (09:48 -0400)
committerRichard Henderson <[email protected]>
Fri, 16 Sep 2016 15:12:12 +0000 (08:12 -0700)
commit34f939218ce78163171addd63750e1e0300376ab
treeb753d7c12df7c6c955bc93e3947c97cd7428125b
parentcc19e497a047193db5083425957d7292c8dd3226
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 <[email protected]>
Message-Id: <20160823134825[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
tcg/optimize.c
This page took 0.020947 seconds and 4 git commands to generate.