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

lr/sc reservation set issue with handcar #71

Open
hanfeng0114 opened this issue Feb 21, 2023 · 1 comment
Open

lr/sc reservation set issue with handcar #71

hanfeng0114 opened this issue Feb 21, 2023 · 1 comment

Comments

@hanfeng0114
Copy link
Contributor

Hi

The implemeation of handcar single step function has a bug:
1.handcar/fpix will single step one instruction per hart and then switch to signle step the other hart
2.spike implementation will execute a chunk of instruction(say 5000 instructions per chunk) and then clear reservation set before switch to the other hart

It seems handcar step function should check the reservation set of other cores and clear local core's reservation set if it has set action in this step.

@hanfeng0114
Copy link
Contributor Author

Will give a pr later for this issue in stage2 development by Alibaba Xuantie team.

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

No branches or pull requests

1 participant