qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: 陳韋任 <chenwj@iis.sinica.edu.tw>
To: Jia Liu <proljc@gmail.com>
Cc: sw@weilnetz.de, qemu-devel@nongnu.org, aurelien@aurel32.net,
	Peter Maydell <peter.maydell@linaro.org>
Subject: Re: [Qemu-devel] [PATCH V2 0/4] MIPS ASE DSP Support for Qemu
Date: Fri, 23 Mar 2012 15:21:47 +0800	[thread overview]
Message-ID: <20120323072147.GA8620@cs.nctu.edu.tw> (raw)
In-Reply-To: <CAFEAcA9H2ACfcW6nTk8wO1uQyZDJL5xXdJkZnETT62Xb5MS+5w@mail.gmail.com>

> 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 instructions
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 equally
sized. Each patch adding MIPS ASE DSP support should be self-contained, which
means you can apply (and compile) them one-by-one, no error occured. I think
testcase for all ASE DSP instructions can be just one patch.

Regards,
chenwj

[1] MIPS32® Architecture for Programmers VolumeIV-e: The MIPS® DSP
    Application-Specific Extension to the MIPS32®Architecture
    http://www.mips.com/products/product-materials/processor/mips-architecture/

-- 
Wei-Ren Chen (陳韋任)
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

  parent reply	other threads:[~2012-03-23  7:22 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-22 13:36 [Qemu-devel] [PATCH V2 0/4] MIPS ASE DSP Support for Qemu Jia Liu
2012-03-22 13:36 ` [Qemu-devel] [PATCH V2 1/4] add MIPS DSP helpers define Jia Liu
2012-03-22 13:36 ` [Qemu-devel] [PATCH V2 2/4] add MIPS DSP helpers implement Jia Liu
2012-03-22 13:54   ` Peter Maydell
2012-03-23  1:24     ` Jia Liu
2012-03-22 13:36 ` [Qemu-devel] [PATCH V2 3/4] add MIPS DSP translation Jia Liu
2012-03-22 13:36 ` [Qemu-devel] [PATCH V2 4/4] add MIPS DSP testcase Jia Liu
2012-03-22 14:01 ` [Qemu-devel] [PATCH V2 0/4] MIPS ASE DSP Support for Qemu Peter Maydell
2012-03-23  1:40   ` Jia Liu
2012-03-23  7:21   ` 陳韋任 [this message]
2012-03-22 14:03 ` Peter Maydell
2012-03-23  1:31   ` Jia Liu
2012-03-23 16:01 ` Richard Henderson
2012-03-26  1:07   ` Jia Liu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120323072147.GA8620@cs.nctu.edu.tw \
    --to=chenwj@iis.sinica.edu.tw \
    --cc=aurelien@aurel32.net \
    --cc=peter.maydell@linaro.org \
    --cc=proljc@gmail.com \
    --cc=qemu-devel@nongnu.org \
    --cc=sw@weilnetz.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).