Merge pull request #3851 from MoochMcGee/i860-fix

i860: hotfix for coverity issue (nw)
This commit is contained in:
ajrhacker 2018-08-14 10:31:16 -04:00 committed by GitHub
commit a14c3259aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3166,7 +3166,7 @@ void i860_cpu_device::insn_dualop (uint32_t insn)
/* Do the add operation, being careful about source and result
precision. Remember, the R bit indicates source and result precision
here. */
if (res_prec)
if (src_prec)
{
double v1 = get_fval_from_optype_d (insn, A_unit_op1);
double v2 = get_fval_from_optype_d (insn, A_unit_op2);