Received: from eggs.gnu.org ([2001:4830:134:3::10]:42387) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bV3Do-0002d5-Ln for qemu-devel@nongnu.org; Wed, 03 Aug 2016 16:57:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bV3Di-0003vI-Ri for qemu-devel@nongnu.org; Wed, 03 Aug 2016 16:56:59 -0400 Received: from mx4-phx2.redhat.com ([209.132.183.25]:49766) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bV3Di-0003v8-Ju for qemu-devel@nongnu.org; Wed, 03 Aug 2016 16:56:54 -0400 Date: Wed, 3 Aug 2016 16:56:41 -0400 (EDT) From: Paolo Bonzini Message-ID: <411674085.13399276.1470257801761.JavaMail.zimbra@redhat.com> In-Reply-To: <1ea7e6b4-cee2-e538-3635-c9da6843676c@twiddle.net> References: <87wpk8k3dn.fsf@linaro.org> <87eg677k2x.fsf@linaro.org> <1ea7e6b4-cee2-e538-3635-c9da6843676c@twiddle.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] Making cputlb.c operations safe for MTTCG List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Richard Henderson Cc: Alex =?utf-8?Q?Benn=C3=A9e?= , MTTCG Devel , QEMU Developers , Sergey Fedorov , "Emilio G. Cota" , Frederic Konrad , a rigo > On 08/02/2016 12:07 PM, Alex Benn=C3=A9e wrote: > > This will work but I wonder if it is time to call it a day for 32 on 64 > > support? I mean all this can be worked around but I wonder if it is > > worth the effort if no one actually uses this combination. >=20 > I've been meaning to bring up exactly this question during the 2.8 cycle. >=20 > Given the changes we want to make with target atomic operations, I think = it's > a complete waste of time to continue to support 64-on-32. The only interesting 32-bit host IMO is arm, and it does support double-wor= d atomics on ARMv7+ (only through ldrdex/strdex if < Cortex-A15). MIPS doesn= 't, and PPC (POWER8) has 128-bit atomics in 64-bit mode, but lacks 64-bit atomi= cs in 32-bit mode. FWIW, OpenRISC also lacks double-word (64-bit in 32-bit processors, 128-bit in 64-bit processors) atomics. Sad. So if we want to keep 64-on-32 emulation, it might still make sense to rest= rict it to ARMv7+ and x86 hosts. But otherwise it might be indeed time to say g= oodbye... Paolo