From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KJnAB-00029j-Pj for qemu-devel@nongnu.org; Fri, 18 Jul 2008 06:26:11 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KJnAB-00028G-1g for qemu-devel@nongnu.org; Fri, 18 Jul 2008 06:26:11 -0400 Received: from [199.232.76.173] (port=54540 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KJnAA-00027i-Fy for qemu-devel@nongnu.org; Fri, 18 Jul 2008 06:26:10 -0400 Received: from savannah.gnu.org ([199.232.41.3]:38899 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 1KJnAA-0006CR-34 for qemu-devel@nongnu.org; Fri, 18 Jul 2008 06:26:10 -0400 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1KJnA8-0000rJ-SE for qemu-devel@nongnu.org; Fri, 18 Jul 2008 10:26:08 +0000 Received: from blueswir1 by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1KJnA8-0000rF-Hn for qemu-devel@nongnu.org; Fri, 18 Jul 2008 10:26:08 +0000 MIME-Version: 1.0 Errors-To: blueswir1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Blue Swirl Message-Id: Date: Fri, 18 Jul 2008 10:26:08 +0000 Subject: [Qemu-devel] [4887] wrhpr hstick_cmpr is a store, not a load 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: 4887 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4887 Author: blueswir1 Date: 2008-07-18 10:26:07 +0000 (Fri, 18 Jul 2008) Log Message: ----------- wrhpr hstick_cmpr is a store, not a load Modified Paths: -------------- trunk/target-sparc/translate.c Modified: trunk/target-sparc/translate.c =================================================================== --- trunk/target-sparc/translate.c 2008-07-18 07:50:20 UTC (rev 4886) +++ trunk/target-sparc/translate.c 2008-07-18 10:26:07 UTC (rev 4887) @@ -2204,9 +2204,8 @@ tcg_gen_ext_i32_tl(cpu_dst, cpu_tmp32); break; case 31: // hstick_cmpr - tcg_gen_trunc_tl_i32(cpu_tmp32, cpu_dst); - tcg_gen_st_i32(cpu_tmp32, cpu_env, - offsetof(CPUSPARCState, hstick_cmpr)); + tcg_gen_ld_tl(cpu_dst, cpu_env, + offsetof(CPUSPARCState, hstick_cmpr)); break; default: goto illegal_insn;