From 5972cba5674132abc2d4dcb5d77b1b3ebc4c952a Mon Sep 17 00:00:00 2001 From: Ved Shanbhogue Date: Sun, 7 Jan 2024 12:20:31 -0600 Subject: [PATCH] Add unratified B extension --- CHANGELOG.md | 3 +++ riscv_config/__init__.py | 2 +- riscv_config/constants.py | 2 +- setup.cfg | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 76569e0..2408324 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [3.16.3] - 2024-01-07 + - Add B extension + ## [3.16.0] - 2024-01-03 - use the "hartX" naming for the merged dict - improve logging statements diff --git a/riscv_config/__init__.py b/riscv_config/__init__.py index dfbbd6a..73f4db6 100644 --- a/riscv_config/__init__.py +++ b/riscv_config/__init__.py @@ -1,4 +1,4 @@ from pkgutil import extend_path __path__ = extend_path(__path__, __name__) -__version__ = '3.16.0' +__version__ = '3.16.3' diff --git a/riscv_config/constants.py b/riscv_config/constants.py index ab410aa..e570b85 100644 --- a/riscv_config/constants.py +++ b/riscv_config/constants.py @@ -38,4 +38,4 @@ sub_extensions = Z_extensions + S_extensions isa_regex = \ - re.compile("^RV(32|64|128)[IE][ACDFGHJLMNPQSTUV]*(("+'|'.join(sub_extensions)+")(_("+'|'.join(sub_extensions)+"))*){,1}(X[a-z0-9]*)*(_X[a-z0-9]*)*$") + re.compile("^RV(32|64|128)[IE][ABCDFGHJLMNPQSTUV]*(("+'|'.join(sub_extensions)+")(_("+'|'.join(sub_extensions)+"))*){,1}(X[a-z0-9]*)*(_X[a-z0-9]*)*$") diff --git a/setup.cfg b/setup.cfg index 24483d1..18514d0 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 3.16.0 +current_version = 3.16.3 commit = True tag = True