aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 5ffde89e48..037c4306a3 100644
--- a/target-i386/ops_template.h
+++ b/target-i386/ops_template.h
@@ -514,7 +514,7 @@ void OPPROTO glue(glue(op_bsf, SUFFIX), _T0_cc)(void)
res >>= 1;
}
T0 = count;
- CC_DST = 1; /* ZF = 1 */
+ CC_DST = 1; /* ZF = 0 */
} else {
CC_DST = 0; /* ZF = 1 */
}
@@ -532,7 +532,7 @@ void OPPROTO glue(glue(op_bsr, SUFFIX), _T0_cc)(void)
res <<= 1;
}
T0 = count;
- CC_DST = 1; /* ZF = 1 */
+ CC_DST = 1; /* ZF = 0 */
} else {
CC_DST = 0; /* ZF = 1 */
}