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 */ }