projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9259a04
)
tcg/mips: implement the not_i32 op the same way as gcc
author
Aurelien Jarno
<aurelien@aurel32.net>
Sat, 27 Mar 2010 15:50:55 +0000
(16:50 +0100)
committer
Aurelien Jarno
<aurelien@aurel32.net>
Sat, 27 Mar 2010 15:50:55 +0000
(16:50 +0100)
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
tcg/mips/tcg-target.c
patch
|
blob
|
history
diff --git
a/tcg/mips/tcg-target.c
b/tcg/mips/tcg-target.c
index a0c5289df0d37663d8b1979626e53895b7aa475c..7744281ff85b7c9d2ef75629349f3d70a1a4af83 100644
(file)
--- a/
tcg/mips/tcg-target.c
+++ b/
tcg/mips/tcg-target.c
@@
-1243,7
+1243,7
@@
static inline void tcg_out_op(TCGContext *s, TCGOpcode opc,
tcg_out_opc_reg(s, OPC_NOR, args[0], args[1], args[2]);
break;
case INDEX_op_not_i32:
- tcg_out_opc_reg(s, OPC_NOR, args[0],
args[1]
, args[1]);
+ tcg_out_opc_reg(s, OPC_NOR, args[0],
TCG_REG_ZERO
, args[1]);
break;
case INDEX_op_xor_i32:
if (const_args[2]) {