]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fix scary bug causing mis-identification of SSE stores vs loads.
authorJulian Seward <jseward@acm.org>
Tue, 20 Jul 2004 23:49:22 +0000 (23:49 +0000)
committerJulian Seward <jseward@acm.org>
Tue, 20 Jul 2004 23:49:22 +0000 (23:49 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2517

coregrind/vg_to_ucode.c

index 7790cb77c3d728f4f0148da1a70880c7d32b1a37..4f5bf95f52c39a7407001a95a5bbc91cf5f0c03c 100644 (file)
@@ -4882,7 +4882,7 @@ static Addr disInstr ( UCodeBlock* cb, Addr eip, Bool* isEnd )
       UChar* name = "movapd";
                     //(insn[1] == 0x10 || insn[1] == 0x11)
                     // ? "movups" : "movaps";
-      Bool store = False; //insn[1] == 0x29 || insn[1] == 11;
+      Bool store = False; //insn[1] == 0x29 || insn[1] == 0x11;
       eip = dis_SSE3_load_store_or_mov
                ( cb, sorb, eip+2, 16, store, name,
                      0x66, insn[0], insn[1] );
@@ -4903,7 +4903,7 @@ static Addr disInstr ( UCodeBlock* cb, Addr eip, Bool* isEnd )
                            || insn[1] == 0x11)) {
       UChar* name = (insn[1] == 0x10 || insn[1] == 0x11)
                     ? "movups" : "movaps";
-      Bool store = insn[1] == 0x29 || insn[1] == 11;
+      Bool store = insn[1] == 0x29 || insn[1] == 0x11;
       vg_assert(sz == 2 || sz == 4);
       if (sz == 4) {
          eip = dis_SSE2_load_store_or_mov