Received: from eggs.gnu.org ([2001:4830:134:3::10]:45651) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1buMbi-00017i-E3 for qemu-devel@nongnu.org; Wed, 12 Oct 2016 12:42:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1buMbc-00065E-Gm for qemu-devel@nongnu.org; Wed, 12 Oct 2016 12:42:17 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 12 Oct 2016 18:42:09 +0200 From: Michael Walle In-Reply-To: References: <1476289396-10780-1-git-send-email-michael@walle.cc> Message-ID: Subject: Re: [Qemu-devel] [PATCH] target-lm32: fix style issue List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: QEMU Developers , QEMU Trivial , Thomas Huth Am 2016-10-12 18:35, schrieb Peter Maydell: > but I noticed while doing the review that our LOG_DIS > is wrong for the compare-immediates: > > LOG_DIS("cmpei r%d, r%d, %d\n", dc->r0, dc->r1, > sign_extend(dc->imm16, 16)); > > but the processor reference manual says cmpei's mnemonic > should have dc->r1 first and dc->r0 second. > > (Similarly for the logging for the other immediate compares.) Argh, you're eyes are too good ;) I'll have a look. -michael