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

[vuop_gen] #238

Merged
merged 6 commits into from
Dec 16, 2024
Merged

[vuop_gen] #238

merged 6 commits into from
Dec 16, 2024

Conversation

orion160
Copy link
Collaborator

@orion160 orion160 commented Dec 8, 2024

Also implements integer extension instructions which requires the value encoded in the instruction for sequencing.

core/Inst.hpp Outdated Show resolved Hide resolved
@@ -29,3 +29,46 @@ sparta_named_test(Vector_test_vmulvv Vector_test -l top info vmulvv.out
sparta_named_test(Vector_test_vmseqvv Vector_test -l top info vmseqvv.out -c test_cores/test_big_core.yaml --input-file vmseqvv_e8m4.json)
sparta_named_test(Vector_test_vsadd Vector_test -l top info vsadd.out -c test_cores/test_big_core.yaml --input-file vsadd.json)
sparta_named_test(Vector_unsupported_test Vector_test -l top info unsupported.out -c test_cores/test_big_core.yaml --input-file vrgather.json)

file(CREATE_LINK ${CMAKE_CURRENT_SOURCE_DIR}/elementwise.json ${CMAKE_CURRENT_BINARY_DIR}/elementwise.json SYMBOLIC)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm confused about the changes to the tester. Some of these tests seems like they're just renamed versions of existing tests and other tests seem new. And we really only need 1 test binary. Can you merge Vector_test.cpp and Vuop_test.cpp? We only need to check the stats from the VectorUopGenerator and Retire.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I was thinking on the Vuop_test to test the different instruction modes meanwhile the Vector_test does vector in a more general way.

I'll fuse them and make more exhaustive test with more configurations (different LMUL and SEW values)

Copy link
Collaborator

@kathlenemagnus kathlenemagnus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@orion160 this is excellent! I just have a few suggestions regarding the Modifier class you added to support the int extension instructions and the tester. Great job!

@orion160 orion160 merged commit 8d8fa41 into riscv-software-src:master Dec 16, 2024
5 checks passed
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