RTEMS | [x86_64] Implement _CPU_Spin_wait() in cpu.h for SMP spin-loop throttling (#5648)

Wayne Thornton (@wmthornton-dev) gitlab at rtems.org
Wed Jul 15 19:11:45 UTC 2026



Issue created by Wayne Thornton: https://gitlab.rtems.org/rtems/rtos/rtems/-/work_items/5648



## Summary

`_CPU_Spin_wait()` is an assembly function which prevents aggressive speculative execution by the CPU during spin-wait loops. Added benefit is reduction of thermal load. 

Similar architecture-specific assembly functions will be needed for other RTEMS_SMP capable BSPs.


<!-- Pre-set options
- milestone
-->

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/work_items/5648
You're receiving this email because of your account on gitlab.rtems.org. Unsubscribe from this thread: https://gitlab.rtems.org/-/sent_notifications/4-534sxyo7ta1d128v75o6b4qcf-1d/unsubscribe | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | Help: https://gitlab.rtems.org/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260715/b0b81692/attachment.htm>


More information about the bugs mailing list