aboutsummaryrefslogtreecommitdiff
path: root/target-mips
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2009-03-10 09:03:18 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2009-03-10 09:03:18 +0000
commita3fe901337703a04d39f4fe8444b03c8aa37bd3c (patch)
treec48a0becea9ca42297ac8f56066faf43fcd0d941 /target-mips
parentfe75bcf70d2032e523c4aec8a19a0a1472780c6c (diff)
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
Diffstat (limited to 'target-mips')
-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 5159538359..8dc7976518 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: