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
This commit is contained in:
aurel32 2009-03-10 09:03:18 +00:00
parent fe75bcf70d
commit a3fe901337
1 changed files with 1 additions and 2 deletions

View File

@ -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: