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

tlsr82/tc32: optimize the irq process #6238

Merged
merged 1 commit into from
May 11, 2022

Conversation

CV-Bowen
Copy link
Contributor

Summary

  1. using armv6-m arm_irq();
  2. simplify the interrupt number get process;
  3. To improve the performance, move common exception code to ram_code.

1 and 2 reduce about 200 bytes code size;

Impact

Testing

ostest pass.

1. using armv6-m arm_irq();
2. simplify the interrupt number get process;
3. To improve the performance, move common exception code to ram_code.

Signed-off-by: wangbowen6 <wangbowen6@xiaomi.com>
Copy link
Contributor

@hartmannathan hartmannathan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed by reading code. Seems reasonable conceptually. I don't know the internals of this chip well enough nor have hardware to test, but AFAICT I don't see obvious issues. Thanks

@xiaoxiang781216 xiaoxiang781216 merged commit c39d3fa into apache:master May 11, 2022
@CV-Bowen CV-Bowen deleted the telink_irq_pr branch June 14, 2022 02:05
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.

3 participants