projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8251db
)
tcg/i386: fix a comment
author
Aurelien Jarno
<aurelien@aurel32.net>
Tue, 10 Dec 2013 09:35:28 +0000
(10:35 +0100)
committer
Aurelien Jarno
<aurelien@aurel32.net>
Sat, 21 Dec 2013 15:41:56 +0000
(16:41 +0100)
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>
tcg/i386/tcg-target.c
patch
|
blob
|
history
diff --git
a/tcg/i386/tcg-target.c
b/tcg/i386/tcg-target.c
index 7ac8e4548521a38dfb46574f75ec2dd60c9e8523..495b901080af11077aadacfde06ae5e23a5a8916 100644
(file)
--- 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-b
yte
stores can only happen from [abcd]x.
+ /* In 32-bit mode, 8-b
it
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);