diff options
author | Aurelien Jarno <aurelien@aurel32.net> | 2010-03-27 16:50:55 +0100 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2010-03-27 16:50:55 +0100 |
commit | 489722cf3f1b6e1f94fe141263c830bed39a3318 (patch) | |
tree | 21cad66b31821d463e14f5072f2f3cb0cab83571 /tcg | |
parent | 2b79487a56d58f65d14f7040e118da9f7724f4a2 (diff) |
tcg/mips: implement the not_i32 op the same way as gcc
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'tcg')
-rw-r--r-- | tcg/mips/tcg-target.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tcg/mips/tcg-target.c b/tcg/mips/tcg-target.c index a0c5289df0..7744281ff8 100644 --- 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]) { |