]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
movntpd/movntps support (patch by Tom Hughes)
authorDirk Mueller <dmuell@gmx.net>
Fri, 2 Jan 2004 22:50:04 +0000 (22:50 +0000)
committerDirk Mueller <dmuell@gmx.net>
Fri, 2 Jan 2004 22:50:04 +0000 (22:50 +0000)
CCMAIL: 69782-done@bugs.kde.org

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2160

coregrind/vg_to_ucode.c

index 0240cebabbb80c6374e3ac1f05928078257c77bb..55830b5722b1a66cf7f564acaa003a1f6029c23f 100644 (file)
@@ -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