From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34042) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZSCN-0002Ex-1e for qemu-devel@nongnu.org; Thu, 24 Oct 2013 17:12:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VZSCE-0006Id-GE for qemu-devel@nongnu.org; Thu, 24 Oct 2013 17:12:07 -0400 Received: from mail-lb0-x232.google.com ([2a00:1450:4010:c04::232]:36199) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VZSCE-0006IG-8M for qemu-devel@nongnu.org; Thu, 24 Oct 2013 17:11:58 -0400 Received: by mail-lb0-f178.google.com with SMTP id o14so67039lbi.23 for ; Thu, 24 Oct 2013 14:11:57 -0700 (PDT) Received: from localhost (h59ec325f.selukar.dyn.perspektivbredband.net. [89.236.50.95]) by mx.google.com with ESMTPSA id k6sm3236322lae.9.2013.10.24.14.11.55 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 24 Oct 2013 14:11:56 -0700 (PDT) From: edgar.iglesias@gmail.com Date: Thu, 24 Oct 2013 23:08:48 +0200 Message-Id: <1382648937-14769-2-git-send-email-edgar.iglesias@gmail.com> In-Reply-To: <1382648937-14769-1-git-send-email-edgar.iglesias@gmail.com> References: <1382648937-14769-1-git-send-email-edgar.iglesias@gmail.com> Subject: [Qemu-devel] [PATCH 01/10] microblaze: Clarify expected input of write_carry List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- target-microblaze/translate.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/target-microblaze/translate.c b/target-microblaze/translate.c index 1b937b3..76b2570 100644 --- a/target-microblaze/translate.c +++ b/target-microblaze/translate.c @@ -150,6 +150,10 @@ static void read_carry(DisasContext *dc, TCGv d) tcg_gen_shri_tl(d, cpu_SR[SR_MSR], 31); } +/* + * write_carry sets the carry bits in MSR based on bit 0 of v. + * v[31:1] are ignored. + */ static void write_carry(DisasContext *dc, TCGv v) { TCGv t0 = tcg_temp_new(); -- 1.7.10.4