Received: from eggs.gnu.org ([208.118.235.92]:37488) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SAyp0-0000do-PL for qemu-devel@nongnu.org; Fri, 23 Mar 2012 03:22:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SAyoy-00013y-OJ for qemu-devel@nongnu.org; Fri, 23 Mar 2012 03:22:02 -0400 Received: from csmailer.cs.nctu.edu.tw ([140.113.235.130]:37417) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SAyox-00013H-7P for qemu-devel@nongnu.org; Fri, 23 Mar 2012 03:22:00 -0400 Date: Fri, 23 Mar 2012 15:21:47 +0800 From: =?utf-8?B?6Zmz6Z+L5Lu7?= Message-ID: <20120323072147.GA8620@cs.nctu.edu.tw> References: <1332423372-2391-1-git-send-email-proljc@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH V2 0/4] MIPS ASE DSP Support for Qemu List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jia Liu Cc: sw@weilnetz.de, qemu-devel@nongnu.org, aurelien@aurel32.net, Peter Maydell > It would be better to break it up as patches each of > which adds support for a coherent bite-sized subset of > these instructions (so each individual patch includes > the helper function declaration, implementation and > translate.c changes for a smaller number of instructions). I am reading MIPS ASE DSP manual [1]. I think you can group those instr= uctions as "Chapter 4. MIPS DSP ASE Instruction Summary" does. So you might have following patches, [1/] MIPS ASE DSP Support - Arithmetic Sub-class (~50 ins) [2/] MIPS ASE DSP Support - GPR-Based Shift Sub-class (~22 ins) [3/] MIPS ASE DSP Support - Multiply Sub-class (~38 ins) [4/] MIPS ASE DSP Support - Bit/ Manipulation Sub-class (~6 ins) [5/] MIPS ASE DSP Support - Compare-Pick Sub-class (~18 ins) [6/] MIPS ASE DSP Support - Accumulator and DSPControl Access Sub-class= (~21 ins) [7/] MIPS ASE DSP Support - Indexed-Load and Branch Sub-class (4 ins) [8/] MIPS ASE DSP Testcase You can combine smaller subsets into a bigger one to make each patch equa= lly sized. Each patch adding MIPS ASE DSP support should be self-contained, w= hich means you can apply (and compile) them one-by-one, no error occured. I th= ink testcase for all ASE DSP instructions can be just one patch. Regards, chenwj [1] MIPS32=C2=AE Architecture for Programmers VolumeIV-e: The MIPS=C2=AE = DSP Application-Specific Extension to the MIPS32=C2=AEArchitecture http://www.mips.com/products/product-materials/processor/mips-archite= cture/ --=20 Wei-Ren Chen (=E9=99=B3=E9=9F=8B=E4=BB=BB) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667 Homepage: http://people.cs.nctu.edu.tw/~chenwj