OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9fdca5a
)
tcg: Fix tcg_gen_rotr_i64
author
Aurelien Jarno
<aurelien@aurel32.net>
Sat, 18 Jul 2009 09:15:40 +0000
(11:15 +0200)
committer
Aurelien Jarno
<aurelien@aurel32.net>
Sat, 18 Jul 2009 09:32:56 +0000
(11:32 +0200)
Reported-by: Laurent Desnogues <laurent.desnogues@gmail.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
tcg/tcg-op.h
patch
|
blob
|
history
diff --git
a/tcg/tcg-op.h
b/tcg/tcg-op.h
index
daeb025
..
f3f2f71
100644
(file)
--- a/
tcg/tcg-op.h
+++ b/
tcg/tcg-op.h
@@
-1749,7
+1749,7
@@
static inline void tcg_gen_rotr_i64(TCGv_i64 ret, TCGv_i64 arg1, TCGv_i64 arg2)
t0 = tcg_temp_new_i64();
t1 = tcg_temp_new_i64();
- tcg_gen_sh
l
_i64(t0, arg1, arg2);
+ tcg_gen_sh
r
_i64(t0, arg1, arg2);
tcg_gen_subfi_i64(t1, 64, arg2);
tcg_gen_shl_i64(t1, arg1, t1);
tcg_gen_or_i64(ret, t0, t1);