-
Notifications
You must be signed in to change notification settings - Fork 0
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
Zce architecture tests #6
Comments
Per 4/11 email from Prasanna:
|
No progress made since last Call. Was busy on Zfinx. |
Ok. Please keep this as a focus item. We need to start showing progress here. |
The dry of the tests designed was resumed against SPIKE, still seeing few failures. Fixing/Modifying the tests/frameworks is underway. |
Glad we are once again making progress! |
@ptprasanna, any update? |
@pz9115, raising this to your attention as @ptprasanna is working a possible toolchain issue. |
Possibly an issue, but discussing with @Abdulwadoodd to get different point of view, before we conclude the issue with the tool chain. Also discussing with @pz9115 as well. |
Feed back from @Abdulwadoodd:
|
Zcf - Tests are generated using CTG, but the execution is not successful. Possibly a tool-chain issue (assuming), or the generated test are wrong. Still investigating. |
Thanks, @ptprasanna! Will remove from Agenda for this week. Please feel free to reach out if you need technical assistance debugging. |
@ptprasanna, please update status here. |
Regarding Zcf and Zcd extension, possibly an toolchain issue(assuming) and discussed with @pz9115. Got a feedback from @pz9115, 1.Since Zce is not upstream yet,need to checkout gcc and binutils into the downstream repo, Gcc: https://github.com/openhwgroup/corev-gcc/commits/development-08dd5f65b06
As per the feedback,I have done all the changes but still I am facing the same issue. @pz9115, Can you give me any suggestions to resolve the issue? |
Hi @anuani21, Can you provide the error log for me to learn more about the cause of the error, thanks. |
Hi @pz9115, Here I have attached the error log for your reference. |
Hi @anuani21, I found some compressed instructions that used in the log file, such as:
Where you use fpr as the second operand. As the instruction defination, it load from memory, computes an effective address by adding the zero-extended as offset scaled by 4. So you should use gpr instead fpr as the second operand and set the offset positive and multiple it 4, such as:
|
Hi @ptprasanna, @jjscheel RISC-V Config PR is merged which adds support of Code size reduction extension to This was critical because RISCOF and ISAC use riscv config to run tests and generate coverage reports respectively. One can run Zce ACTs using RISCOF by updating the riscv-config version. |
Hi @pz9115, As per your suggestions,I have done all the changes.Tests are run successfully and got 100% coverage for all instructions in Zcf and Zcd extensions. |
Great news. How is the coverage coming for other extensions? |
@tariqkurd-repo, can you help @anuani21 with their questions on Zcmp and Zcmt? |
What are the questions? |
Ok, thank you! |
Restart the work of Zcmp and Zcmt extension by tomorrow.I will make progress on the task before the next meeting. |
Updates from IITM, cm.pop - Test generated and some coverpoints are not hitting. Zcmt extension: c.jalt- Generating the test. |
Thanks, Anusha. Please let me know if you need any assistance locating the gaps. |
Updates from IITM, Zcmp extension: cm.mvsa01- Completed with 100% coverage(For RV32 and RV64). Zcmt extension: Pending work in Zcmp - I have to fix the register coverpoint issue.(I will fix the issue before next meeting). |
Zcmt extension- Generating test cases for cm.jalt instruction in RV32 and RV64. Pending work in Zcmp - I have to fix the register coverpoint issue. |
No progress made since last call. |
Updates from IITM, Zcmt extension: Pending work in Zcmp - I have to fix the register coverpoint issue.I will fix this issue before next meeting. |
Updates from IITM, |
No progress made since last Call. Was busy on Debug ACT for Native Triggers. |
Updates from IITM,
|
Great. THANKS!!! |
Updates from IITM,
|
Update : While running the test I am encounter this assembler error which is saying "Zcm* is not compatible with C extension" . I asked tariq sir also about this error , to which sir suggested it might be toolchain bug. @pz9115 sir can you please help me here . I have attched ss of the error |
@JAYANTH-IITM I think this is cause by the toolchain version issue, we'd better update both First, use git clone get the riscv-gnu-toolchain
Then we need to prepare the environment, On Ubuntu, executing the following command should suffice:
The next step, go into subdir
After this, we need to set the toolchain installation directory(in
If you meet any problems in toolchain, please feel free to ask me at anytime. |
Thank you sir . will update the toolchain and redo the tests . |
Technical Group
Code Size Reduction TG
ratification-pkg
Code Size
Technical Liaison
Tariq Kurd
Task Category
Arch Tests
Task Sub Category
Ratification Target
1Q2023
Statement of Work (SOW)
SOW link
SOW Signoffs: (delete those not needed)
Waiver
Pull Request Details
No response
The text was updated successfully, but these errors were encountered: