]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Iop_GetMSBs8x16: remove a copy-n-paste error introduced in r2590.
authorJulian Seward <jseward@acm.org>
Wed, 19 Dec 2012 08:39:11 +0000 (08:39 +0000)
committerJulian Seward <jseward@acm.org>
Wed, 19 Dec 2012 08:39:11 +0000 (08:39 +0000)
git-svn-id: svn://svn.valgrind.org/vex/trunk@2597

VEX/priv/host_amd64_isel.c

index d6f507e9986284293e8b4dabe2fed84c59f2ad54..9c2c1070aef4f85ab71a0bdaf916c0303925b3be 100644 (file)
@@ -1626,11 +1626,10 @@ static HReg iselIntExpr_R_wrk ( ISelEnv* env, IRExpr* e )
                                              AMD64RMI_Mem(m16_rsp),
                                              hregAMD64_RSI() )); /* 2nd arg */
             addInstr(env, AMD64Instr_Call( Acc_ALWAYS, (ULong)fn, 2 ));
-            addInstr(env, AMD64Instr_Call( Acc_ALWAYS, (ULong)fn, 1 ));
             /* MovxLQ is not exactly the right thing here.  We just
-               need to get the bottom 8 bits of RAX into dst, and zero
+               need to get the bottom 16 bits of RAX into dst, and zero
                out everything else.  Assuming that the helper returns
-               a UInt with the top 24 bits zeroed out, it'll do,
+               a UInt with the top 16 bits zeroed out, it'll do,
                though. */
             addInstr(env, AMD64Instr_MovxLQ(False, hregAMD64_RAX(), dst));
             return dst;