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

Saving FPU registers during IRQ Handler #385

Open
Surysingh opened this issue Aug 17, 2023 · 1 comment
Open

Saving FPU registers during IRQ Handler #385

Surysingh opened this issue Aug 17, 2023 · 1 comment

Comments

@Surysingh
Copy link

Hi All,
For Aarch64, in file arch\arm64\exceptions.s, for arm64_irq_current_el_SPx, why floating point state and registers are not saved?

Is there not a chance that interrupt service routine / handler will use and hence corrupt the floating point registers

@travisg
Copy link
Member

travisg commented Feb 3, 2024

This is correct. Nothing in the IRQ or scheduler path should use the FPU, so the context is not saved. This speeds things up greatly, since it takes quite a bit of time and space to save the full fpu/vector state.

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

No branches or pull requests

2 participants