From de3526b2b3ddc8ca914e5c5766545930f5830031 Mon Sep 17 00:00:00 2001 From: pbrook Date: Mon, 3 Nov 2008 13:30:50 +0000 Subject: Fix rotri_i64 typo. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5609 c046a42c-6fe2-441c-8c8c-71466251a162 --- tcg/tcg-op.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tcg/tcg-op.h') diff --git a/tcg/tcg-op.h b/tcg/tcg-op.h index 58af59cc25..ba774edd21 100644 --- a/tcg/tcg-op.h +++ b/tcg/tcg-op.h @@ -1622,7 +1622,7 @@ static inline void tcg_gen_rotri_i64(TCGv ret, TCGv arg1, int64_t arg2) { /* some cases can be optimized here */ if (arg2 == 0) { - tcg_gen_mov_i32(ret, arg1); + tcg_gen_mov_i64(ret, arg1); } else { tcg_gen_rotli_i64(ret, arg1, 64 - arg2); } -- cgit v1.2.3