mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
tcg/mips: implement the not_i32 op the same way as gcc
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
parent
2b79487a56
commit
489722cf3f
1 changed files with 1 additions and 1 deletions
|
@ -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]) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue