Fix rotri_i64 typo.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5609 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
54843a5861
commit
de3526b2b3
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user