From: Guillaume Emont Date: Thu, 13 Dec 2012 16:57:08 +0000 (+0100) Subject: mips: convssslw: fix typo on minimum value to compare X-Git-Tag: orc-0.4.17~22 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b3994ff9aa47c97db6ae9d2488ea57f51475514c;p=platform%2Fupstream%2Forc.git mips: convssslw: fix typo on minimum value to compare --- diff --git a/orc/orcrules-mips.c b/orc/orcrules-mips.c index 143b23d..8a8b5d4 100644 --- a/orc/orcrules-mips.c +++ b/orc/orcrules-mips.c @@ -232,7 +232,7 @@ mips_rule_convssslw (OrcCompiler *compiler, void *user, OrcInstruction *insn) orc_mips_emit_slt (compiler, tmp1, tmp0, src); orc_mips_emit_movn (compiler, dest, tmp0, tmp1); orc_mips_emit_lui (compiler, tmp0, (ORC_SW_MIN >> 16) & 0xffff); - orc_mips_emit_ori (compiler, tmp0, tmp0, ORC_SW_MAX & 0xffff); + orc_mips_emit_ori (compiler, tmp0, tmp0, ORC_SW_MIN & 0xffff); /* this still works if src == dest since in that case, its value is either * the original src or ORC_SW_MAX, which works as well here */ orc_mips_emit_slt (compiler, tmp1, src, tmp0);