diff options
author | Aurelien Jarno <aurelien@aurel32.net> | 2013-12-10 10:35:28 +0100 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2013-12-21 16:41:56 +0100 |
commit | 8589467f9419b86644a1a5ccab670c948e148efd (patch) | |
tree | b8b42eb53ce629e91a1199e80954a1f190f2ae82 | |
parent | f8251db121c3f051b22a7536b97d160c30bcccd4 (diff) |
tcg/i386: fix a comment
The comments apply to 8-bit stores, not 8-byte stores.
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
-rw-r--r-- | tcg/i386/tcg-target.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tcg/i386/tcg-target.c b/tcg/i386/tcg-target.c index 7ac8e45485..495b901080 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); |