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

ARM semantics of carry flag is wrong for shift instructions #1033

Open
vbgl opened this issue Jan 31, 2025 · 0 comments
Open

ARM semantics of carry flag is wrong for shift instructions #1033

vbgl opened this issue Jan 31, 2025 · 0 comments
Labels
arm Related to the arm port bug

Comments

@vbgl
Copy link
Member

vbgl commented Jan 31, 2025

Instructions ASR, LSL, LSR, and ROR wrongly set the carry flag (C) to the most significant bit of the result.

, Some (msb res)

@vbgl vbgl added arm Related to the arm port bug EasyCrypt extraction and model and removed EasyCrypt extraction and model labels Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arm Related to the arm port bug
Projects
None yet
Development

No branches or pull requests

1 participant