From: <bhushan.attarde@imgtec.com>
To: <gdb-patches@sourceware.org>
Cc: <aburgess@redhat.com>, <vapier@gentoo.org>,
<Jaydeep.Patil@imgtec.com>,
Bhushan Attarde <bhushan.attarde@imgtec.com>
Subject: [PATCH 00/11] sim: riscv: simulation of single and double precision floating point instructions
Date: Mon, 26 Feb 2024 14:22:23 +0000 [thread overview]
Message-ID: <20240226142234.1628932-1-bhushan.attarde@imgtec.com> (raw)
From: Bhushan Attarde <bhushan.attarde@imgtec.com>
Hi All,
This patch series (total 11 patches) adds simulation of riscv single and double
precision floating point instructions. This includes load-store, move, compare,
classify, sign injection, min, max, MAC, conversion and basic arithmetic
instructions. Each patch also includes tests for the corresponding instructions.
The tool-chain sources used are from:
https://github.com/riscv-collab/riscv-gnu-toolchain.git
And gdb sources are replaced with latest upstream sources from:
https://sourceware.org/git/binutils-gdb.git
GDB is configured with --target=riscv64-unknown-elf option.
Contributions from:
Bhushan Attarde (Bhushan.Attarde@imgtec.com)
Jaydeep Patil (Jaydeep.Patil@imgtec.com)
Bhushan Attarde (11):
sim: riscv: Add single precision floating-point load-store, move,
compare and classify instructions
sim: riscv: Add single precision floating-point sign injection, min
and max instructions
sim: riscv: Add floating-point CSR instructions
sim: riscv: Add single precision floating-point MAC instructions
sim: riscv: Add single precision floating-point basic arithmetic
instructions
sim: riscv: Add single-precision floating-point conversion
instructions
sim: riscv: Add double precision floating-point load-store, move,
compare and classify instructions
sim: riscv: Add double precision floating-point sign-injection, min
and max instructions
sim: riscv: Add double precision floating-point MAC instructions
sim: riscv: Add double precision floating-point basic arithmetic
instructions
sim: riscv: Add double precision floating-point conversion
instructions
sim/riscv/model_list.def | 4 +
sim/riscv/sim-main.c | 1544 ++++++++++++++++++++++++
sim/testsuite/riscv/d-basic-arith.s | 128 ++
sim/testsuite/riscv/d-conversion.s | 111 ++
sim/testsuite/riscv/d-fp-compare.s | 94 ++
sim/testsuite/riscv/d-fp-load-store.s | 58 +
sim/testsuite/riscv/d-fp-sign-inject.s | 87 ++
sim/testsuite/riscv/f-csr.s | 56 +
sim/testsuite/riscv/s-basic-arith.s | 131 ++
sim/testsuite/riscv/s-conversion-l.s | 60 +
sim/testsuite/riscv/s-conversion.s | 61 +
sim/testsuite/riscv/s-fp-compare.s | 97 ++
sim/testsuite/riscv/s-fp-load-store.s | 62 +
sim/testsuite/riscv/s-fp-sign-inject.s | 90 ++
14 files changed, 2583 insertions(+)
create mode 100644 sim/testsuite/riscv/d-basic-arith.s
create mode 100755 sim/testsuite/riscv/d-conversion.s
create mode 100755 sim/testsuite/riscv/d-fp-compare.s
create mode 100755 sim/testsuite/riscv/d-fp-load-store.s
create mode 100644 sim/testsuite/riscv/d-fp-sign-inject.s
create mode 100644 sim/testsuite/riscv/f-csr.s
create mode 100644 sim/testsuite/riscv/s-basic-arith.s
create mode 100644 sim/testsuite/riscv/s-conversion-l.s
create mode 100644 sim/testsuite/riscv/s-conversion.s
create mode 100644 sim/testsuite/riscv/s-fp-compare.s
create mode 100644 sim/testsuite/riscv/s-fp-load-store.s
create mode 100644 sim/testsuite/riscv/s-fp-sign-inject.s
--
2.25.1
next reply other threads:[~2024-02-26 14:23 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-26 14:22 bhushan.attarde [this message]
2024-02-26 14:22 ` [PATCH 01/11] sim: riscv: Add single precision floating-point load-store, move, compare and classify instructions bhushan.attarde
2024-02-26 14:22 ` [PATCH 02/11] sim: riscv: Add single precision floating-point sign injection, min and max instructions bhushan.attarde
2024-02-26 14:22 ` [PATCH 03/11] sim: riscv: Add floating-point CSR instructions bhushan.attarde
2024-03-06 11:07 ` [PATCH 00/11] sim: riscv: simulation of single and double precision floating point instructions Bhushan Attarde
2024-03-06 13:24 ` Andrew Burgess
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=20240226142234.1628932-1-bhushan.attarde@imgtec.com \
--to=bhushan.attarde@imgtec.com \
--cc=Jaydeep.Patil@imgtec.com \
--cc=aburgess@redhat.com \
--cc=gdb-patches@sourceware.org \
--cc=vapier@gentoo.org \
/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 read-only IMAP folder(s) and NNTP newsgroup(s).