public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Jessica Mills <jessica.mills@embecosm.com>
To: gdb-patches@sourceware.org
Subject: [PATCH] RISC-V : Add linker support for further Z extensions
Date: Mon, 24 May 2021 14:34:53 +0100	[thread overview]
Message-ID: <9622ceb2-30b6-b8d2-d277-c7fe532fd383@embecosm.com> (raw)

From 3fd307fcb519732503c0a5aaaf25764fe9a0157c Mon Sep 17 00:00:00 2001
From: Jessica Mills <jessica.mills@embecosm.com>
Date: Mon, 24 May 2021 08:41:08 +0000
Subject: [PATCH] RISC-V : Add linker support for further Z extensions

Add support to linker for the following Z features used in LLVM:
 - Bit manipulation: Zbe, Zbf, Zbm, Zbp, Zbr, Zbs and Zbt.
 - Half-precision floating-point: Zfh.
 - Vector segment load/store: Zvlsseg.
 - Vector AMO operations: Zvamo.

bfd/ChangeLog:

	* elfxx-riscv.c (riscv_std_z_ext_strtab): Add zbe, zbf, zbm, zbp,
	zbr, zbs, zbt, zfh, zvamo and zvlsseg.
---
 bfd/ChangeLog     | 5 +++++
 bfd/elfxx-riscv.c | 3 ++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/bfd/elfxx-riscv.c b/bfd/elfxx-riscv.c
index 7206ec8573b..d2a6a775b08 100644
--- a/bfd/elfxx-riscv.c
+++ b/bfd/elfxx-riscv.c
@@ -1077,7 +1077,8 @@ static struct riscv_implicit_subset riscv_implicit_subsets[] =

 static const char * const riscv_std_z_ext_strtab[] =
 {
-  "zba", "zbb", "zbc", "zicsr", "zifencei", "zihintpause", NULL
+  "zba", "zbb", "zbc", "zbe", "zbf", "zbm", "zbp", "zbr", "zbs", "zbt", "zfh",
+  "zicsr", "zifencei", "zihintpause", "zvamo", "zvlsseg", NULL
 };

 static const char * const riscv_std_s_ext_strtab[] =
-- 
2.17.1

             reply	other threads:[~2021-05-24 13:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-24 13:34 Jessica Mills [this message]
2021-05-24 15:21 ` Tom Tromey

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=9622ceb2-30b6-b8d2-d277-c7fe532fd383@embecosm.com \
    --to=jessica.mills@embecosm.com \
    --cc=gdb-patches@sourceware.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).