From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NLMCz-0006rw-IX for qemu-devel@nongnu.org; Thu, 17 Dec 2009 14:40:21 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NLMCt-0006oj-Nc for qemu-devel@nongnu.org; Thu, 17 Dec 2009 14:40:19 -0500 Received: from [199.232.76.173] (port=50130 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NLMCt-0006oW-Cb for qemu-devel@nongnu.org; Thu, 17 Dec 2009 14:40:15 -0500 Received: from are.twiddle.net ([75.149.56.221]:35329) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NLMCt-0004Hp-0o for qemu-devel@nongnu.org; Thu, 17 Dec 2009 14:40:15 -0500 Message-Id: In-Reply-To: <761ea48b0912170620l534dcb02m8ea6b59524d76dbe@mail.gmail.com> References: <761ea48b0912170620l534dcb02m8ea6b59524d76dbe@mail.gmail.com> From: Richard Henderson Date: Thu, 17 Dec 2009 11:32:55 -0800 Subject: [Qemu-devel] [PATCH 0/6] tcg conditional set/move, round 2 List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Laurent Desnogues > funny how you seem to follow the same paths I did months ago :-) Heh. They are the obvious points for improvement in the emulation. Hopefully we can get them finished this time, so that some third person doesn't go through the same thing next year. =) > - cosmetics: don't use tabs and be sure not to have > whitespaces at end of lines Grr, I thought I'd been extra careful about that. Fixed. > - the changes to tcg-op.h in patch 6 should go with patch 1 Done. > - outside of the small parameter handling, I'd prefer > you provide a separate patch for tcg_out_brcond2; > I don't think the changes using c1, c2 and c3 really > belong to setcond/movcond. The i386 part has been split into 3 patches, though they are sequentially dependent. I've left off the sparc backend patch, as well as the patches for the translators. Let's take care of these first. r~ --- Richard Henderson (6): tcg: Generic support for conditional set and conditional move. tcg: Add tcg_invert_cond. tcg-x86_64: Implement setcond and movcond. tcg-i386: Implement small forward branches. tcg-i386: Simplify brcond2. tcg-i386: Implement setcond, movcond, setcond2. elf.h | 2 + tcg/README | 26 ++++- tcg/i386/tcg-target.c | 278 ++++++++++++++++++++++++++++++++++++++-------- tcg/tcg-op.h | 91 +++++++++++++++ tcg/tcg-opc.h | 5 + tcg/tcg.c | 23 +++- tcg/tcg.h | 5 + tcg/x86_64/tcg-target.c | 65 +++++++++++- 8 files changed, 436 insertions(+), 59 deletions(-)