From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33388) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XcWT6-00035r-CU for qemu-devel@nongnu.org; Fri, 10 Oct 2014 05:26:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XcWT1-0001pu-Az for qemu-devel@nongnu.org; Fri, 10 Oct 2014 05:26:36 -0400 Received: from mailapp01.imgtec.com ([195.59.15.196]:59720) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XcWT1-0001pq-5E for qemu-devel@nongnu.org; Fri, 10 Oct 2014 05:26:31 -0400 Message-ID: <5437A645.804@imgtec.com> Date: Fri, 10 Oct 2014 10:26:29 +0100 From: Leon Alrae MIME-Version: 1.0 References: <1405331763-57126-1-git-send-email-yongbok.kim@imgtec.com> <1405331763-57126-5-git-send-email-yongbok.kim@imgtec.com> In-Reply-To: <1405331763-57126-5-git-send-email-yongbok.kim@imgtec.com> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 04/20] target-mips: add 8, 16, 32, 64 bits load and store List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Yongbok Kim , qemu-devel@nongnu.org Cc: cristian.cuna@imgtec.com, aurelien@aurel32.net On 14/07/2014 10:55, Yongbok Kim wrote: > add 8, 16, 32, 64 bits load and store > > Signed-off-by: Yongbok Kim > --- > target-mips/cpu.h | 8 ++++++++ > 1 files changed, 8 insertions(+), 0 deletions(-) > > diff --git a/target-mips/cpu.h b/target-mips/cpu.h > index 68ce383..51d1c88 100644 > --- a/target-mips/cpu.h > +++ b/target-mips/cpu.h > @@ -896,6 +896,10 @@ HELPER_LD(lw, ldl, int32_t) > #ifdef TARGET_MIPS64 > HELPER_LD(ld, ldq, int64_t) > #endif > +HELPER_LD(ld8, ldub, uint8_t) > +HELPER_LD(ld16, lduw, uint16_t) > +HELPER_LD(ld32, ldl, int32_t) > +HELPER_LD(ld64, ldq, int64_t) > #undef HELPER_LD > > #if defined(CONFIG_USER_ONLY) > @@ -929,6 +933,10 @@ HELPER_ST(sw, stl, uint32_t) > #ifdef TARGET_MIPS64 > HELPER_ST(sd, stq, uint64_t) > #endif > +HELPER_ST(st8, stb, uint8_t) > +HELPER_ST(st16, stw, uint16_t) > +HELPER_ST(st32, stl, int32_t) > +HELPER_ST(st64, stq, int64_t) > #undef HELPER_ST > > #endif /* !defined (__MIPS_CPU_H__) */ > do_ld8, do_ld32 and do_ld64 are duplications of existing do_lbu, do_lw and do_ld. Similarily with do_st*. Leon