]> Git Repo - qemu.git/blobdiff - target-i386/cc_helper.c
target-i386/cpu.c: Fix two error output indentation
[qemu.git] / target-i386 / cc_helper.c
index ee04092b4e5d03edf7e8f466e64a086acd86b086..ecbf0ec09c166a677a021f12ff66773ad4f00024 100644 (file)
@@ -18,7 +18,7 @@
  */
 
 #include "cpu.h"
-#include "helper.h"
+#include "exec/helper-proto.h"
 
 const uint8_t parity_table[256] = {
     CC_P, 0, 0, CC_P, 0, CC_P, CC_P, 0,
@@ -103,7 +103,7 @@ target_ulong helper_cc_compute_all(target_ulong dst, target_ulong src1,
     case CC_OP_EFLAGS:
         return src1;
     case CC_OP_CLR:
-        return CC_Z;
+        return CC_Z | CC_P;
 
     case CC_OP_MULB:
         return compute_all_mulb(dst, src1);
This page took 0.024304 seconds and 4 git commands to generate.