sevl

Send Event Local (Thumb)

SEVL

Send local event (Thumb).

Details

Send Event Local sets the local event monitor to signaled state, causing any subsequent WFE instruction in the same PE to wake immediately without waiting. This is a Thumb 16-bit instruction that has no effect on condition flags. It is available in ARMv6K and later, and executes in any privilege level.

Pseudocode Operation

EventRegister[PE].LocalEvent ← 1

Example

SEVL

Encoding

Binary Layout
10111111
0101
0000
 
Format Thumb System
Opcode 0xBF50
Extension T32 (Base)

Operands

Reference (Arm AArch32 ISA)

Instruction Forms

Encoding Instruction ISA Bit pattern
0x0320F005 SEVL{<c>}{<q>} A32 cond | 00110 | 0 | 10 | 00 | 00 | 1 | 1 | 1 | 1 | 000000000101
0xBF50 SEVL{<c>}{<q>} T32 10111111 | 0101 | 0000
0xF3AF8005 SEVL{<c>}.W T32 111100111010 | 1 | 1 | 1 | 1 | 10 | 0 | 0 | 0 | 000 | 0000 | 0101

Description

Send Event Local is a hint instruction that causes an event to be signaled locally without requiring the event to be signaled to other PEs in the multiprocessor system. It can prime a wait-loop which starts with a WFE instruction.

Operation

if ConditionPassed() then
    EncodingSpecificOperations();
    SendEventLocal();