From: Julian Seward Date: Wed, 19 Dec 2012 08:39:11 +0000 (+0000) Subject: Iop_GetMSBs8x16: remove a copy-n-paste error introduced in r2590. X-Git-Tag: svn/VALGRIND_3_9_0^2~188 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c3db81bb7a68f02982fcc81e4b91af893963107;p=thirdparty%2Fvalgrind.git Iop_GetMSBs8x16: remove a copy-n-paste error introduced in r2590. git-svn-id: svn://svn.valgrind.org/vex/trunk@2597 --- diff --git a/VEX/priv/host_amd64_isel.c b/VEX/priv/host_amd64_isel.c index d6f507e998..9c2c1070ae 100644 --- a/VEX/priv/host_amd64_isel.c +++ b/VEX/priv/host_amd64_isel.c @@ -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;