qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] target-i386: Fix flags computation for ADOX
@ 2013-03-19 16:40 Richard Henderson
  2013-03-23 18:23 ` Blue Swirl
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Henderson @ 2013-03-19 16:40 UTC (permalink / raw)
  To: qemu-devel; +Cc: Blue Swirl

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>
---
 target-i386/translate.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target-i386/translate.c b/target-i386/translate.c
index 705147a..4b2a3e3 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.  */
-- 
1.8.1.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] [PATCH] target-i386: Fix flags computation for ADOX
  2013-03-19 16:40 [Qemu-devel] [PATCH] target-i386: Fix flags computation for ADOX Richard Henderson
@ 2013-03-23 18:23 ` Blue Swirl
  0 siblings, 0 replies; 2+ messages in thread
From: Blue Swirl @ 2013-03-23 18:23 UTC (permalink / raw)
  To: Richard Henderson; +Cc: qemu-devel

Thanks, applied.

On Tue, Mar 19, 2013 at 4:40 PM, Richard Henderson <rth@twiddle.net> wrote:
> 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>
> ---
>  target-i386/translate.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/target-i386/translate.c b/target-i386/translate.c
> index 705147a..4b2a3e3 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.  */
> --
> 1.8.1.4
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-03-23 18:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-19 16:40 [Qemu-devel] [PATCH] target-i386: Fix flags computation for ADOX Richard Henderson
2013-03-23 18:23 ` Blue Swirl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).