From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LgnUw-0008Tz-8Q for qemu-devel@nongnu.org; Mon, 09 Mar 2009 17:58:58 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LgnUt-0008SU-Rl for qemu-devel@nongnu.org; Mon, 09 Mar 2009 17:58:57 -0400 Received: from [199.232.76.173] (port=50814 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LgnUt-0008SH-Il for qemu-devel@nongnu.org; Mon, 09 Mar 2009 17:58:55 -0400 Received: from mx20.gnu.org ([199.232.41.8]:5762) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LgnUs-0003C6-7M for qemu-devel@nongnu.org; Mon, 09 Mar 2009 17:58:55 -0400 Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LgnUn-0002WA-3u for qemu-devel@nongnu.org; Mon, 09 Mar 2009 17:58:49 -0400 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1LgnUk-0004kK-Sd for qemu-devel@nongnu.org; Mon, 09 Mar 2009 21:58:46 +0000 Received: from aurel32 by cvs.savannah.gnu.org with local (Exim 4.69) (envelope-from ) id 1LgnUk-0004kD-KI for qemu-devel@nongnu.org; Mon, 09 Mar 2009 21:58:46 +0000 MIME-Version: 1.0 Errors-To: aurel32 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Aurelien Jarno Message-Id: Date: Mon, 09 Mar 2009 21:58:46 +0000 Subject: [Qemu-devel] [6796] tcg: don't define TCG rotation ops if they are not supported 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 Revision: 6796 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6796 Author: aurel32 Date: 2009-03-09 21:58:46 +0000 (Mon, 09 Mar 2009) Log Message: ----------- tcg: don't define TCG rotation ops if they are not supported Signed-off-by: Aurelien Jarno Modified Paths: -------------- trunk/tcg/tcg-opc.h Modified: trunk/tcg/tcg-opc.h =================================================================== --- trunk/tcg/tcg-opc.h 2009-03-09 18:50:53 UTC (rev 6795) +++ trunk/tcg/tcg-opc.h 2009-03-09 21:58:46 UTC (rev 6796) @@ -71,8 +71,10 @@ DEF2(shl_i32, 1, 2, 0, 0) DEF2(shr_i32, 1, 2, 0, 0) DEF2(sar_i32, 1, 2, 0, 0) +#ifdef TCG_TARGET_HAS_rot_i32 DEF2(rotl_i32, 1, 2, 0, 0) DEF2(rotr_i32, 1, 2, 0, 0) +#endif DEF2(brcond_i32, 0, 2, 2, TCG_OPF_BB_END | TCG_OPF_SIDE_EFFECTS) #if TCG_TARGET_REG_BITS == 32 @@ -126,8 +128,10 @@ DEF2(shl_i64, 1, 2, 0, 0) DEF2(shr_i64, 1, 2, 0, 0) DEF2(sar_i64, 1, 2, 0, 0) +#ifdef TCG_TARGET_HAS_rot_i64 DEF2(rotl_i64, 1, 2, 0, 0) DEF2(rotr_i64, 1, 2, 0, 0) +#endif DEF2(brcond_i64, 0, 2, 2, TCG_OPF_BB_END | TCG_OPF_SIDE_EFFECTS) #ifdef TCG_TARGET_HAS_ext8s_i64