aboutsummaryrefslogtreecommitdiff
path: root/tcg
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2008-11-03 13:30:50 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2008-11-03 13:30:50 +0000
commitde3526b2b3ddc8ca914e5c5766545930f5830031 (patch)
tree1fad165eb688974aaa2858fbf8230d89c06fd0c5 /tcg
parent54843a58610e0ef43200d0e23a057589876a4b6f (diff)
Fix rotri_i64 typo.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5609 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'tcg')
-rw-r--r--tcg/tcg-op.h2
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);
}