]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Handle PCMPxSTRx $0x00. Fixes #262995.
authorJulian Seward <jseward@acm.org>
Mon, 17 Jan 2011 23:06:16 +0000 (23:06 +0000)
committerJulian Seward <jseward@acm.org>
Mon, 17 Jan 2011 23:06:16 +0000 (23:06 +0000)
git-svn-id: svn://svn.valgrind.org/vex/trunk@2080

VEX/priv/guest_amd64_toIR.c
VEX/priv/guest_generic_x87.c

index 6119062128e11b3f95ea85988dece3b61a0ac16d..6702049e6175787f52d37b7d27f783eaf78ebb30 100644 (file)
@@ -15583,6 +15583,7 @@ DisResult disInstr_AMD64_WRK (
          any cases for which the helper function has not been
          verified. */
       switch (imm) {
+         case 0x00:
          case 0x02: case 0x08: case 0x0A: case 0x0C: case 0x12:
          case 0x1A: case 0x3A: case 0x44: case 0x4A:
             break;
index 4204893bdd23c8a642ffee5ef67862f84bf070c7..306f66017cebaa4a921c407cdc038a5dc89f452e 100644 (file)
@@ -715,6 +715,7 @@ Bool compute_PCMPxSTRx ( /*OUT*/V128* resV,
       even if they would probably work.  Life is too short to have
       unvalidated cases in the code base. */
    switch (imm8) {
+      case 0x00:
       case 0x02: case 0x08: case 0x0A: case 0x0C: case 0x12:
       case 0x1A: case 0x3A: case 0x44: case 0x4A:
          break;