From: Dirk Mueller Date: Fri, 2 Jan 2004 22:50:04 +0000 (+0000) Subject: movntpd/movntps support (patch by Tom Hughes) X-Git-Tag: svn/VALGRIND_2_1_1~146 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2ca3af3479d6a3e0baf111b4fa027a8734518eec;p=thirdparty%2Fvalgrind.git movntpd/movntps support (patch by Tom Hughes) CCMAIL: 69782-done@bugs.kde.org git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2160 --- diff --git a/coregrind/vg_to_ucode.c b/coregrind/vg_to_ucode.c index 0240cebabb..55830b5722 100644 --- a/coregrind/vg_to_ucode.c +++ b/coregrind/vg_to_ucode.c @@ -4372,6 +4372,27 @@ static Addr disInstr ( UCodeBlock* cb, Addr eip, Bool* isEnd ) goto decode_success; } + /* MOVNTPS -- 16-byte store with temporal hint (which we + ignore). */ + if (insn[0] == 0x0F + && insn[1] == 0x2B) { + eip = dis_SSE2_load_store_or_mov + (cb, sorb, eip+2, 16, True /* is_store */, "movntps", + insn[0], insn[1] ); + goto decode_success; + } + + /* MOVNTPD -- 16-byte store with temporal hint (which we + ignore). */ + if (sz == 2 + && insn[0] == 0x0F + && insn[1] == 0x2B) { + eip = dis_SSE3_load_store_or_mov + (cb, sorb, eip+2, 16, True /* is_store */, "movntpd", + 0x66, insn[0], insn[1] ); + goto decode_success; + } + /* MOVD -- 4-byte move between xmmregs and (ireg or memory). */ if (sz == 2 && insn[0] == 0x0F