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

WIP: Added amomin, amomax, amominu, amomaxu to Core & Caches #615

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

Conversation

drichmond
Copy link
Contributor

I thought I needed these for nbody, and did not. Work in progress
because these are not tested or validated. Perhaps someone can build
off of my work

WIP and DNM until someone needs them.

I thought I needed these for nbody, and did not. Work in progress
because these are not tested or validated. Perhaps someone can build
off of my work
@@ -157,7 +157,7 @@ module bsg_manycore_link_to_cache
e_cache_op: begin
return_pkt_type = e_return_credit;
end
e_remote_amoswap, e_remote_amoor, e_remote_amoadd: begin
e_remote_amoswap, e_remote_amoor, e_remote_amoadd, e_remote_amomin, e_remote_amomax, e_remote_amominu, e_remote_amomaxu: begin
Copy link
Contributor

Choose a reason for hiding this comment

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

You also need to assign opcode in the case statement starting at line 285

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed

@taylor-bsg
Copy link
Contributor

These seem useful!

M

@drichmond
Copy link
Contributor Author

I agree, but I don't have an immediate use case (though I have an idea for how this might help the MCS lock).

Do you want me to push it through? Happy to address the comment above and write a few test cases

@taylor-bsg
Copy link
Contributor

Looks interesting, needs some tests too

@drichmond
Copy link
Contributor Author

Yep. I just addressed Tommy's comment while I had a moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants