summaryrefslogtreecommitdiff
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
commitde72e3d9eb6811ef7108aa02e2ce79755a2725c7 (patch)
tree1fad165eb688974aaa2858fbf8230d89c06fd0c5 /tcg
parent084019f08be10ffb801216a17688c7ef8f0fc1eb (diff)
downloadqemu-de72e3d9eb6811ef7108aa02e2ce79755a2725c7.tar.gz
qemu-de72e3d9eb6811ef7108aa02e2ce79755a2725c7.tar.bz2
qemu-de72e3d9eb6811ef7108aa02e2ce79755a2725c7.zip
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);
}