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

target/riscv: avoid unnecessary IR scans #1091

Merged
merged 1 commit into from
Sep 10, 2024

Conversation

en-sc
Copy link
Collaborator

@en-sc en-sc commented Jun 14, 2024

No description provided.

@en-sc en-sc requested a review from JanMatCodasip June 14, 2024 10:36
@en-sc en-sc self-assigned this Jun 14, 2024
@en-sc en-sc removed the request for review from JanMatCodasip June 14, 2024 10:37
@en-sc en-sc marked this pull request as draft June 14, 2024 10:38
@JanMatCodasip
Copy link
Collaborator

JanMatCodasip commented Jul 2, 2024

I have checked the change in select_dmi() visually and it looks all right to me. It is equivalent to what majority (or all?) other targets do.

I can see this PR is still marked as a draft. @en-sc, do you have any doubts about this one or any further testing that you'd like to carry out?

(Also the PR needs to be rebased.)

@en-sc en-sc marked this pull request as ready for review September 6, 2024 13:10
Change-Id: I03feb5c7d72d5aa38f2cc13c4ed30175cffde84a
Signed-off-by: Evgeniy Naydanov <evgeniy.naydanov@syntacore.com>
@en-sc en-sc changed the title target/riscv: avoid unnecesary IR scans target/riscv: avoid unnecessary IR scans Sep 6, 2024
@en-sc
Copy link
Collaborator Author

en-sc commented Sep 6, 2024

@JanMatCodasip, I've tested the commit and it seems fine. Please, take a look.

@en-sc en-sc merged commit c455b60 into riscv-collab:riscv Sep 10, 2024
4 checks passed
@en-sc en-sc deleted the en-sc/no-extra-ir branch September 10, 2024 09:01
@en-sc
Copy link
Collaborator Author

en-sc commented Sep 13, 2024

This commit introduces an issue for targets with IRLEN >= 8 (the issue is not in the commit itself, but in buf_cmp()).
The fix is being merged to mainline OpenOCD (huge thanks to @jrtc27): https://review.openocd.org/c/openocd/+/8489

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