qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [5412] x86 "popcnt" affects flags.
@ 2008-10-04  3:32 Andrzej Zaborowski
  0 siblings, 0 replies; only message in thread
From: Andrzej Zaborowski @ 2008-10-04  3:32 UTC (permalink / raw)
  To: qemu-devel

Revision: 5412
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5412
Author:   balrog
Date:     2008-10-04 03:32:00 +0000 (Sat, 04 Oct 2008)

Log Message:
-----------
x86 "popcnt" affects flags.

Modified Paths:
--------------
    trunk/target-i386/translate.c

Modified: trunk/target-i386/translate.c
===================================================================
--- trunk/target-i386/translate.c	2008-10-04 03:27:44 UTC (rev 5411)
+++ trunk/target-i386/translate.c	2008-10-04 03:32:00 UTC (rev 5412)
@@ -7470,6 +7470,8 @@
         tcg_gen_helper_1_2(helper_popcnt,
                 cpu_T[0], cpu_T[0], tcg_const_i32(ot));
         gen_op_mov_reg_T0(ot, reg);
+
+        s->cc_op = CC_OP_EFLAGS;
         break;
     case 0x10e ... 0x10f:
         /* 3DNow! instructions, ignore prefixes */

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-10-04  3:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-04  3:32 [Qemu-devel] [5412] x86 "popcnt" affects flags Andrzej Zaborowski

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).