From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40268) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZP6V2-0005T7-5d for qemu-devel@nongnu.org; Tue, 11 Aug 2015 06:09:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZP6Ux-0008WF-FP for qemu-devel@nongnu.org; Tue, 11 Aug 2015 06:09:40 -0400 Received: from gate.crashing.org ([63.228.1.57]:37627) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZP6Ux-0008Vz-5H for qemu-devel@nongnu.org; Tue, 11 Aug 2015 06:09:35 -0400 Message-ID: <1439287756.14448.116.camel@kernel.crashing.org> From: Benjamin Herrenschmidt Date: Tue, 11 Aug 2015 20:09:16 +1000 In-Reply-To: References: <1439220437-23957-1-git-send-email-fred.konrad@greensocs.com> <1439273709.14448.102.camel@kernel.crashing.org> <87614mgt08.fsf@linaro.org> <1439284965.14448.114.camel@kernel.crashing.org> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC PATCH V7 00/19] Multithread TCG. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: mttcg@greensocs.com, Mark Burton , Alvise Rigo , QEMU Developers , Guillaume Delbergue , Paolo Bonzini , Alex =?ISO-8859-1?Q?Benn=E9e?= , KONRAD =?ISO-8859-1?Q?Fr=E9d=E9ric?= On Tue, 2015-08-11 at 10:29 +0100, Peter Maydell wrote: > Is it possible in some of these combinations to use the load-acquire > and store-release instructions rather than explicit barriers? > (ARMv8 has those, which I think should be slightly less heavyweight > than explicit barriers everywhere, if the semantics line up.) Possibly though I suppose starting with a simple barrier and then adding more fine-grained ones to TCG might be a workable path. IE, it shouldn't be too hard. The problem of course is that not 2 architecture have exactly the same semantics :-) Cheers, Ben.