From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:35513) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TDyio-0001dh-0B for qemu-devel@nongnu.org; Tue, 18 Sep 2012 10:24:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TDyie-0002IC-33 for qemu-devel@nongnu.org; Tue, 18 Sep 2012 10:24:17 -0400 Received: from mail-pb0-f45.google.com ([209.85.160.45]:34846) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TDyid-0002Hy-S7 for qemu-devel@nongnu.org; Tue, 18 Sep 2012 10:24:08 -0400 Received: by pbbrp12 with SMTP id rp12so94988pbb.4 for ; Tue, 18 Sep 2012 07:24:07 -0700 (PDT) Sender: Richard Henderson From: Richard Henderson Date: Tue, 18 Sep 2012 07:23:55 -0700 Message-Id: <1347978240-20260-1-git-send-email-rth@twiddle.net> Subject: [Qemu-devel] [PATCH 0/5] tcg: movcond List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: aurelien@aurel32.net As recently discussed, with the optional fallback to setcond. I include a patch to target-alpha to test correctness both before and after implementing the opcode in the i386 backend, as well as in the optimizations. r~ Richard Henderson (5): tcg: Introduce movcond target-alpha: Use movcond tcg-i386: Implement movcond tcg: Optimize movcond for constant comparisons tcg: Optimize two-address commutative operations target-alpha/translate.c | 102 ++++++++++++++++++++++------------------------- tcg/README | 6 +++ tcg/arm/tcg-target.h | 1 + tcg/hppa/tcg-target.h | 1 + tcg/i386/tcg-target.c | 29 ++++++++++++++ tcg/i386/tcg-target.h | 7 ++++ tcg/ia64/tcg-target.h | 2 + tcg/mips/tcg-target.h | 1 + tcg/optimize.c | 49 ++++++++++++++++++++++- tcg/ppc/tcg-target.h | 1 + tcg/ppc64/tcg-target.h | 2 + tcg/s390/tcg-target.h | 2 + tcg/sparc/tcg-target.h | 2 + tcg/tcg-op.h | 41 +++++++++++++++++++ tcg/tcg-opc.h | 2 + tcg/tcg.c | 11 +++-- tcg/tcg.h | 1 + tcg/tci/tcg-target.h | 2 + 18 files changed, 200 insertions(+), 62 deletions(-) -- 1.7.11.4