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>
This commit is contained in:
parent
f8251db121
commit
8589467f94
@ -1486,7 +1486,7 @@ static void tcg_out_qemu_st_direct(TCGContext *s, TCGReg datalo, TCGReg datahi,
|
|||||||
|
|
||||||
switch (memop & MO_SIZE) {
|
switch (memop & MO_SIZE) {
|
||||||
case MO_8:
|
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. */
|
Use the scratch register if necessary. */
|
||||||
if (TCG_TARGET_REG_BITS == 32 && datalo >= 4) {
|
if (TCG_TARGET_REG_BITS == 32 && datalo >= 4) {
|
||||||
tcg_out_mov(s, TCG_TYPE_I32, scratch, datalo);
|
tcg_out_mov(s, TCG_TYPE_I32, scratch, datalo);
|
||||||
|
Loading…
Reference in New Issue
Block a user