From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49998) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vqty9-0004SO-Fi for qemu-devel@nongnu.org; Wed, 11 Dec 2013 19:17:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vqty4-0003Nn-Lx for qemu-devel@nongnu.org; Wed, 11 Dec 2013 19:17:33 -0500 Received: from hall.aurel32.net ([2001:bc8:30d7:101::1]:50063) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vqty4-0003Nj-Fi for qemu-devel@nongnu.org; Wed, 11 Dec 2013 19:17:28 -0500 From: Aurelien Jarno Date: Thu, 12 Dec 2013 01:17:13 +0100 Message-Id: <1386807433-29604-1-git-send-email-aurelien@aurel32.net> Subject: [Qemu-devel] [PATCH v2] tcg/i386: fix a comment List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Aurelien Jarno , Richard Henderson The comments apply to 8-bit stores, not 8-byte stores. Cc: Richard Henderson Signed-off-by: Aurelien Jarno --- tcg/i386/tcg-target.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tcg/i386/tcg-target.c b/tcg/i386/tcg-target.c index 7ac8e45..495b901 100644 --- a/tcg/i386/tcg-target.c +++ b/tcg/i386/tcg-target.c @@ -1486,7 +1486,7 @@ static void tcg_out_qemu_st_direct(TCGContext *s, TCGReg datalo, TCGReg datahi, switch (memop & MO_SIZE) { case MO_8: - /* In 32-bit mode, 8-byte stores can only happen from [abcd]x. + /* In 32-bit mode, 8-bit stores can only happen from [abcd]x. Use the scratch register if necessary. */ if (TCG_TARGET_REG_BITS == 32 && datalo >= 4) { tcg_out_mov(s, TCG_TYPE_I32, scratch, datalo); -- 1.7.10.4