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

AArch64: fix set_NZCV macro #6399

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Sleigh-InSPECtor
Copy link

As part of a research project testing the accuracy of the sleigh specifications compared to real hardware, we observed an unexpected behaviour in the set_NZCV macro used in the rmif instruction for AArch64. The expected behaviour is to maintain the flag values if they are not in the condition mask. While the current behaviour instead sets each flag not in the condition mask to the value of the NG flag.

@GhidorahRex GhidorahRex self-assigned this Apr 9, 2024
@GhidorahRex GhidorahRex added Type: Bug Something isn't working Feature: Processor/AARCH64 Status: Internal This is being tracked internally by the Ghidra team labels Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature: Processor/AARCH64 Status: Internal This is being tracked internally by the Ghidra team Type: Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants