Commit de3526b2b3ddc8ca914e5c5766545930f5830031

Authored by pbrook
1 parent 54843a58

Fix rotri_i64 typo.



git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5609 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 1 additions and 1 deletions
tcg/tcg-op.h
@@ -1622,7 +1622,7 @@ static inline void tcg_gen_rotri_i64(TCGv ret, TCGv arg1, int64_t arg2) @@ -1622,7 +1622,7 @@ static inline void tcg_gen_rotri_i64(TCGv ret, TCGv arg1, int64_t arg2)
1622 { 1622 {
1623 /* some cases can be optimized here */ 1623 /* some cases can be optimized here */
1624 if (arg2 == 0) { 1624 if (arg2 == 0) {
1625 - tcg_gen_mov_i32(ret, arg1); 1625 + tcg_gen_mov_i64(ret, arg1);
1626 } else { 1626 } else {
1627 tcg_gen_rotli_i64(ret, arg1, 64 - arg2); 1627 tcg_gen_rotli_i64(ret, arg1, 64 - arg2);
1628 } 1628 }