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

Support more risc-v extensions #31

Merged
merged 1 commit into from
Feb 23, 2024
Merged

Support more risc-v extensions #31

merged 1 commit into from
Feb 23, 2024

Conversation

ziyao233
Copy link
Contributor

Add support for zfa, zfh, zfhmin, zicsr and zifencei

tested on qemu-user version 8.2.1

$ qemu-riscv64 ./test
i = 1
m = 1
a = 1
f = 1
d = 1
c = 1
zfa = 1
zfh = 1
zfhmin = 1
zicsr = 1
zifencei = 1

Add support for zfa, zfh, zfhmin, zicsr and zifencei
@nihui
Copy link
Owner

nihui commented Feb 23, 2024

capitalize Z ?

@ziyao233
Copy link
Contributor Author

ziyao233 commented Feb 23, 2024

capitalize Z ?

is it really necessary? Lower cases match the other part's style better and ISA strings for gcc also contain lower cases only.

@nihui
Copy link
Owner

nihui commented Feb 23, 2024

https://gcc.gnu.org/onlinedocs/gcc/RISC-V-Options.html
Ah ha, that's true
I don't remember what document uses a capital Z, it may be old.

@nihui nihui merged commit 097ec7d into nihui:master Feb 23, 2024
10 checks passed
@nihui
Copy link
Owner

nihui commented Feb 23, 2024

Thanks for your contribution !

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.

2 participants