From 4ce9c33335cf8781b1db87717de8b83b38ecf9c4 Mon Sep 17 00:00:00 2001 From: Julian Seward Date: Wed, 8 May 2002 01:38:43 +0000 Subject: [PATCH] Do LODSW / LODSL. (Sami Farin) git-svn-id: svn://svn.valgrind.org/valgrind/trunk@233 --- coregrind/vg_to_ucode.c | 4 ++++ vg_to_ucode.c | 4 ++++ 2 files changed, 8 insertions(+) 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 ); -- 2.47.3