]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Add JCond-32 NP (long jump when parity odd) and CMOV NP too.
authorJulian Seward <jseward@acm.org>
Sun, 21 Apr 2002 11:43:11 +0000 (11:43 +0000)
committerJulian Seward <jseward@acm.org>
Sun, 21 Apr 2002 11:43:11 +0000 (11:43 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@109

coregrind/vg_to_ucode.c
vg_to_ucode.c

index bed8ff69aedad874481f409d1cada3aba4944603..b1b28556475c6cc882a25d77f6666382c0851e6f 100644 (file)
@@ -4182,6 +4182,7 @@ static Addr disInstr ( UCodeBlock* cb, Addr eip, Bool* isEnd )
       case 0x48: /* CMOVSb (cmov negative) */
       case 0x49: /* CMOVSb (cmov not negative) */
       case 0x4A: /* CMOVP (cmov parity even) */
+      case 0x4B: /* CMOVNP (cmov parity odd) */
       case 0x4C: /* CMOVLb/CMOVNGEb (cmov less) */
       case 0x4D: /* CMOVGEb/CMOVNLb (cmov greater or equal) */
       case 0x4E: /* CMOVLEb/CMOVNGb (cmov less or equal) */
@@ -4272,6 +4273,7 @@ static Addr disInstr ( UCodeBlock* cb, Addr eip, Bool* isEnd )
       case 0x88: /* JSb (jump negative) */
       case 0x89: /* JSb (jump not negative) */
       case 0x8A: /* JP (jump parity even) */
+      case 0x8B: /* JNP/JPO (jump parity odd) */
       case 0x8C: /* JLb/JNGEb (jump less) */
       case 0x8D: /* JGEb/JNLb (jump greater or equal) */
       case 0x8E: /* JLEb/JNGb (jump less or equal) */
index bed8ff69aedad874481f409d1cada3aba4944603..b1b28556475c6cc882a25d77f6666382c0851e6f 100644 (file)
@@ -4182,6 +4182,7 @@ static Addr disInstr ( UCodeBlock* cb, Addr eip, Bool* isEnd )
       case 0x48: /* CMOVSb (cmov negative) */
       case 0x49: /* CMOVSb (cmov not negative) */
       case 0x4A: /* CMOVP (cmov parity even) */
+      case 0x4B: /* CMOVNP (cmov parity odd) */
       case 0x4C: /* CMOVLb/CMOVNGEb (cmov less) */
       case 0x4D: /* CMOVGEb/CMOVNLb (cmov greater or equal) */
       case 0x4E: /* CMOVLEb/CMOVNGb (cmov less or equal) */
@@ -4272,6 +4273,7 @@ static Addr disInstr ( UCodeBlock* cb, Addr eip, Bool* isEnd )
       case 0x88: /* JSb (jump negative) */
       case 0x89: /* JSb (jump not negative) */
       case 0x8A: /* JP (jump parity even) */
+      case 0x8B: /* JNP/JPO (jump parity odd) */
       case 0x8C: /* JLb/JNGEb (jump less) */
       case 0x8D: /* JGEb/JNLb (jump greater or equal) */
       case 0x8E: /* JLEb/JNGb (jump less or equal) */