tcg/i386: fix a comment
PATCH v2 1/1 tcg/i386: fix a comment
The comments apply to 8-bit stores, not 8-byte stores.
Cc Richard Henderson <[email protected]>
Signed-off-by Aurelien Jarno <[email protected]>
--- tcg/i386/tcg-target.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tcg/i386/tcg-target.c +1 -1
@@ -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);
Signature · 1 line
1.7.10.4
Quoted 7 lines · Aurelien Jarno
The comments apply to 8-bit stores, not 8-byte stores.
Cc Richard Henderson <[email protected]>Signed-off-by Aurelien Jarno <[email protected]>--- tcg/i386/tcg-target.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by Richard Henderson <[email protected]>
r~