From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48538) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5WCF-00043W-2E for qemu-devel@nongnu.org; Thu, 18 Jun 2015 05:33:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z5WCA-000504-2r for qemu-devel@nongnu.org; Thu, 18 Jun 2015 05:33:19 -0400 Received: from mail.ispras.ru ([83.149.199.45]:60661) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5WC9-0004zl-Rn for qemu-devel@nongnu.org; Thu, 18 Jun 2015 05:33:14 -0400 From: "Pavel Dovgaluk" References: <20150617124158.3316.54954.stgit@PASHA-ISP> <20150617124205.3316.81361.stgit@PASHA-ISP> <55816DAE.8090701@redhat.com> <001401d0a9a8$a0ff9a50$e2fecef0$@Dovgaluk@ispras.ru> <55828F9A.60809@redhat.com> In-Reply-To: <55828F9A.60809@redhat.com> Date: Thu, 18 Jun 2015 12:33:14 +0300 Message-ID: <001501d0a9a9$cd10ecb0$6732c610$@Dovgaluk@ispras.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Language: ru Subject: Re: [Qemu-devel] [PATCH v2 1/3] softmmu: add helper function to pass through retaddr List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: 'Paolo Bonzini' , qemu-devel@nongnu.org Cc: rth7680@gmail.com, leon.alrae@imgtec.com, aurelien@aurel32.net > From: Paolo Bonzini [mailto:pbonzini@redhat.com] > On 18/06/2015 11:24, Pavel Dovgaluk wrote: > >>> > > +uint16_t helper_call_ldw_cmmu(CPUArchState *env, target_ulong addr, > >>> > > + int mmu_idx, uintptr_t retaddr); > >> > > >> > What about helper_ret_ldw_cmmu for consistency with the DATA_SIZE == 1 case? > > tcg.h breaks these definitions: > > > > /* Temporary aliases until backends are converted. */ > > #ifdef TARGET_WORDS_BIGENDIAN > > # define helper_ret_ldsw_mmu helper_be_ldsw_mmu > > # define helper_ret_lduw_mmu helper_be_lduw_mmu > > # define helper_ret_ldsl_mmu helper_be_ldsl_mmu > > # define helper_ret_ldul_mmu helper_be_ldul_mmu > > # define helper_ret_ldq_mmu helper_be_ldq_mmu > > # define helper_ret_stw_mmu helper_be_stw_mmu > > # define helper_ret_stl_mmu helper_be_stl_mmu > > # define helper_ret_stq_mmu helper_be_stq_mmu > > #else > > Isn't this exactly the same as your helper_call_ldw_cmmu? Yes, but I can't compile it yet. Pavel Dovgalyuk