Commit a3fe901337703a04d39f4fe8444b03c8aa37bd3c
1 parent
fe75bcf7
target-mips: use nor instead of or + not
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6801 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
1 additions
and
2 deletions
target-mips/translate.c
... | ... | @@ -1613,8 +1613,7 @@ static void gen_arith (CPUState *env, DisasContext *ctx, uint32_t opc, |
1613 | 1613 | opn = "and"; |
1614 | 1614 | break; |
1615 | 1615 | case OPC_NOR: |
1616 | - tcg_gen_or_tl(t0, t0, t1); | |
1617 | - tcg_gen_not_tl(t0, t0); | |
1616 | + tcg_gen_nor_tl(t0, t0, t1); | |
1618 | 1617 | opn = "nor"; |
1619 | 1618 | break; |
1620 | 1619 | case OPC_OR: | ... | ... |