Re: [Qemu-devel] [RFC v2 PATCH] tcg: Optimize fence instructions

2016-08-10 Thread Pranith Kumar
Hi Richard, On Wed, Aug 10, 2016 at 6:44 AM, Richard Henderson wrote: > On 08/10/2016 04:42 AM, Pranith Kumar wrote: >> >> +/* Eliminate duplicate and unnecessary fence instructions */ >> +void tcg_optimize_mb(TCGContext *s) >> +{ >> +int oi, oi_next; >> +TCGArg prev_op_mb = -1; >> +T

Re: [Qemu-devel] [RFC v2 PATCH] tcg: Optimize fence instructions

2016-08-09 Thread no-reply
Hi, Your series failed automatic build test. Please find the testing commands and their output below. If you have docker installed, you can probably reproduce it locally. Message-id: 20160809231246.4537-1-bobby.pr...@gmail.com Type: series Subject: [Qemu-devel] [RFC v2 PATCH] tcg: Optimize fence

[Qemu-devel] [RFC v2 PATCH] tcg: Optimize fence instructions

2016-08-09 Thread Pranith Kumar
This commit optimizes fence instructions. Two optimizations are currently implemented. These are: 1. Unnecessary duplicate fence instructions If the same fence instruction is detected consecutively, we remove one instance of it. ex: mb; mb => mb, strl; strl => strl 2. Merging weaker fe