From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46320) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yv9Tz-0003DY-4x for qemu-devel@nongnu.org; Wed, 20 May 2015 15:16:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yv9Tv-0002lz-Kb for qemu-devel@nongnu.org; Wed, 20 May 2015 15:16:47 -0400 Received: from mail-qk0-x22c.google.com ([2607:f8b0:400d:c09::22c]:33410) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yv9Tv-0002lv-CG for qemu-devel@nongnu.org; Wed, 20 May 2015 15:16:43 -0400 Received: by qkgv12 with SMTP id v12so38643415qkg.0 for ; Wed, 20 May 2015 12:16:43 -0700 (PDT) Sender: Richard Henderson Message-ID: <555CDD96.40701@twiddle.net> Date: Wed, 20 May 2015 12:16:38 -0700 From: Richard Henderson MIME-Version: 1.0 References: <20150518030536.GA14435@brightrain.aerifal.cx> In-Reply-To: <20150518030536.GA14435@brightrain.aerifal.cx> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] Broken SuperH atomics in qemu app-level emulation List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Rich Felker , musl@lists.openwall.com, qemu-devel@nongnu.org, Aurelien Jarno On 05/17/2015 08:05 PM, Rich Felker wrote: > At the very least qemu-sh4 should provide a correct value of AT_HWCAP > so we get working atomics with -cpu SH7785. And since the GUSA atomic > model can't work with app-level emulation, I really think qemu-sh4 > should either default to -cpu SH7785 or always expose the > synco/mov.li/mov.co opcodes (and hwcap) regardless of the -cpu > setting. I agree with AT_HWCAP and defaulting to SH7785. Aurelien? r~