Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run: fix disabling the c extension #988

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

fkokosinski
Copy link

@fkokosinski fkokosinski commented Jul 12, 2024

This PR fixes the way that the c extension is disabled, i.e. removed from the arch ISA string. Without this change, for GCC versions where Zicsr and Zifencei constitute separate extensions, the following ISA string:

  rv32imc_zicsr_zifencei_zba_zbb_zbc_zbs

Would be changed to (note incorrect _zisr vs correct _zicsr):

  rv32im_zisr_zifenei_zba_zbb_zb_zbs

Instead of the expected:

  rv32im_zicsr_zifencei_zba_zbb_zbc_zbs

@fkokosinski fkokosinski marked this pull request as ready for review July 12, 2024 07:07
@fkokosinski fkokosinski force-pushed the 61959-add-bitmanip-dv branch from e560506 to a6b8ce2 Compare July 12, 2024 07:08
This commit fixes the way that the `c` extension is disabled, i.e.
removed from the arch ISA string. Without this change, for GCC versions
where Zicsr and Zifencei constitute separate extensions, the following
ISA string:

  rv32imc_zicsr_zifencei_zba_zbb_zbc_zbs

Would be changed to (note incorrect `_zisr` vs correct `_zicsr`):

  rv32im_zisr_zifenei_zba_zbb_zb_zbs

Instead of the expected:

  rv32im_zicsr_zifencei_zba_zbb_zbc_zbs

Signed-off-by: Filip Kokosinski <[email protected]>
@fkokosinski fkokosinski force-pushed the 61959-add-bitmanip-dv branch from df1dedb to ec43dcf Compare July 12, 2024 08:33
@fkokosinski fkokosinski force-pushed the 61959-add-bitmanip-dv branch from ec43dcf to 58bc006 Compare July 12, 2024 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant