Instruction
NOT
Inverts every bit of an operand without changing the flags; APX adds a three-operand form.
- Extensions
- Forms
- 14 (6 Legacy, 8 EVEX)
- Data
- Intel XED v2026.08.23
Forms
| Instruction | Encoding | Requires |
|---|---|---|
NOT m8
NOT_MEMb | F6 /2 | Base instruction set |
NOT r8
NOT_GPR8 | F6 /2 | Base instruction set |
NOT m16/32/64
NOT_MEMv | F7 /2 | Base instruction set |
NOT r16/32/64
NOT_GPRv | F7 /2 | Base instruction set |
LOCK NOT m8
NOT_LOCK_MEMb | F6 /2 | Base instruction set |
LOCK NOT m16/32/64
NOT_LOCK_MEMv | F7 /2 | Base instruction set |
NOT r8
NOT_GPR8i8_APX | EVEX.LLZ.NP.MAP4.WIG F6 /2 | APX_F |
NOT m8
NOT_MEMi8_APX | EVEX.LLZ.NP.MAP4.WIG F6 /2 | APX_F |
NOT r8, r8 NDD
NOT_GPR8i8_GPR8i8_APX_N3 | EVEX.LLZ.NP.MAP4.WIG F6 /2 ND=1 | APX_F + APX_NCI_NDD_NF |
NOT r8, m8 NDD
NOT_GPR8i8_MEMi8_APX_N3 | EVEX.LLZ.NP.MAP4.WIG F6 /2 ND=1 | APX_F + APX_NCI_NDD_NF |
NOT r16/32/64
NOT_GPRv_APX | EVEX.LLZ.NP.MAP4.SCALABLE F7 /2 | APX_F |
NOT m16/32/64
NOT_MEMv_APX | EVEX.LLZ.NP.MAP4.SCALABLE F7 /2 | APX_F |
NOT r16/32/64, r16/32/64 NDD
NOT_GPRv_GPRv_APX_N3 | EVEX.LLZ.NP.MAP4.SCALABLE F7 /2 ND=1 | APX_F + APX_NCI_NDD_NF |
NOT r16/32/64, m16/32/64 NDD
NOT_GPRv_MEMv_APX_N3 | EVEX.LLZ.NP.MAP4.SCALABLE F7 /2 ND=1 | APX_F + APX_NCI_NDD_NF |
Intrinsics
The C intrinsics of Clang 23.1.2 that compile to NOT, each with the form it compiles to and the Clang options it needs. The forms come from compiling every intrinsic and decoding the result with Intel XED; all intrinsics A–Z explains the method.
| Intrinsic | Compiles to |
|---|---|
_knot_mask32
__mmask32 _knot_mask32(__mmask32 __M) |
|
_knot_mask64
__mmask64 _knot_mask64(__mmask64 __M) |
|
_knot_mask8
__mmask8 _knot_mask8(__mmask8 __M) |
|
_mm512_knot
__mmask16 _mm512_knot(__mmask16 __M) |
|
CPUID and processors
Each form belongs to an XED ISA set. A form can be used when the processor reports every CPUID bit of one of its ISA set's alternatives.
| ISA set | CPUID | Processors in XED |
|---|---|---|
I86 | No CPUID bit: part of the base instruction set. | Every x86-64 processor in XED’s model |
APX_F | APX_F | Nova Lake, Diamond Rapids |
APX_F_N3 | APX_F + APX_NCI_NDD_NF | Nova Lake, Diamond Rapids |
More General-purpose instructions
- JRCXZ
- LDS
- LEA
- LEAVE
- LES
- LFS
- LGS
- LODS
- LOOP
- LOOPE
- LOOPNE
- LSS
- MOV
- MOVS
- MOVSX
- MOVSXD
- MOVZX
- MUL
- NEG
- NOP
- OR
- OUT
- OUTS
- PAUSE
- POP
- POPA
- POPF
- PUSH
- PUSHA
- PUSHF
- RCL
- RCR
- RET
- ROL
- ROR
- SALC
- SAR
- SBB
- SCAS
- SETcc
All 109 General-purpose instructions
More APX instructions
Sources
- Intel XED v2026.08.23 (commit
0bcb6237345c): forms, encodings, ISA sets, CPUID bits and chip model. - Clang's x86 intrinsic headers, LLVM 23.1.2 (commit
85ac56026243): the intrinsics, their signatures and doc comments, and the Clang of that release, which compiled each of them. - Intel 64 and IA-32 Architectures Software Developer's Manual, Volume 2 (325383-092, June 2026)
- Intel 64 and IA-32 Architectures Software Developer's Manual, Volume 2 (325383-093, September 2026)
- Intel Advanced Performance Extensions (Intel APX) Architecture Specification, revision 7.0 (July 2025)
The tables are derived from Intel XED, Copyright Intel Corporation, licensed under the Apache License 2.0; x86-64.net converted and reformatted them. The intrinsics and their signatures come from Clang, part of the LLVM Project, licensed under the Apache License 2.0 with LLVM Exceptions. The text is our own.