aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--target-mips/translate.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/target-mips/translate.c b/target-mips/translate.c
index 5159538..8dc7976 100644
--- a/target-mips/translate.c
+++ b/target-mips/translate.c
@@ -1613,8 +1613,7 @@ static void gen_arith (CPUState *env, DisasContext *ctx, uint32_t opc,
opn = "and";
break;
case OPC_NOR:
- tcg_gen_or_tl(t0, t0, t1);
- tcg_gen_not_tl(t0, t0);
+ tcg_gen_nor_tl(t0, t0, t1);
opn = "nor";
break;
case OPC_OR: