From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lng5w-0002tF-2Y for qemu-devel@nongnu.org; Sat, 28 Mar 2009 17:29:36 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lng5r-0002iC-He for qemu-devel@nongnu.org; Sat, 28 Mar 2009 17:29:35 -0400 Received: from [199.232.76.173] (port=60778 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lng5r-0002i1-AS for qemu-devel@nongnu.org; Sat, 28 Mar 2009 17:29:31 -0400 Received: from mx20.gnu.org ([199.232.41.8]:8414) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Lng5r-0004kn-2h for qemu-devel@nongnu.org; Sat, 28 Mar 2009 17:29:31 -0400 Received: from mail.codesourcery.com ([65.74.133.4]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lng5q-0004ZU-8I for qemu-devel@nongnu.org; Sat, 28 Mar 2009 17:29:30 -0400 From: Nathan Froyd Date: Sat, 28 Mar 2009 14:02:39 -0700 Message-Id: <1238274167-7890-3-git-send-email-froydnj@codesourcery.com> In-Reply-To: <1238274167-7890-1-git-send-email-froydnj@codesourcery.com> References: <1238274167-7890-1-git-send-email-froydnj@codesourcery.com> Subject: [Qemu-devel] [PATCH 02/10] Specialize tcg_gen_not_i64 for 32-bit targets Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Signed-off-by: Nathan Froyd --- tcg/tcg-op.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/tcg/tcg-op.h b/tcg/tcg-op.h index 645b908..2233170 100644 --- a/tcg/tcg-op.h +++ b/tcg/tcg-op.h @@ -1515,6 +1515,9 @@ static inline void tcg_gen_not_i64(TCGv_i64 ret, TCGv_i64 arg) { #ifdef TCG_TARGET_HAS_not_i64 tcg_gen_op2_i64(INDEX_op_not_i64, ret, arg); +#elif defined(TCG_TARGET_HAS_not_i32) + tcg_gen_not_i32(TCGV_LOW(ret), TCGV_LOW(arg)); + tcg_gen_not_i32(TCGV_HIGH(ret), TCGV_HIGH(arg)); #else tcg_gen_xori_i64(ret, arg, -1); #endif -- 1.6.0.5