From: Julian Seward Date: Sun, 21 Apr 2002 11:43:11 +0000 (+0000) Subject: Add JCond-32 NP (long jump when parity odd) and CMOV NP too. X-Git-Tag: svn/VALGRIND_1_0_3~342 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d2604e78d8aab617bba714b1c68957df34a34ec;p=thirdparty%2Fvalgrind.git Add JCond-32 NP (long jump when parity odd) and CMOV NP too. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@109 --- diff --git a/coregrind/vg_to_ucode.c b/coregrind/vg_to_ucode.c index bed8ff69ae..b1b2855647 100644 --- a/coregrind/vg_to_ucode.c +++ b/coregrind/vg_to_ucode.c @@ -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) */ diff --git a/vg_to_ucode.c b/vg_to_ucode.c index bed8ff69ae..b1b2855647 100644 --- a/vg_to_ucode.c +++ b/vg_to_ucode.c @@ -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) */