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

LDR destination xzr #85

Open
BugraEryilmaz opened this issue Nov 26, 2024 · 1 comment
Open

LDR destination xzr #85

BugraEryilmaz opened this issue Nov 26, 2024 · 1 comment
Assignees

Comments

@BugraEryilmaz
Copy link
Contributor

Description
LDR instruction with target register 31 should be regarded as zero register and discard the result. It is considered as SP now.

Steps to Reproduce
Run data caching image with 2 cores
After some time an instruction LDR xzr, ...
Expected Behavior
Load should be issued but the result should be discarded.

Actual Behavior
it will execute and save the result to SP and trigger validation failure

@BugraEryilmaz BugraEryilmaz self-assigned this Nov 26, 2024
@BugraEryilmaz
Copy link
Contributor Author

Fixed with this: aee8f76
Afterwards, I noticed the forwarding should also be removed if the result is zero register. That is fixed by: 141cf3a

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