diff options
Diffstat (limited to 'tcg/tcg-op.h')
-rw-r--r-- | tcg/tcg-op.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |