-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Does the latest GCC toolchain support the Zfinx? #1216
Comments
Zfinx has supported on upstream, and will be part of GCC 13, which will release at end of April. |
Thank you so much,I‘ll have a try . |
Thanks for you information. @kito-cheng @TommyMurphyTM1234 Following is what I have done:
|
The problem here, as stated by the error message, is that Other than that I don't understand what your issue is as the other stuff seems to be ok? |
Sorry, I pasted the wrong message. It is : I supposed having used wrong -march and -mabi, so the compiler can't generate Zfinx intruction using X register. |
Again, the error message is telling you what's wrong. My understanding is that one of the integer ABIs must be used when using the I'm not sure that |
I realized gcc didn't check f and zfinx isn't a valid combination, prepare patch for fixing that. |
Hi @kito-cheng - just to clarify, I'm not certain that I don't know if there's any issue with Also, an early revision of the In my opinion, all of this seems very confusing. |
https://github.com/riscv/riscv-isa-manual/blob/master/src/zfinx.tex#L23 spec has say F is incompatible with Zfinx.
Yeah, and the logic would be little implicitly here, D implied F and F is incompatible with Zfinx, so D is incompatible with Zfinx. (e.g. -march=rv32id_zfinx === -march=rv32ifd_zfinx => f conflict with zfinx)
ilp32f/ilp32d/lp64f/lp64d will require argument/return value passed in FPR, which is impossible with Zfinx extension, so that's also kind of implication that zfinx must use ilp32/ilp32e/lp64 |
What about And what about the |
Yes, lp64e is also possible but just it isn't merge yet so I didn't mention.
https://github.com/riscv-non-isa/riscv-elf-psabi-doc/blob/master/riscv-cc.adoc#named-abis
And related discussions: |
I'm a bit unclear if this issue needs to remain open? |
Yes, it can be closed now. |
Hi, now that gcc 13.1 has been released (https://gcc.gnu.org/gcc-13/) what is the timeline for integrating it into the standard toolchain here so that we can get zfinx/zdinx support? Should we instead be pulling in the 13.1 release branch of gcc ourselves and using that? And if so, this will likely require changes to the commit IDs and versions we need for binutils, glibc, etc? |
Waiting on this PR to be cleared:
Until that PR is integrated, yes.
I don't think so? |
Thanks for the fast update. Since it looks like tests are passing for the PR, I'm hoping that the timeline is pretty fast? We can survive for a few days without the update so I don't want to change up our scripts/containers/etc from using the master branch here. |
Hi,
Is the Zfinx extension supported in the latest GCC toolchain?
I just found some commits related with Zfinx, but not sure whether is the toolchain avaliable for Zfinx?
If not, can anyone kindly tell me where I can get the toolchian that supports Zfinx?
The text was updated successfully, but these errors were encountered: