From a7a85bea98588d3e93d260d3761d1855bb435956 Mon Sep 17 00:00:00 2001 From: Neel Gala Date: Tue, 2 Apr 2024 12:03:15 +0530 Subject: [PATCH 1/2] mabi generation to account for E extension --- CHANGELOG.md | 3 +++ riscv_config/isa_validator.py | 2 ++ 2 files changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 64bca0d..8155507 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.18.0] - 2024-04-02 + - mabi generation to account for E extension + ## [3.17.1] - 2024-02-25 - add unratified Ssdbltrp, Smdbltrp, and Sddbltrp extensions diff --git a/riscv_config/isa_validator.py b/riscv_config/isa_validator.py index 26f097a..94f7412 100644 --- a/riscv_config/isa_validator.py +++ b/riscv_config/isa_validator.py @@ -235,6 +235,8 @@ def get_march_mabi (isa : str, opt_remove_custom_exts: bool = False): # mabi generation mabi = 'ilp32' + if 'E' in ext_list: + mabi += 'e' if 'F' in ext_list and 'D' in ext_list: mabi += 'd' elif 'F' in ext_list: From aee7b942e8ea270fc3ea6998ba4a51820d7b70a3 Mon Sep 17 00:00:00 2001 From: Neel Gala Date: Tue, 2 Apr 2024 12:04:18 +0530 Subject: [PATCH 2/2] =?UTF-8?q?Bump=20version:=203.17.1=20=E2=86=92=203.18?= =?UTF-8?q?.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- riscv_config/__init__.py | 2 +- setup.cfg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/riscv_config/__init__.py b/riscv_config/__init__.py index b752767..4a2c842 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.17.1' +__version__ = '3.18.0' diff --git a/setup.cfg b/setup.cfg index fa73987..45a8085 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 3.17.1 +current_version = 3.18.0 commit = True tag = True