diff options
author | Aurelien Jarno <aurelien@aurel32.net> | 2010-03-27 16:32:55 +0100 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2010-03-27 16:32:55 +0100 |
commit | 2b79487a56d58f65d14f7040e118da9f7724f4a2 (patch) | |
tree | 1225de6cdfa95f1450908a61be8c66969b1645be /tcg/mips/tcg-target.c | |
parent | 6adc05492fce75b530b3534cb6ec055ac3b4afb5 (diff) |
tcg-mips: implement nor
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'tcg/mips/tcg-target.c')
-rw-r--r-- | tcg/mips/tcg-target.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tcg/mips/tcg-target.c b/tcg/mips/tcg-target.c index f7ed0baedd..a0c5289df0 100644 --- a/tcg/mips/tcg-target.c +++ b/tcg/mips/tcg-target.c @@ -1239,6 +1239,9 @@ static inline void tcg_out_op(TCGContext *s, TCGOpcode opc, tcg_out_opc_reg(s, OPC_OR, args[0], args[1], args[2]); } break; + case INDEX_op_nor_i32: + 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]); break; @@ -1350,6 +1353,7 @@ static const TCGTargetOpDef mips_op_defs[] = { { INDEX_op_sub_i32, { "r", "rZ", "rJZ" } }, { INDEX_op_and_i32, { "r", "rZ", "rIZ" } }, + { INDEX_op_nor_i32, { "r", "rZ", "rZ" } }, { INDEX_op_not_i32, { "r", "rZ" } }, { INDEX_op_or_i32, { "r", "rZ", "rIZ" } }, { INDEX_op_xor_i32, { "r", "rZ", "rIZ" } }, |