CLUI

Clear User Interrupt Flag

stableVMJITAOTinstruction

Encodings

OpcodeInstructionOp/En64-bitCompat/LegacyDescription
F3 0F 01 EECLUIZOValidInvalidClear user interrupt flag; user interrupts blocked when user interrupt flag cleared.

Measured cost

Loading measurements from arch-data...

Description

CLUI clears the user interrupt flag (UIF). Its effect takes place immediately: a user interrupt cannot be delivered on the instruction boundary following CLUI. An execution of CLUI inside a transactional region causes a transactional abort; the abort loads EAX as it would have had it been caused due to an execution of CLI.

Operation

UIF := 0;

Flags affected

None.

Exceptions

Protected mode
#UDThe CLUI instruction is not recognized in protected mode.
Real address mode
#UDThe CLUI instruction is not recognized in real-address mode.
Virtual-8086 mode
#UDThe CLUI instruction is not recognized in virtual-8086 mode.
Compatibility mode
#UDThe CLUI instruction is not recognized in compatibility mode.
64-bit mode
#UDIf the LOCK prefix is used. If executed inside an enclave. If CR4.UINTR = 0. If CPUID.07H.00H:EDX.UINTR[5] = 0.

Sources