target-i386: Fix flags computation for ADOX
When starting from CC_OP_DYNAMIC, and issuing adox before adcx, a typo used the wrong value for the resulting CC_OP. Cc: Blue Swirl <blauwirbel@gmail.com> Reported-by: Torbjorn Granlund <tg@gmplib.org> Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
d15a9c2390
commit
c53de1a289
|
@ -4200,7 +4200,7 @@ static void gen_sse(CPUX86State *env, DisasContext *s, int b,
|
||||||
carry_in = carry_out;
|
carry_in = carry_out;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
end_op = (b == 0x1f6 ? CC_OP_ADCX : CC_OP_ADCOX);
|
end_op = (b == 0x1f6 ? CC_OP_ADCX : CC_OP_ADOX);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
/* If we can't reuse carry-out, get it out of EFLAGS. */
|
/* If we can't reuse carry-out, get it out of EFLAGS. */
|
||||||
|
|
Loading…
Reference in New Issue