You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "anchao (via GitHub)" <gi...@apache.org> on 2026/10/20 08:34:19 UTC

[PR] armv8-m: reset FPSCR LTPSIZE only for MVE builds [nuttx]

anchao opened a new pull request, #20832:
URL: https://github.com/apache/nuttx/pull/20832

   ## Summary                                                                                                                                                                                
                                                                                                                                                                                             
   Limit the ARMv8-M FPSCR LTPSIZE reset to MVE-enabled builds.                                                                                                                              
                                                                                                                                                                                             
   The LTPSIZE field is used by MVE tail predication. The exception paths previously reset FPSCR.LTPSIZE whenever `CONFIG_ARCH_FPU` was enabled, even on FPU-only builds without MVE support.
                                                                                                                                                                                             
   This change keeps the reset under `CONFIG_ARM_HAVE_MVE`, avoiding unnecessary FPSCR writes on non-MVE FPU configurations while preserving the required MVE tail-predication semantics.    
                                                                                                                                                                                             
   ## Impact                                                                                                                                                                                 
                                                                                                                                                                                             
   - Avoids unnecessary FPSCR writes on FPU-only ARMv8-M builds.                                                                                                                             
   - Keeps MVE exception-path behavior unchanged.                                                                                                                                            
   - Preserves the VPR/MVE context model.                                                                                                                                                    
                                                                                                                                                                                             
   ## Testing                                                                                                                                                                                
                                                                                                                                                                                             
   Built and ostest successfully with:                                                                                                                                                                  
                                                                                                                                                                                             
   - `ek-ra8m1:nsh`                                                                                                                                                                          
   - `mps3-an547:nsh`                                                                                                                                                                        
   


-- 
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: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] armv8-m: reset FPSCR LTPSIZE only for MVE builds [nuttx]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #20832:
URL: https://github.com/apache/nuttx/pull/20832#issuecomment-6299243573

   <!-- membrowse-pr-comment -->
   ## <img src="https://membrowse.com/membrowse-logo.svg" height="24" align="top"> MemBrowse Memory Report &middot; [Explore what changed →](https://membrowse.com/public/apache/nuttx?commit_sha=f610d95b298cd4f0727e32907afbe915dd8614c4)
   
   
   *No memory changes detected for:*
   - [arduino-mega2560](https://membrowse.com/public/apache/nuttx/target/arduino-mega2560/compare?head=f610d95b298cd4f0727e32907afbe915dd8614c4&base=f479de022ef3f281e01dbc248b1a199693a907e1)
   - [esp32-devkitc](https://membrowse.com/public/apache/nuttx/target/esp32-devkitc/compare?head=f610d95b298cd4f0727e32907afbe915dd8614c4&base=f479de022ef3f281e01dbc248b1a199693a907e1)
   - [hifive1-revb](https://membrowse.com/public/apache/nuttx/target/hifive1-revb/compare?head=f610d95b298cd4f0727e32907afbe915dd8614c4&base=f479de022ef3f281e01dbc248b1a199693a907e1)
   - [mirtoo](https://membrowse.com/public/apache/nuttx/target/mirtoo/compare?head=f610d95b298cd4f0727e32907afbe915dd8614c4&base=f479de022ef3f281e01dbc248b1a199693a907e1)
   - [qemu-armv8a](https://membrowse.com/public/apache/nuttx/target/qemu-armv8a/compare?head=f610d95b298cd4f0727e32907afbe915dd8614c4&base=f479de022ef3f281e01dbc248b1a199693a907e1)
   - [qemu-intel64](https://membrowse.com/public/apache/nuttx/target/qemu-intel64/compare?head=f610d95b298cd4f0727e32907afbe915dd8614c4&base=f479de022ef3f281e01dbc248b1a199693a907e1)
   - [rx65n-rsk2mb](https://membrowse.com/public/apache/nuttx/target/rx65n-rsk2mb/compare?head=f610d95b298cd4f0727e32907afbe915dd8614c4&base=f479de022ef3f281e01dbc248b1a199693a907e1)
   - [s698pm-dkit](https://membrowse.com/public/apache/nuttx/target/s698pm-dkit/compare?head=f610d95b298cd4f0727e32907afbe915dd8614c4&base=f479de022ef3f281e01dbc248b1a199693a907e1)
   - [stm32-nucleo-f103rb](https://membrowse.com/public/apache/nuttx/target/stm32-nucleo-f103rb/compare?head=f610d95b298cd4f0727e32907afbe915dd8614c4&base=f479de022ef3f281e01dbc248b1a199693a907e1)
   
   ---
   <sub>Catch memory regressions in CI with [MemBrowse](https://membrowse.com). Free for open source.</sub>
   


-- 
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: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] armv8-m: reset FPSCR LTPSIZE only for MVE builds [nuttx]

Posted by "Donny9 (via GitHub)" <gi...@apache.org>.
Donny9 merged PR #20832:
URL: https://github.com/apache/nuttx/pull/20832


-- 
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: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org