Received: from eggs.gnu.org ([2001:4830:134:3::10]:45841) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eb8j3-0001Sx-RM for qemu-devel@nongnu.org; Mon, 15 Jan 2018 12:39:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eb8iz-0005rr-Jp for qemu-devel@nongnu.org; Mon, 15 Jan 2018 12:39:13 -0500 Received: from mail-pf0-x22d.google.com ([2607:f8b0:400e:c00::22d]:43503) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eb8iz-0005rB-Dj for qemu-devel@nongnu.org; Mon, 15 Jan 2018 12:39:09 -0500 Received: by mail-pf0-x22d.google.com with SMTP id y26so828702pfi.10 for ; Mon, 15 Jan 2018 09:39:09 -0800 (PST) From: Richard Henderson References: <1515562748-32287-1-git-send-email-rth@twiddle.net> <2706dc83-cf36-31e9-71d7-ec7ca0cecff0@linaro.org> Message-ID: <91de5a58-7f75-213d-b5cd-09259e517f0a@linaro.org> Date: Mon, 15 Jan 2018 09:39:04 -0800 MIME-Version: 1.0 In-Reply-To: <2706dc83-cf36-31e9-71d7-ec7ca0cecff0@linaro.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] tcg/arm: Fix double-word comparisons List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell , Richard Henderson Cc: Michael Roth , Paolo Bonzini , QEMU Developers , David Gibson On 01/15/2018 09:31 AM, Richard Henderson wrote: > But we can't *not* swap the arguments to the generated comparison. Otherwise > we're computing the wrong thing. Bah. I have of course forgotten about the RSC instruction, which takes an immediate. Will fix. r~