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

Should <resync_br> issue the address by format 1? #139

Open
zhangdujiao opened this issue Sep 3, 2024 · 9 comments
Open

Should <resync_br> issue the address by format 1? #139

zhangdujiao opened this issue Sep 3, 2024 · 9 comments

Comments

@zhangdujiao
Copy link

resync_br: resync count == max_resync and branch map not empty.
Should this condition issue the address by format 1 (with address), or only branch_map is reported by format 1 (no address)?

@IainCRobertson
Copy link
Collaborator

IainCRobertson commented Sep 3, 2024 via email

@zhangdujiao
Copy link
Author

There is no need to send an address.
<resync_br or er_n> are combined together, what about <er_n> condition? should the address be included in the format 0/1/2

@zhangdujiao zhangdujiao reopened this Sep 10, 2024
@IainCRobertson
Copy link
Collaborator

IainCRobertson commented Sep 11, 2024 via email

@zhangdujiao
Copy link
Author

it is necessary to report the address of the final instruction retired beforehand
For the inst. block (er_n) as follow:
inst1
inst2
exception
Can the address before exception be calculated from: iaddr + 2*(iretire - 2^ilastsize)?
iretire only contain the half-word count of inst1 and inst2, exception is not included, right?
and ilastsize just represents the size of inst2, right?

@IainCRobertson
Copy link
Collaborator

IainCRobertson commented Sep 12, 2024 via email

@zhangdujiao
Copy link
Author

thanks! problem solved

@zhangdujiao
Copy link
Author

zhangdujiao commented Nov 17, 2024

The purpose of this packet is to send the branch status to the decoder before the sync-start which will follow

I noticed that for most of the cases, current is "resync_cnt < resync_max" and next is "resync_cnt > resync_max" if the count mode is selected to half-word count of retired inst.
i.e. if resync_cnt > resync_max in next cycle, it should report branch information this cycle.

Should the condition "resync count == max_resync" in Figure9.1 be modified to "next_resync_cnt > max_resync"?

@zhangdujiao zhangdujiao reopened this Nov 17, 2024
@IainCRobertson
Copy link
Collaborator

IainCRobertson commented Nov 18, 2024 via email

@IainCRobertson
Copy link
Collaborator

IainCRobertson commented Nov 19, 2024 via email

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

2 participants