From: Julian Seward Date: Wed, 8 May 2002 01:38:43 +0000 (+0000) Subject: Do LODSW / LODSL. (Sami Farin) X-Git-Tag: svn/VALGRIND_1_0_3~231 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ce9c33335cf8781b1db87717de8b83b38ecf9c4;p=thirdparty%2Fvalgrind.git Do LODSW / LODSL. (Sami Farin) git-svn-id: svn://svn.valgrind.org/valgrind/trunk@233 --- diff --git a/coregrind/vg_to_ucode.c b/coregrind/vg_to_ucode.c index 892e4368a2..9351e4133a 100644 --- a/coregrind/vg_to_ucode.c +++ b/coregrind/vg_to_ucode.c @@ -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 ); diff --git a/vg_to_ucode.c b/vg_to_ucode.c index 892e4368a2..9351e4133a 100644 --- a/vg_to_ucode.c +++ b/vg_to_ucode.c @@ -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 );