qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: LIU ZhiWei <zhiwei_liu@c-sky.com>
To: Chih-Min Chao <chihmin.chao@sifive.com>
Cc: Peter Maydell <peter.maydell@linaro.org>,
	"open list:RISC-V" <qemu-riscv@nongnu.org>,
	Sagar Karandikar <sagark@eecs.berkeley.edu>,
	Palmer Dabbelt <palmer@sifive.com>,
	QEMU Developers <qemu-devel@nongnu.org>,
	Alistair Francis <Alistair.Francis@wdc.com>,
	Aleksandar Markovic <aleksandar.m.mail@gmail.com>
Subject: Re: [Qemu-devel] RISC-V: Vector && DSP Extension
Date: Sat, 10 Aug 2019 06:35:32 -0700	[thread overview]
Message-ID: <29508a4a-ac24-c8d2-d703-cb971c33166b@c-sky.com> (raw)
In-Reply-To: <CAEiOBXVDg-oaqWDpzFrsPjzt8jdmLt7DskG4=zXwYVUb+5=tfg@mail.gmail.com>


On 8/8/19 6:48 AM, Chih-Min Chao wrote:
>
>
> On Thu, Aug 8, 2019 at 7:29 PM Aleksandar Markovic 
> <aleksandar.m.mail@gmail.com <mailto:aleksandar.m.mail@gmail.com>> wrote:
>
>     On Thu, Aug 8, 2019 at 11:52 AM liuzhiwei <zhiwei_liu@c-sky.com
>     <mailto:zhiwei_liu@c-sky.com>> wrote:
>
>     > Hi all,
>     >
>     >     My workmate  and I have been working on Vector & Dsp
>     extension, and
>     > I'd like to share develop status  with folks.
>     >
>     >     The spec references for  Vector extension is
>     riscv-v-spec-0.7.1, and
>     > riscv-p-spec-0.5 for DSP extension.
>
>
>     Hello, Liu.
>
>     I will not answer your questions directly, however I want to bring
>     to you
>     and others another perspective on this situation.
>
>     First, please provide the link to the specifications. Via Google,
>     I found
>     that "riscv-v-spec-0.7.1" is titled "Working draft of the proposed
>     RISC-V V
>     vector extension". I could not find "riscv-p-spec-0.5".
>
>     I am not sure what the QEMU policy towards "working draft
>     proposal" type of
>     specification is. Peter, can you perhaps clarify that or any other
>     related
>     issue?
>
>
> Hi Aleksandar,
>
> As for riscv-v-spec 0.7.1, it is first stable spec for target software 
> development
> though the name is working draft.  The architecture skeleton is fix 
> and most of
> work are focusing the issues related to micro-architecture 
> implementation complexity.
> Sifive has released an open source implementation on spike simulation 
> and Imperas also
> provides another implementation with its binary simulator.  I think it 
> is worth to include the extension
> in Qemu at this moment.
>
> As for riscv-p-spec-0.5, I think Andes has fully supported this 
> extension and should release more
> detailed spec in the near future (described Riscv Technical Update 
> 2019/06).
> They have implement lots of DSP kernel based on this extension and 
> also provided impressed
> performance result.  It is also worth to be reviewed (at least [RFC]) 
> if the detailed  spec is public.
>
>
> ref:
>      1. 
> https://content.riscv.org/wp-content/uploads/2019/06/17.40-Vector_RISCV-20190611-Vectors.pdf
>      2. 
> https://content.riscv.org/wp-content/uploads/2019/06/17.20-P-ext-RVW-Zurich-20190611.pdf
>      3. 
> https://content.riscv.org/wp-content/uploads/2019/06/10.05-TechCommitteeUpdate-June-2019-Copy.pdf
>
>
> chihmin
>
Hi chihmin,

Thank you for the detailed and informative response. You have a very 
good understanding of the specifications.

I will modify the code according to the latest spec(currently 
riscv-v-spec 0.7.2) from the ISA spec git repo as Alistair advised.

Yours,

Zhiwei

>
>     I would advice some caution in these cases. The major issue is
>     backward
>     compatibility, but there are other issues too. Let's say,
>     fairness. If we
>     let emulation of a component based on a "working draft proposal" be
>     integrated into QEMU, this will set a precedent, and many other
>     developer
>     would rightfully ask for their contributions based on drafts to be
>     integrated into QEMU. Our policy should be as equal as possible to all
>     contribution, large or small, riscv or alpha, cpu or device, tcg
>     or kvm -
>     in my honest opinion. QEMU upstream should not be a collecting
>     place for
>     all imaginable experimentations, certain criteria on what is
>     appropriate
>     for upstreaming exist and must continue to exist.
>
>     Yours,
>     Aleksandar
>
>
>
>
>     > The code of vector extension is
>     > ready and under testing,  the first patch will be sent about two
>     weeks
>     > later. After that we will forward working on DSP extension, and
>     send the
>     > first patch in middle  October.
>     >
>     >      Could the maintainers  tell me whether the specs referenced are
>     > appropriate? Is anyone working on these extensions? I'd like to get
>     > your status, and maybe discuss questions and work togather.
>     >
>     > Best Regards
>     >
>     > LIU Zhiwei
>     >
>     >
>     >
>     >
>

  parent reply	other threads:[~2019-08-10 13:36 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-08  9:39 [Qemu-devel] RISC-V: Vector && DSP Extension liuzhiwei
2019-08-08 11:29 ` Aleksandar Markovic
2019-08-08 13:48   ` Chih-Min Chao
2019-08-08 14:19     ` Aleksandar Markovic
2019-08-10 13:35     ` LIU ZhiWei [this message]
2019-08-10  1:54 ` Alistair Francis
2019-08-10 13:55   ` LIU ZhiWei
2019-08-11 16:50     ` Alistair Francis
2019-08-15  8:53       ` Aleksandar Markovic
2019-08-15  9:07         ` Peter Maydell
2019-08-15 10:32           ` Aleksandar Markovic
2019-08-15 21:37           ` Alistair Francis
2019-08-21 19:31             ` Palmer Dabbelt
2019-08-21 23:10               ` [Qemu-devel] [Qemu-riscv] " Jonathan Behrens
2019-08-22  1:50               ` [Qemu-devel] " liuzhiwei
2019-08-22 22:37                 ` Alistair Francis
2019-08-28  0:25                   ` Palmer Dabbelt

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=29508a4a-ac24-c8d2-d703-cb971c33166b@c-sky.com \
    --to=zhiwei_liu@c-sky.com \
    --cc=Alistair.Francis@wdc.com \
    --cc=aleksandar.m.mail@gmail.com \
    --cc=chihmin.chao@sifive.com \
    --cc=palmer@sifive.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-riscv@nongnu.org \
    --cc=sagark@eecs.berkeley.edu \
    /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).