From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NM7rN-0006Ou-N6 for qemu-devel@nongnu.org; Sat, 19 Dec 2009 17:33:13 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NM7rM-0006O2-3L for qemu-devel@nongnu.org; Sat, 19 Dec 2009 17:33:12 -0500 Received: from [199.232.76.173] (port=52269 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NM7rL-0006Nk-Om for qemu-devel@nongnu.org; Sat, 19 Dec 2009 17:33:11 -0500 Received: from are.twiddle.net ([75.149.56.221]:37004) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NM7rL-0007E5-7d for qemu-devel@nongnu.org; Sat, 19 Dec 2009 17:33:11 -0500 Message-Id: From: Richard Henderson Date: Sat Dec 19 14:32:10 PST 2009 Subject: [Qemu-devel] [PATCH 0/3] mips setcond and movcond List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org It has been compile tested, but nothing else. I'm moderately surprised at the implementation of brcond. It's missing the BLTZ, BLEZ, BGTZ, BGEZ branches. It's could be improved with the SLTI and SLTIU insns used here with setcond. Indeed, I suspect that a good implementation of brcond would be to take care of the cases implementable directly by branches, and then call into setcond to take care of the rest. I don't plan to do that. r~ Richard Henderson (3): tcg: Add tcg_swap_cond. tcg-mips: Implement setcond, setcond2. tcg-mips: Implement movcond. tcg/mips/tcg-target.c | 296 ++++++++++++++++++++++++++++++++++++++++++++++++- tcg/tcg.h | 8 ++ 2 files changed, 302 insertions(+), 2 deletions(-)