pussuw opened a new pull request, #9486: URL: https://github.com/apache/nuttx/pull/9486
## Summary This implements / restores lazy-FPU functionality which was lost after the user context was moved into the stack. It moves FPU context away from the stack into a separate FPU save area in the TCB. This area is not volatile / prone to the stack moving, thus it is safe to use for lazy FPU saving / restoring. ## Impact Architecturally quite significant, but brings a nice performance boost and also fixes a nasty bug in the current FPU save/restore. Some statistics; https://github.com/apache/nuttx/pull/9103#discussion_r1214096917 2.7% decrease in CPU load is well worth the change. ## Testing icicle:nsh + icicle:knsh NOTE: This (https://github.com/apache/nuttx/pull/9485) change is required in conjunction for CONFIG_BUILD_KERNEL, otherwise there is a risk of system crash when saving FPU state. It happens when a temporary address environment switch is active and the process's own address environment is not available (happens during posix_spawn() for example) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
