e2k: Fix fcomb_check.

This commit is contained in:
Denis Drakhnia 2021-02-08 11:05:13 +02:00 committed by Denis Drakhnia
parent 8a56f792b7
commit f73e828f75
1 changed files with 1 additions and 1 deletions

View File

@ -4197,7 +4197,7 @@ static inline bool fcomb_check(Instr *instr, FComb opc1, FComb opc2)
}
if (ver >= 2) {
return fcomb_is_mul_unit(opc1) != fcomb_is_mul_unit(opc2);
return !(fcomb_is_mul_unit(opc1) && fcomb_is_mul_unit(opc2));
} else {
return fcomb_is_add_unit(opc1) == fcomb_is_mul_unit(opc2);
}