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

Remove of register optimization in favor or relying on GCC optimization. #10178

Merged
merged 1 commit into from
Jun 26, 2024

Conversation

DzikuVx
Copy link
Member

@DzikuVx DzikuVx commented Jun 25, 2024

GCC seems to be better at optimizing the code than manual ones. On STM32F722, 2kHz loop results were as follows:

  • manual register PID task average 151us
  • GCC performing optimizations: 120us

@DzikuVx DzikuVx added this to the 8.0 milestone Jun 25, 2024
@DzikuVx DzikuVx merged commit 41c89a7 into master Jun 26, 2024
21 checks passed
@DzikuVx DzikuVx deleted the dzikuvx-lulu-optimization branch June 26, 2024 06:19
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.

1 participant