public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Re: [PATCH] RISC-V: Add actual 'Zvkt' extension support
@ 2023-07-27  4:47 jiawei
  2023-07-28  3:44 ` Nelson Chu
  0 siblings, 1 reply; 3+ messages in thread
From: jiawei @ 2023-07-27  4:47 UTC (permalink / raw)
  To: Tsukasa OI; +Cc: binutils, Nelson Chu

[-- Attachment #1: Type: text/plain, Size: 2130 bytes --]

LGMT, thanks for this work.

> From: Tsukasa OI <research_trasio@irq.a4lg.com>
> 
> The 'Zvkt' extension is listed on the added extensions in the GNU Binutils
> version 2.41 (see binutils/NEWS).  However, the support of this extension
> was actually missing.
> 
> This commit adds actual support of this extension and adds implications
> from 'Zvkn' and 'Zvks' superset extensions.
> 
> bfd/ChangeLog:
> 
> * elfxx-riscv.c (riscv_implicit_subsets) Add implications from
> 'Zvkn' and 'Zvks'.  (riscv_supported_std_z_ext): Add 'Zvkt' to
> the supported extension list.
> ---
>  bfd/elfxx-riscv.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/bfd/elfxx-riscv.c b/bfd/elfxx-riscv.c
> index b43d2cfa0fab..ba5165766b2b 100644
> --- a/bfd/elfxx-riscv.c
> +++ b/bfd/elfxx-riscv.c
> @@ -1162,6 +1162,7 @@ static struct riscv_implicit_subset riscv_implicit_subsets[] =
>    {"zvkn", "zvknha", check_implicit_always},
>    {"zvkn", "zvknhb", check_implicit_always},
>    {"zvkn", "zvbb", check_implicit_always},
> +  {"zvkn", "zvkt", check_implicit_always},
>    {"zvkng", "zvkn", check_implicit_always},
>    {"zvkng", "zvkg", check_implicit_always},
>    {"zvknc", "zvkn", check_implicit_always},
> @@ -1169,6 +1170,7 @@ static struct riscv_implicit_subset riscv_implicit_subsets[] =
>    {"zvks", "zvksed", check_implicit_always},
>    {"zvks", "zvksh", check_implicit_always},
>    {"zvks", "zvbb", check_implicit_always},
> +  {"zvks", "zvkt", check_implicit_always},
>    {"zvksg", "zvks", check_implicit_always},
>    {"zvksg", "zvkg", check_implicit_always},
>    {"zvksc", "zvks", check_implicit_always},
> @@ -1296,6 +1298,7 @@ static struct riscv_supported_ext riscv_supported_std_z_ext[] =
>    {"zvks", ISA_SPEC_CLASS_DRAFT, 1, 0,  0 },
>    {"zvksg", ISA_SPEC_CLASS_DRAFT, 1, 0,  0 },
>    {"zvksc", ISA_SPEC_CLASS_DRAFT, 1, 0,  0 },
> +  {"zvkt", ISA_SPEC_CLASS_DRAFT, 1, 0,  0 },
>    {"zvl32b", ISA_SPEC_CLASS_DRAFT, 1, 0,  0 },
>    {"zvl64b", ISA_SPEC_CLASS_DRAFT, 1, 0,  0 },
>    {"zvl128b", ISA_SPEC_CLASS_DRAFT, 1, 0,  0 },
> 
> base-commit: 477c9f2ba26ccd77016f2c97941fc8b35e332e35
> -- 
> 2.41.0






^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] RISC-V: Add actual 'Zvkt' extension support
  2023-07-27  4:47 [PATCH] RISC-V: Add actual 'Zvkt' extension support jiawei
@ 2023-07-28  3:44 ` Nelson Chu
  0 siblings, 0 replies; 3+ messages in thread
From: Nelson Chu @ 2023-07-28  3:44 UTC (permalink / raw)
  To: jiawei; +Cc: Tsukasa OI, binutils

[-- Attachment #1: Type: text/plain, Size: 2400 bytes --]

Ok, thanks, please commit.

Nelson

On Thu, Jul 27, 2023 at 12:47 PM <jiawei@iscas.ac.cn> wrote:

> LGMT, thanks for this work.
>
> > From: Tsukasa OI <research_trasio@irq.a4lg.com>
> >
> > The 'Zvkt' extension is listed on the added extensions in the GNU
> Binutils
> > version 2.41 (see binutils/NEWS).  However, the support of this extension
> > was actually missing.
> >
> > This commit adds actual support of this extension and adds implications
> > from 'Zvkn' and 'Zvks' superset extensions.
> >
> > bfd/ChangeLog:
> >
> > * elfxx-riscv.c (riscv_implicit_subsets) Add implications from
> > 'Zvkn' and 'Zvks'.  (riscv_supported_std_z_ext): Add 'Zvkt' to
> > the supported extension list.
> > ---
> >  bfd/elfxx-riscv.c | 3 +++
> >  1 file changed, 3 insertions(+)
> >
> > diff --git a/bfd/elfxx-riscv.c b/bfd/elfxx-riscv.c
> > index b43d2cfa0fab..ba5165766b2b 100644
> > --- a/bfd/elfxx-riscv.c
> > +++ b/bfd/elfxx-riscv.c
> > @@ -1162,6 +1162,7 @@ static struct riscv_implicit_subset
> riscv_implicit_subsets[] =
> >    {"zvkn", "zvknha", check_implicit_always},
> >    {"zvkn", "zvknhb", check_implicit_always},
> >    {"zvkn", "zvbb", check_implicit_always},
> > +  {"zvkn", "zvkt", check_implicit_always},
> >    {"zvkng", "zvkn", check_implicit_always},
> >    {"zvkng", "zvkg", check_implicit_always},
> >    {"zvknc", "zvkn", check_implicit_always},
> > @@ -1169,6 +1170,7 @@ static struct riscv_implicit_subset
> riscv_implicit_subsets[] =
> >    {"zvks", "zvksed", check_implicit_always},
> >    {"zvks", "zvksh", check_implicit_always},
> >    {"zvks", "zvbb", check_implicit_always},
> > +  {"zvks", "zvkt", check_implicit_always},
> >    {"zvksg", "zvks", check_implicit_always},
> >    {"zvksg", "zvkg", check_implicit_always},
> >    {"zvksc", "zvks", check_implicit_always},
> > @@ -1296,6 +1298,7 @@ static struct riscv_supported_ext
> riscv_supported_std_z_ext[] =
> >    {"zvks", ISA_SPEC_CLASS_DRAFT, 1, 0,  0 },
> >    {"zvksg", ISA_SPEC_CLASS_DRAFT, 1, 0,  0 },
> >    {"zvksc", ISA_SPEC_CLASS_DRAFT, 1, 0,  0 },
> > +  {"zvkt", ISA_SPEC_CLASS_DRAFT, 1, 0,  0 },
> >    {"zvl32b", ISA_SPEC_CLASS_DRAFT, 1, 0,  0 },
> >    {"zvl64b", ISA_SPEC_CLASS_DRAFT, 1, 0,  0 },
> >    {"zvl128b", ISA_SPEC_CLASS_DRAFT, 1, 0,  0 },
> >
> > base-commit: 477c9f2ba26ccd77016f2c97941fc8b35e332e35
> > --
> > 2.41.0
>
>
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] RISC-V: Add actual 'Zvkt' extension support
@ 2023-07-26  1:51 Tsukasa OI
  0 siblings, 0 replies; 3+ messages in thread
From: Tsukasa OI @ 2023-07-26  1:51 UTC (permalink / raw)
  To: Nelson Chu, Kito Cheng, Palmer Dabbelt, Jim Wilson; +Cc: Tsukasa OI, binutils

From: Tsukasa OI <research_trasio@irq.a4lg.com>

The 'Zvkt' extension is listed on the added extensions in the GNU Binutils
version 2.41 (see binutils/NEWS).  However, the support of this extension
was actually missing.

This commit adds actual support of this extension and adds implications
from 'Zvkn' and 'Zvks' superset extensions.

bfd/ChangeLog:

	* elfxx-riscv.c (riscv_implicit_subsets) Add implications from
	'Zvkn' and 'Zvks'.  (riscv_supported_std_z_ext): Add 'Zvkt' to
	the supported extension list.
---
 bfd/elfxx-riscv.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/bfd/elfxx-riscv.c b/bfd/elfxx-riscv.c
index b43d2cfa0fab..ba5165766b2b 100644
--- a/bfd/elfxx-riscv.c
+++ b/bfd/elfxx-riscv.c
@@ -1162,6 +1162,7 @@ static struct riscv_implicit_subset riscv_implicit_subsets[] =
   {"zvkn", "zvknha",	check_implicit_always},
   {"zvkn", "zvknhb",	check_implicit_always},
   {"zvkn", "zvbb",	check_implicit_always},
+  {"zvkn", "zvkt",	check_implicit_always},
   {"zvkng", "zvkn",	check_implicit_always},
   {"zvkng", "zvkg",	check_implicit_always},
   {"zvknc", "zvkn",	check_implicit_always},
@@ -1169,6 +1170,7 @@ static struct riscv_implicit_subset riscv_implicit_subsets[] =
   {"zvks", "zvksed",	check_implicit_always},
   {"zvks", "zvksh",	check_implicit_always},
   {"zvks", "zvbb",	check_implicit_always},
+  {"zvks", "zvkt",	check_implicit_always},
   {"zvksg", "zvks",	check_implicit_always},
   {"zvksg", "zvkg",	check_implicit_always},
   {"zvksc", "zvks",	check_implicit_always},
@@ -1296,6 +1298,7 @@ static struct riscv_supported_ext riscv_supported_std_z_ext[] =
   {"zvks",		ISA_SPEC_CLASS_DRAFT,		1, 0,  0 },
   {"zvksg",		ISA_SPEC_CLASS_DRAFT,		1, 0,  0 },
   {"zvksc",		ISA_SPEC_CLASS_DRAFT,		1, 0,  0 },
+  {"zvkt",		ISA_SPEC_CLASS_DRAFT,		1, 0,  0 },
   {"zvl32b",		ISA_SPEC_CLASS_DRAFT,		1, 0,  0 },
   {"zvl64b",		ISA_SPEC_CLASS_DRAFT,		1, 0,  0 },
   {"zvl128b",		ISA_SPEC_CLASS_DRAFT,		1, 0,  0 },

base-commit: 477c9f2ba26ccd77016f2c97941fc8b35e332e35
-- 
2.41.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-07-28  3:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-27  4:47 [PATCH] RISC-V: Add actual 'Zvkt' extension support jiawei
2023-07-28  3:44 ` Nelson Chu
  -- strict thread matches above, loose matches on Subject: below --
2023-07-26  1:51 Tsukasa OI

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).