From 9c3db81bb7a68f02982fcc81e4b91af893963107 Mon Sep 17 00:00:00 2001 From: Julian Seward Date: Wed, 19 Dec 2012 08:39:11 +0000 Subject: [PATCH] Iop_GetMSBs8x16: remove a copy-n-paste error introduced in r2590. git-svn-id: svn://svn.valgrind.org/vex/trunk@2597 --- VEX/priv/host_amd64_isel.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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; -- 2.47.2