[v3,2/4] RISC-V: Update extension version for Zb[abc] to 1.0.0

Message ID 20211006202647.328777-2-philipp.tomsich@vrull.eu
State New
Headers show
Series
  • [v3,1/4] RISC-V: Split Zb[abc] into commented sections
Related show

Commit Message

Philipp Tomsich Oct. 6, 2021, 8:26 p.m.
2021-10-06  Philipp Tomsich  <philipp.tomsich@vrull.eu>

    bfd/
	* elfxx-riscv.c (riscv_supported_std_z_ext): Update the version
	number for zba, zbb and zbc to 1.0.0

Signed-off-by: Philipp Tomsich <philipp.tomsich@vrull.eu>


Version-changes: 3
- Updated version numbers for zba, zbb and zbc to 1.0.0

---

(no changes since v1)

 bfd/elfxx-riscv.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

-- 
2.25.1

Comments

Nelson Chu Oct. 7, 2021, 4:02 a.m. | #1
LGTM, thanks.

Nelson

On Thu, Oct 7, 2021 at 4:27 AM Philipp Tomsich <philipp.tomsich@vrull.eu> wrote:
>

> 2021-10-06  Philipp Tomsich  <philipp.tomsich@vrull.eu>

>

>     bfd/

>         * elfxx-riscv.c (riscv_supported_std_z_ext): Update the version

>         number for zba, zbb and zbc to 1.0.0

>

> Signed-off-by: Philipp Tomsich <philipp.tomsich@vrull.eu>

>

> Version-changes: 3

> - Updated version numbers for zba, zbb and zbc to 1.0.0

>

> ---

>

> (no changes since v1)

>

>  bfd/elfxx-riscv.c | 6 +++---

>  1 file changed, 3 insertions(+), 3 deletions(-)

>

> diff --git a/bfd/elfxx-riscv.c b/bfd/elfxx-riscv.c

> index 044cc63d09e..39a7d693469 100644

> --- a/bfd/elfxx-riscv.c

> +++ b/bfd/elfxx-riscv.c

> @@ -1142,9 +1142,9 @@ static struct riscv_supported_ext riscv_supported_std_z_ext[] =

>    {"zifencei",         ISA_SPEC_CLASS_20191213,        2, 0,  0 },

>    {"zifencei",         ISA_SPEC_CLASS_20190608,        2, 0,  0 },

>    {"zihintpause",      ISA_SPEC_CLASS_DRAFT,           1, 0,  0 },

> -  {"zbb",              ISA_SPEC_CLASS_DRAFT,           0, 93, 0 },

> -  {"zba",              ISA_SPEC_CLASS_DRAFT,           0, 93, 0 },

> -  {"zbc",              ISA_SPEC_CLASS_DRAFT,           0, 93, 0 },

> +  {"zbb",              ISA_SPEC_CLASS_DRAFT,           1, 0,  0 },

> +  {"zba",              ISA_SPEC_CLASS_DRAFT,           1, 0,  0 },

> +  {"zbc",              ISA_SPEC_CLASS_DRAFT,           1, 0,  0 },

>    {NULL, 0, 0, 0, 0}

>  };

>

> --

> 2.25.1

>

Patch

diff --git a/bfd/elfxx-riscv.c b/bfd/elfxx-riscv.c
index 044cc63d09e..39a7d693469 100644
--- a/bfd/elfxx-riscv.c
+++ b/bfd/elfxx-riscv.c
@@ -1142,9 +1142,9 @@  static struct riscv_supported_ext riscv_supported_std_z_ext[] =
   {"zifencei",		ISA_SPEC_CLASS_20191213,	2, 0,  0 },
   {"zifencei",		ISA_SPEC_CLASS_20190608,	2, 0,  0 },
   {"zihintpause",	ISA_SPEC_CLASS_DRAFT,		1, 0,  0 },
-  {"zbb",		ISA_SPEC_CLASS_DRAFT,		0, 93, 0 },
-  {"zba",		ISA_SPEC_CLASS_DRAFT,		0, 93, 0 },
-  {"zbc",		ISA_SPEC_CLASS_DRAFT,		0, 93, 0 },
+  {"zbb",		ISA_SPEC_CLASS_DRAFT,		1, 0,  0 },
+  {"zba",		ISA_SPEC_CLASS_DRAFT,		1, 0,  0 },
+  {"zbc",		ISA_SPEC_CLASS_DRAFT,		1, 0,  0 },
   {NULL, 0, 0, 0, 0}
 };