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

i#3699: Add more checks to is_aflags_{spill,restore} in drreg.c. #7178

Merged
merged 5 commits into from
Jan 9, 2025

Conversation

egrimley-arm
Copy link
Contributor

@egrimley-arm egrimley-arm commented Jan 8, 2025

On ARM/AArch64 not all MRS/MSR instructions operate on aflags, and on ARM the register source operand of MSR, if there is one, is the second operand.

This change made the test sample.memval_simple pass on 32-bit ARM. (But client.drreg-test does not yet pass.)

Issue: #3699

On ARM/AArch64 not all MRS/MSR instructions operate on aflags,
and on ARM the register source operand of MSR, if there is one,
is the second operand.

This change made the test sample.memval_simple pass on 32-bit ARM.

Issue: #3699

Change-Id: I9a04273ed0507c0f8cccd636fdbc0aff1b5bf36d
@egrimley-arm egrimley-arm self-assigned this Jan 8, 2025
Change-Id: I9ac8d569bfbf1b119f875cc410aaf538f953405c
ext/drreg/drreg.c Show resolved Hide resolved
ext/drreg/drreg.c Outdated Show resolved Hide resolved
ext/drreg/drreg.c Show resolved Hide resolved
Change-Id: Iea375f69bee6acbc33ef0e90d5e5c892942082d4
Change-Id: Iff905ee5e483bbc7a9f174ce085be81bbb203965
Change-Id: Ida408c212372a2d12b07c770453e29802c768425
@egrimley-arm egrimley-arm merged commit 839a2c3 into master Jan 9, 2025
17 checks passed
@egrimley-arm egrimley-arm deleted the i3699-drreg branch January 9, 2025 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants