]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Add SQRTSS: square root of scalar float
authorJulian Seward <jseward@acm.org>
Sun, 19 Oct 2003 22:08:20 +0000 (22:08 +0000)
committerJulian Seward <jseward@acm.org>
Sun, 19 Oct 2003 22:08:20 +0000 (22:08 +0000)
MERGE TO STABLE

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

coregrind/vg_to_ucode.c

index 701b6b2cacfe2de348397e5016acd0b8454d58e2..29cfdfb4194674b94364b8720dd076ee2f7c8303 100644 (file)
@@ -4622,6 +4622,15 @@ static Addr disInstr ( UCodeBlock* cb, Addr eip, Bool* isEnd )
       goto decode_success;
    }
 
+   /* SQRTSS: square root of scalar float. */
+   if (insn[0] == 0xF3 && insn[1] == 0x0F && insn[2] == 0x51) {
+      vg_assert(sz == 4);
+      eip = dis_SSE3_reg_or_mem ( cb, sorb, eip+3, 4,
+                                      "sqrtss",
+                                      insn[0], insn[1], insn[2] );
+      goto decode_success;
+   }
+
    /* MOVLPS -- 8-byte load/store.  How is this different from MOVLPS
       ? */
    if (insn[0] == 0x0F