Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KMhpi-0007OY-GB for qemu-devel@nongnu.org; Sat, 26 Jul 2008 07:21:06 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KMhph-0007Nw-QQ for qemu-devel@nongnu.org; Sat, 26 Jul 2008 07:21:06 -0400 Received: from [199.232.76.173] (port=58180 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMhph-0007Nq-Hq for qemu-devel@nongnu.org; Sat, 26 Jul 2008 07:21:05 -0400 Received: from savannah.gnu.org ([199.232.41.3]:44936 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 1KMhph-0001OC-Hs for qemu-devel@nongnu.org; Sat, 26 Jul 2008 07:21:05 -0400 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1KMhpg-0006tF-C1 for qemu-devel@nongnu.org; Sat, 26 Jul 2008 11:21:04 +0000 Received: from malc by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1KMhpg-0006t9-0g for qemu-devel@nongnu.org; Sat, 26 Jul 2008 11:21:04 +0000 MIME-Version: 1.0 Errors-To: malc Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: malc Message-Id: Date: Sat, 26 Jul 2008 11:21:04 +0000 Subject: [Qemu-devel] [4950] Relax memory operations constraints 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: 4950 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4950 Author: malc Date: 2008-07-26 11:21:03 +0000 (Sat, 26 Jul 2008) Log Message: ----------- Relax memory operations constraints Modified Paths: -------------- trunk/tcg/ppc64/tcg-target.c Modified: trunk/tcg/ppc64/tcg-target.c =================================================================== --- trunk/tcg/ppc64/tcg-target.c 2008-07-26 11:21:00 UTC (rev 4949) +++ trunk/tcg/ppc64/tcg-target.c 2008-07-26 11:21:03 UTC (rev 4950) @@ -217,25 +217,13 @@ tcg_regset_reset_reg (ct->u.regs, TCG_REG_R3); tcg_regset_reset_reg (ct->u.regs, TCG_REG_R4); break; - case 'K': /* qemu_st[8..32] constraint */ + case 'S': /* qemu_st constraint */ ct->ct |= TCG_CT_REG; tcg_regset_set32 (ct->u.regs, 0, 0xffffffff); tcg_regset_reset_reg (ct->u.regs, TCG_REG_R3); tcg_regset_reset_reg (ct->u.regs, TCG_REG_R4); tcg_regset_reset_reg (ct->u.regs, TCG_REG_R5); -#if TARGET_LONG_BITS == 64 - tcg_regset_reset_reg (ct->u.regs, TCG_REG_R6); -#endif break; - case 'M': /* qemu_st64 constraint */ - ct->ct |= TCG_CT_REG; - tcg_regset_set32 (ct->u.regs, 0, 0xffffffff); - tcg_regset_reset_reg (ct->u.regs, TCG_REG_R3); - tcg_regset_reset_reg (ct->u.regs, TCG_REG_R4); - tcg_regset_reset_reg (ct->u.regs, TCG_REG_R5); - tcg_regset_reset_reg (ct->u.regs, TCG_REG_R6); - tcg_regset_reset_reg (ct->u.regs, TCG_REG_R7); - break; default: return -1; } @@ -1424,10 +1412,10 @@ { INDEX_op_qemu_ld32s, { "r", "L" } }, { INDEX_op_qemu_ld64, { "r", "L" } }, - { INDEX_op_qemu_st8, { "K", "K" } }, - { INDEX_op_qemu_st16, { "K", "K" } }, - { INDEX_op_qemu_st32, { "K", "K" } }, - { INDEX_op_qemu_st64, { "M", "M", "M" } }, + { INDEX_op_qemu_st8, { "S", "S" } }, + { INDEX_op_qemu_st16, { "S", "S" } }, + { INDEX_op_qemu_st32, { "S", "S" } }, + { INDEX_op_qemu_st64, { "S", "S", "S" } }, { INDEX_op_ext8s_i32, { "r", "r" } }, { INDEX_op_ext16s_i32, { "r", "r" } },