diff options
author | Richard Henderson <rth@twiddle.net> | 2013-03-19 09:40:53 -0700 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2013-03-23 14:26:52 +0000 |
commit | c53de1a2896ccc9ab18bb9c2f1a2f7b93629b564 (patch) | |
tree | a8ea8a5db2e07b1d7a340a87002b8130039424ad /target-i386 | |
parent | d15a9c2390889623a681b4d0bc56371b4d25893c (diff) | |
download | qemu-c53de1a2896ccc9ab18bb9c2f1a2f7b93629b564.zip |
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>
Diffstat (limited to 'target-i386')
-rw-r--r-- | target-i386/translate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-i386/translate.c b/target-i386/translate.c index c9cc2ffff5..7239696be6 100644 --- a/target-i386/translate.c +++ b/target-i386/translate.c @@ -4200,7 +4200,7 @@ static void gen_sse(CPUX86State *env, DisasContext *s, int b, carry_in = carry_out; break; default: - end_op = (b == 0x1f6 ? CC_OP_ADCX : CC_OP_ADCOX); + end_op = (b == 0x1f6 ? CC_OP_ADCX : CC_OP_ADOX); break; } /* If we can't reuse carry-out, get it out of EFLAGS. */ |