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

Optimized CLOCK/TIME sound patch to bare minimum #64

Merged
merged 1 commit into from
Nov 13, 2023

Conversation

BenjaminSoelberg
Copy link
Contributor

No description provided.

@BrianPugh
Copy link
Owner

any idea what the other NOP's were NOPing?

@BenjaminSoelberg
Copy link
Contributor Author

Well, i did nop too much. Arm nops are two bytes aligned. I checked the control flow and it happily survived by accident. But it does a load and store. My new patch only nops the store to ensure that register values are kept intact should the function expect the register value to be set to the specific value as a side effect by the optimizer. So all in all I did make a mistake and this patch will redeem it.

@BenjaminSoelberg
Copy link
Contributor Author

And a very valid question btw!

@BrianPugh BrianPugh merged commit 64b2a3a into BrianPugh:main Nov 13, 2023
1 check failed
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

Successfully merging this pull request may close these issues.

2 participants