From patchwork Wed Oct 12 22:35:05 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Walle X-Patchwork-Id: 9373883 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 9F05C60772 for ; Wed, 12 Oct 2016 22:36:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9AACE29661 for ; Wed, 12 Oct 2016 22:36:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8F49529791; Wed, 12 Oct 2016 22:36:13 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 1BC5529661 for ; Wed, 12 Oct 2016 22:36:12 +0000 (UTC) Received: from localhost ([::1]:36216 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1buS8B-0002cj-G2 for patchwork-qemu-devel@patchwork.kernel.org; Wed, 12 Oct 2016 18:36:11 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56840) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1buS7e-0002c8-47 for qemu-devel@nongnu.org; Wed, 12 Oct 2016 18:35:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1buS7Z-0002Zk-NN for qemu-devel@nongnu.org; Wed, 12 Oct 2016 18:35:36 -0400 Received: from ssl.serverraum.org ([213.133.101.245]:49245) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1buS7Z-0002ZW-DJ; Wed, 12 Oct 2016 18:35:33 -0400 Received: from apollo.fritz.box (ip5f585ef2.dynamic.kabel-deutschland.de [95.88.94.242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id B297122278; Thu, 13 Oct 2016 00:35:29 +0200 (CEST) Authentication-Results: ssl.serverraum.org; dmarc=none header.from=walle.cc DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1476311730; bh=1sRkqAL6FqZoYf6UmGbuCpY2F4DJuv/XiJIkHPou1T0=; h=From:To:Cc:Subject:Date:From; b=OwtLsbiOcHKfS6pSGSpcybPXPQ4czycniRVlCb9s7hNZdvJQNLoxBf/MNYKnQv6Us bJ5SbT5otVT0RCG4jkTZuf3IQS9Q3ERS3TIGzVzSD2WHxJmC65PRn2Uat+dLnXHKGQ HhriMu1dMPc93ppyBRcqXBbfGIbcgsKH+WK9LrYY= From: Michael Walle To: qemu-devel@nongnu.org Date: Thu, 13 Oct 2016 00:35:05 +0200 Message-Id: <1476311708-14792-1-git-send-email-michael@walle.cc> X-Mailer: git-send-email 2.1.4 X-Virus-Scanned: clamav-milter 0.99.2 at web X-Virus-Status: Clean X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 213.133.101.245 Subject: [Qemu-devel] [PATCH 1/4] target-lm32: swap operand of wcsr in LOG_DIS() X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qemu-trivial@nongnu.org, Peter Maydell , Michael Walle Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP Be consistent with the reference manual. Signed-off-by: Michael Walle Reviewed-by: Peter Maydell --- target-lm32/translate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target-lm32/translate.c b/target-lm32/translate.c index dc64cc6..fa8416a 100644 --- a/target-lm32/translate.c +++ b/target-lm32/translate.c @@ -865,7 +865,7 @@ static void dec_wcsr(DisasContext *dc) { int no; - LOG_DIS("wcsr r%d, %d\n", dc->r1, dc->csr); + LOG_DIS("wcsr %d, r%d\n", dc->csr, dc->r1); switch (dc->csr) { case CSR_IE: