|
From: | Richard Henderson |
Subject: | Re: [Qemu-devel] [RFC PATCH 2/3] tcg: Add support for fence generation in x86 backend |
Date: | Wed, 25 May 2016 12:50:44 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 |
On 05/25/2016 12:25 PM, Alex Bennée wrote:
That would solves the problem of converting the various backends piecemeal - although obviously we should move to all backends having "native" support ASAP. However by introducing expensive substitute functions we will slow down the translations as each front end is expanded to translate the target barrier ops.
Obviously. We could in fact do that all up front if desired. It doesn't take long to look up the barrier instructions for each isa.
Should we make the emitting of the function call/TCGop conditional on MTTCG being enabled? If we are running in round-robin mode there is no need to issue any fence operations.
Probably. But to keep the translators clean we should probably hide that within tcg_gen_fence().
r~
[Prev in Thread] | Current Thread | [Next in Thread] |