]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Do LODSW / LODSL. (Sami Farin)
authorJulian Seward <jseward@acm.org>
Wed, 8 May 2002 01:38:43 +0000 (01:38 +0000)
committerJulian Seward <jseward@acm.org>
Wed, 8 May 2002 01:38:43 +0000 (01:38 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@233

coregrind/vg_to_ucode.c
vg_to_ucode.c

index 892e4368a225e9c20a4e6412125daa25bfe2a77b..9351e4133a27b695d2bfc5deea652db59fe9e1f9 100644 (file)
@@ -3981,6 +3981,10 @@ static Addr disInstr ( UCodeBlock* cb, Addr eip, Bool* isEnd )
       codegen_LODS ( cb, 1 );
       if (dis) VG_(printf)("lodsb\n");
       break;
+   case 0xAD: /* LODSv, no REP prefix */
+      codegen_LODS ( cb, sz );
+      if (dis) VG_(printf)("lods%c\n", nameISize(sz));
+      break;
 
    case 0xAE: /* SCASb, no REP prefix */
       codegen_SCAS ( cb, 1 );
index 892e4368a225e9c20a4e6412125daa25bfe2a77b..9351e4133a27b695d2bfc5deea652db59fe9e1f9 100644 (file)
@@ -3981,6 +3981,10 @@ static Addr disInstr ( UCodeBlock* cb, Addr eip, Bool* isEnd )
       codegen_LODS ( cb, 1 );
       if (dis) VG_(printf)("lodsb\n");
       break;
+   case 0xAD: /* LODSv, no REP prefix */
+      codegen_LODS ( cb, sz );
+      if (dis) VG_(printf)("lods%c\n", nameISize(sz));
+      break;
 
    case 0xAE: /* SCASb, no REP prefix */
       codegen_SCAS ( cb, 1 );