W
WFE
✅ Wait For Event Puts the core into a low-power sleep state until an event signal arrives (from SEV or an exclusive-access failure). Commonly used in spinlock backoff loops to save power while waiting.
✅ 이벤트 대기 이벤트 신호(SEV로부터, 또는 배타적 접근 실패시)가 도착할 때까지 코어를 저전력 대기 상태로 만듭니다. 스핀락 대기 루프에서 전력을 아끼기 위해 흔히 사용됩니다.
Syntax
WFE
Example
WFE // 락이 풀릴 때까지 저전력으로 대기
WFI
✅ Wait For Interrupt. Puts the core into a low-power sleep state until an interrupt arrives.
✅ 인터럽트 대기. 인터럽트가 도착할 때까지 코어를 저전력 대기 상태로 만듭니다.
Syntax
WFI
Example
WFI
🔗