From: Weiwei Li <liweiwei@iscas.ac.cn>
To: qemu-riscv@nongnu.org, qemu-devel@nongnu.org
Cc: palmer@dabbelt.com, alistair.francis@wdc.com,
bin.meng@windriver.com, dbarboza@ventanamicro.com,
zhiwei_liu@linux.alibaba.com, wangjunqiang@iscas.ac.cn,
lazyparser@gmail.com, Weiwei Li <liweiwei@iscas.ac.cn>
Subject: [PATCH v2 0/6] target/riscv: Add support for BF16 extensions
Date: Thu, 15 Jun 2023 14:32:56 +0800 [thread overview]
Message-ID: <20230615063302.102409-1-liweiwei@iscas.ac.cn> (raw)
Specification for BF16 extensions can be found in:
https://github.com/riscv/riscv-bfloat16
The port is available here:
https://github.com/plctlab/plct-qemu/tree/plct-bf16-upstream-v2
v2:
* Update dependancy check for BF16 extensions in patch 1 and patch 4
* Update encodings for BF16 instructions in patch 2,3,4
* Add disas support for BF16 instructions in patch 6
Weiwei Li (6):
target/riscv: Add properties for BF16 extensions
target/riscv: Add support for Zfbfmin extension
target/riscv: Add support for Zvfbfmin extension
target/riscv: Add support for Zvfbfwma extension
target/riscv: Expose properties for BF16 extensions
target/riscv: Add disas support for BF16 extensions
disas/riscv.c | 44 ++++++
target/riscv/cpu.c | 27 ++++
target/riscv/cpu_cfg.h | 3 +
target/riscv/fpu_helper.c | 12 ++
target/riscv/helper.h | 10 ++
target/riscv/insn32.decode | 12 ++
target/riscv/insn_trans/trans_rvbf16.c.inc | 175 +++++++++++++++++++++
target/riscv/insn_trans/trans_rvzfh.c.inc | 12 +-
target/riscv/translate.c | 1 +
target/riscv/vector_helper.c | 17 ++
10 files changed, 307 insertions(+), 6 deletions(-)
create mode 100644 target/riscv/insn_trans/trans_rvbf16.c.inc
--
2.25.1
next reply other threads:[~2023-06-15 6:35 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-15 6:32 Weiwei Li [this message]
2023-06-15 6:32 ` [PATCH v2 1/6] target/riscv: Add properties for BF16 extensions Weiwei Li
2023-06-15 12:58 ` Rob Bradford
2023-06-15 13:14 ` Weiwei Li
2023-06-15 15:00 ` Rob Bradford
2023-07-03 3:05 ` Alistair Francis
2023-06-15 6:32 ` [PATCH v2 2/6] target/riscv: Add support for Zfbfmin extension Weiwei Li
2023-06-15 6:32 ` [PATCH v2 3/6] target/riscv: Add support for Zvfbfmin extension Weiwei Li
2023-06-15 6:33 ` [PATCH v2 4/6] target/riscv: Add support for Zvfbfwma extension Weiwei Li
2023-06-15 6:33 ` [PATCH v2 5/6] target/riscv: Expose properties for BF16 extensions Weiwei Li
2023-06-15 6:33 ` [PATCH v2 6/6] target/riscv: Add disas support " Weiwei Li
2023-07-03 3:08 ` Alistair Francis
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=20230615063302.102409-1-liweiwei@iscas.ac.cn \
--to=liweiwei@iscas.ac.cn \
--cc=alistair.francis@wdc.com \
--cc=bin.meng@windriver.com \
--cc=dbarboza@ventanamicro.com \
--cc=lazyparser@gmail.com \
--cc=palmer@dabbelt.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-riscv@nongnu.org \
--cc=wangjunqiang@iscas.ac.cn \
--cc=zhiwei_liu@linux.alibaba.com \
/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).