From: Dirk Mueller Date: Wed, 7 Jan 2004 19:07:02 +0000 (+0000) Subject: yet another SSE insn (rsqrtss) X-Git-Tag: svn/VALGRIND_2_1_1~112 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3ebf4df7ec4ce83bda2b500687ca4d35d0d8181e;p=thirdparty%2Fvalgrind.git yet another SSE insn (rsqrtss) git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2194 --- diff --git a/coregrind/vg_to_ucode.c b/coregrind/vg_to_ucode.c index e7c48de5ee..0d82f8f36e 100644 --- a/coregrind/vg_to_ucode.c +++ b/coregrind/vg_to_ucode.c @@ -4513,6 +4513,15 @@ static Addr disInstr ( UCodeBlock* cb, Addr eip, Bool* isEnd ) goto decode_success; } + /* RSQRTSS: square root reciprocal of scalar float. */ + if (insn[0] == 0xF3 && insn[1] == 0x0F && insn[2] == 0x52) { + 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