Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LuRAH-0007rt-5b for qemu-devel@nongnu.org; Thu, 16 Apr 2009 08:58:01 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LuRAG-0007qr-A8 for qemu-devel@nongnu.org; Thu, 16 Apr 2009 08:58:00 -0400 Received: from [199.232.76.173] (port=57205 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LuRAF-0007qS-SL for qemu-devel@nongnu.org; Thu, 16 Apr 2009 08:57:59 -0400 Received: from savannah.gnu.org ([199.232.41.3]:47784 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LuRAF-0006Cx-GI for qemu-devel@nongnu.org; Thu, 16 Apr 2009 08:57:59 -0400 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1LuRAF-0005mO-0E for qemu-devel@nongnu.org; Thu, 16 Apr 2009 12:57:59 +0000 Received: from aurel32 by cvs.savannah.gnu.org with local (Exim 4.69) (envelope-from ) id 1LuRAE-0005mJ-Nc for qemu-devel@nongnu.org; Thu, 16 Apr 2009 12:57:58 +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: Thu, 16 Apr 2009 12:57:58 +0000 Subject: [Qemu-devel] [7129] target-ppc: mark a few helpers TCG_CALL_CONST and/or TCG_CALL_PURE 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: 7129 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=7129 Author: aurel32 Date: 2009-04-16 12:57:58 +0000 (Thu, 16 Apr 2009) Log Message: ----------- target-ppc: mark a few helpers TCG_CALL_CONST and/or TCG_CALL_PURE Signed-off-by: Aurelien Jarno Modified Paths: -------------- trunk/target-ppc/helper.h Modified: trunk/target-ppc/helper.h =================================================================== --- trunk/target-ppc/helper.h 2009-04-16 12:57:50 UTC (rev 7128) +++ trunk/target-ppc/helper.h 2009-04-16 12:57:58 UTC (rev 7129) @@ -31,23 +31,23 @@ DEF_HELPER_4(lscbx, tl, tl, i32, i32, i32) #if defined(TARGET_PPC64) -DEF_HELPER_2(mulhd, i64, i64, i64) -DEF_HELPER_2(mulhdu, i64, i64, i64) +DEF_HELPER_FLAGS_2(mulhd, TCG_CALL_CONST | TCG_CALL_PURE, i64, i64, i64) +DEF_HELPER_FLAGS_2(mulhdu, TCG_CALL_CONST | TCG_CALL_PURE, i64, i64, i64) DEF_HELPER_2(mulldo, i64, i64, i64) #endif -DEF_HELPER_1(cntlzw, tl, tl) -DEF_HELPER_1(popcntb, tl, tl) +DEF_HELPER_FLAGS_1(cntlzw, TCG_CALL_CONST | TCG_CALL_PURE, tl, tl) +DEF_HELPER_FLAGS_1(popcntb, TCG_CALL_CONST | TCG_CALL_PURE, tl, tl) DEF_HELPER_2(sraw, tl, tl, tl) #if defined(TARGET_PPC64) -DEF_HELPER_1(cntlzd, tl, tl) -DEF_HELPER_1(popcntb_64, tl, tl) +DEF_HELPER_FLAGS_1(cntlzd, TCG_CALL_CONST | TCG_CALL_PURE, tl, tl) +DEF_HELPER_FLAGS_1(popcntb_64, TCG_CALL_CONST | TCG_CALL_PURE, tl, tl) DEF_HELPER_2(srad, tl, tl, tl) #endif -DEF_HELPER_1(cntlsw32, i32, i32) -DEF_HELPER_1(cntlzw32, i32, i32) -DEF_HELPER_2(brinc, tl, tl, tl) +DEF_HELPER_FLAGS_1(cntlsw32, TCG_CALL_CONST | TCG_CALL_PURE, i32, i32) +DEF_HELPER_FLAGS_1(cntlzw32, TCG_CALL_CONST | TCG_CALL_PURE, i32, i32) +DEF_HELPER_FLAGS_2(brinc, TCG_CALL_CONST | TCG_CALL_PURE, tl, tl, tl) DEF_HELPER_0(float_check_status, void) #ifdef CONFIG_SOFTFLOAT @@ -335,22 +335,22 @@ DEF_HELPER_1(6xx_tlbi, void, tl) DEF_HELPER_1(74xx_tlbd, void, tl) DEF_HELPER_1(74xx_tlbi, void, tl) -DEF_HELPER_0(tlbia, void) -DEF_HELPER_1(tlbie, void, tl) +DEF_HELPER_FLAGS_0(tlbia, TCG_CALL_CONST, void) +DEF_HELPER_FLAGS_1(tlbie, TCG_CALL_CONST, void, tl) #if defined(TARGET_PPC64) -DEF_HELPER_1(load_slb, tl, tl) -DEF_HELPER_2(store_slb, void, tl, tl) -DEF_HELPER_0(slbia, void) -DEF_HELPER_1(slbie, void, tl) +DEF_HELPER_FLAGS_1(load_slb, TCG_CALL_CONST, tl, tl) +DEF_HELPER_FLAGS_2(store_slb, TCG_CALL_CONST, void, tl, tl) +DEF_HELPER_FLAGS_0(slbia, TCG_CALL_CONST, void) +DEF_HELPER_FLAGS_1(slbie, TCG_CALL_CONST, void, tl) #endif -DEF_HELPER_1(load_sr, tl, tl); -DEF_HELPER_2(store_sr, void, tl, tl) +DEF_HELPER_FLAGS_1(load_sr, TCG_CALL_CONST, tl, tl); +DEF_HELPER_FLAGS_2(store_sr, TCG_CALL_CONST, void, tl, tl) -DEF_HELPER_1(602_mfrom, tl, tl) +DEF_HELPER_FLAGS_1(602_mfrom, TCG_CALL_CONST | TCG_CALL_PURE, tl, tl) #endif DEF_HELPER_3(dlmzb, tl, tl, tl, i32) -DEF_HELPER_1(clcs, tl, i32) +DEF_HELPER_FLAGS_1(clcs, TCG_CALL_CONST | TCG_CALL_PURE, tl, i32) #if !defined(CONFIG_USER_ONLY) DEF_HELPER_1(rac, tl, tl) #endif