From patchwork Mon Mar 7 22:00:13 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Walle X-Patchwork-Id: 85821 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 024A6B6ED0 for ; Tue, 8 Mar 2011 09:01:06 +1100 (EST) Received: from localhost ([127.0.0.1]:34750 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PwiUB-0003kn-Ca for incoming@patchwork.ozlabs.org; Mon, 07 Mar 2011 17:01:03 -0500 Received: from [140.186.70.92] (port=55499 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PwiTW-0003ke-F8 for qemu-devel@nongnu.org; Mon, 07 Mar 2011 17:00:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PwiTV-0006S5-7p for qemu-devel@nongnu.org; Mon, 07 Mar 2011 17:00:22 -0500 Received: from mail.serverraum.org ([78.47.150.89]:60339) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PwiTU-0006Rb-W7 for qemu-devel@nongnu.org; Mon, 07 Mar 2011 17:00:21 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.serverraum.org (Postfix) with ESMTP id 3EF143EEFF; Mon, 7 Mar 2011 23:00:18 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.serverraum.org Received: from mail.serverraum.org ([127.0.0.1]) by localhost (web.serverraum.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id khUzVCANXV24; Mon, 7 Mar 2011 23:00:18 +0100 (CET) Received: from thanatos.fritz.box (91-67-5-72-dynip.superkabel.de [91.67.5.72]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.serverraum.org (Postfix) with ESMTPSA id E90403EEFA; Mon, 7 Mar 2011 23:00:17 +0100 (CET) From: Michael Walle To: qemu-devel@nongnu.org Date: Mon, 7 Mar 2011 23:00:13 +0100 Message-Id: <1299535213-13866-1-git-send-email-michael@walle.cc> X-Mailer: git-send-email 1.7.2.3 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 78.47.150.89 Cc: "Edgar E. Iglesias" , Michael Walle Subject: [Qemu-devel] [PATCH] lm32: rename raise opcode to scall X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org To be consistent with the new reference manual. Signed-off-by: Michael Walle --- target-lm32/lm32-decode.h | 2 +- target-lm32/translate.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/target-lm32/lm32-decode.h b/target-lm32/lm32-decode.h index f745b39..42205d9 100644 --- a/target-lm32/lm32-decode.h +++ b/target-lm32/lm32-decode.h @@ -60,7 +60,7 @@ #define DEC_NOR {B8(00000001), B8(00011111)} #define DEC_OR {B8(00001110), B8(00011111)} #define DEC_ORHI {B8(00011110), B8(00111111)} -#define DEC_RAISE {B8(00101011), B8(00111111)} +#define DEC_SCALL {B8(00101011), B8(00111111)} #define DEC_RCSR {B8(00100100), B8(00111111)} #define DEC_SB {B8(00001100), B8(00111111)} #define DEC_SEXTB {B8(00101100), B8(00111111)} diff --git a/target-lm32/translate.c b/target-lm32/translate.c index 0b0e405..aa08a14 100644 --- a/target-lm32/translate.c +++ b/target-lm32/translate.c @@ -583,7 +583,7 @@ static void dec_orhi(DisasContext *dc) tcg_gen_ori_tl(cpu_R[dc->r1], cpu_R[dc->r0], (dc->imm16 << 16)); } -static void dec_raise(DisasContext *dc) +static void dec_scall(DisasContext *dc) { TCGv t0; int l1; @@ -1002,7 +1002,7 @@ static const DecoderInfo decinfo[] = { {DEC_NOR, dec_nor}, {DEC_OR, dec_or}, {DEC_ORHI, dec_orhi}, - {DEC_RAISE, dec_raise}, + {DEC_SCALL, dec_scall}, {DEC_RCSR, dec_rcsr}, {DEC_SB, dec_sb}, {DEC_SEXTB, dec_sextb},