Received: from eggs.gnu.org ([208.118.235.92]:39173) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TAJo3-0000au-Dj for qemu-devel@nongnu.org; Sat, 08 Sep 2012 08:06:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TAJo2-0004qo-8V for qemu-devel@nongnu.org; Sat, 08 Sep 2012 08:06:35 -0400 Received: from hall.aurel32.net ([88.191.126.93]:33287) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TAJo2-0004qV-0O for qemu-devel@nongnu.org; Sat, 08 Sep 2012 08:06:34 -0400 Date: Sat, 8 Sep 2012 14:06:30 +0200 From: Aurelien Jarno Message-ID: <20120908120630.GO6791@ohm.aurel32.net> References: <1346135785-12119-1-git-send-email-proljc@gmail.com> <1346135785-12119-13-git-send-email-proljc@gmail.com> <20120906091136.GA12858@ohm.aurel32.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] [PATCH v7 12/14] target-mips-ase-dsp: Add MIPS DSP processors List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jia Liu Cc: qemu-devel@nongnu.org On Sat, Sep 08, 2012 at 08:01:30PM +0800, Jia Liu wrote: > Hi Aurelien, > > On Thu, Sep 6, 2012 at 5:11 PM, Aurelien Jarno wrote: > > On Tue, Aug 28, 2012 at 02:36:23PM +0800, Jia Liu wrote: > >> Add MIPS[32|64] ASE DSP[R1|R2] generic cpu model for test. > >> > >> Signed-off-by: Jia Liu > >> --- > >> target-mips/translate_init.c | 55 ++++++++++++++++++++++++++++++++++++++++++ > >> 1 file changed, 55 insertions(+) > >> > >> diff --git a/target-mips/translate_init.c b/target-mips/translate_init.c > >> index c39138f..65ba547 100644 > >> --- a/target-mips/translate_init.c > >> +++ b/target-mips/translate_init.c > >> @@ -311,6 +311,32 @@ static const mips_def_t mips_defs[] = > >> .insn_flags = CPU_MIPS32R2 | ASE_MIPS16 | ASE_DSP | ASE_MT, > >> .mmu_type = MMU_TYPE_R4000, > >> }, > >> + { > >> + /* A generic CPU providing MIPS32 ASE DSP Release 2 features. > >> + FIXME: Eventually this should be replaced by a real CPU model. */ > > > > Is it something that could be fixed now? I guess MIPS produces core with > > this instruction set. > > > > I'll make it 74kf. Is it OK? > Yes, it looks fine to me. -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurelien@aurel32.net http://www.aurel32.net