aboutsummaryrefslogtreecommitdiff
path: root/target-i386/ops_template.h
diff options
context:
space:
mode:
Diffstat (limited to 'target-i386/ops_template.h')
-rw-r--r--target-i386/ops_template.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/target-i386/ops_template.h b/target-i386/ops_template.h
index 037c4306a3..2ff1f66648 100644
--- a/target-i386/ops_template.h
+++ b/target-i386/ops_template.h
@@ -513,7 +513,7 @@ void OPPROTO glue(glue(op_bsf, SUFFIX), _T0_cc)(void)
count++;
res >>= 1;
}
- T0 = count;
+ T1 = count;
CC_DST = 1; /* ZF = 0 */
} else {
CC_DST = 0; /* ZF = 1 */
@@ -531,7 +531,7 @@ void OPPROTO glue(glue(op_bsr, SUFFIX), _T0_cc)(void)
count--;
res <<= 1;
}
- T0 = count;
+ T1 = count;
CC_DST = 1; /* ZF = 0 */
} else {
CC_DST = 0; /* ZF = 1 */