ISARef Multi-ISA & Silicon Reference
45,419 ISA items · 105,907 timings · 1,823 microarchs · 16,083 chips · 105 sources
Arch:
Tier:

CNOT

T2 arm64 matrix insn
AArch64 SME Instruction: CNOT
SourceLLVM AArch64 Instruction & Feature Definitions (llvm_aarch64_isa)
Reliability TierT2 — Compiler & Kernel Reference
ISA / Silicon ScopeArmv8-A / Armv9-A (SME)
Armv8-A / Armv9-A (SVE, SVE2, SME, FP8, MTE, Apple Silicon)
License & VersionApache-2.0 WITH LLVM-exception
llvm/main
Upstreamhttps://github.com/llvm/llvm-project/tree/main/llvm/lib/Target/AArch64
Privilegeuser
ExtensionsSME, SVE2p2_or_SME2p2, SVE_or_SME

Summary

AArch64 CNOT instruction (SME, 32-bit) with 8 encoding variants extracted from LLVM TableGen. Extensions: SVE2p2_or_SME2p2, SVE_or_SME.

Syntax / Encoding

CNOT_ZPmZ_B: cnot $Zd, $Pg/m, $Zn
CNOT_ZPzZ_B: cnot $Zd, $Pg/z, $Zn

Cross-Chip Latency & Throughput (1 cores)

MicroarchitectureLatency (cycles)Recip. TPuopsPortsSource
NVIDIA Olympus (Vera)20.171OlympusUnitVllvm_sched_models

Binary Encodings (8)

WidthFormatBit PatternMask / Match
32CNOT_ZPmZ_B0000010000011011101xxxxxxxxxxxxx0xffffe000 / 0x041ba000
32CNOT_ZPmZ_D0000010011011011101xxxxxxxxxxxxx0xffffe000 / 0x04dba000
32CNOT_ZPmZ_H0000010001011011101xxxxxxxxxxxxx0xffffe000 / 0x045ba000
32CNOT_ZPmZ_S0000010010011011101xxxxxxxxxxxxx0xffffe000 / 0x049ba000
32CNOT_ZPzZ_B0000010000001011101xxxxxxxxxxxxx0xffffe000 / 0x040ba000
32CNOT_ZPzZ_D0000010011001011101xxxxxxxxxxxxx0xffffe000 / 0x04cba000
32CNOT_ZPzZ_H0000010001001011101xxxxxxxxxxxxx0xffffe000 / 0x044ba000
32CNOT_ZPzZ_S0000010010001011101xxxxxxxxxxxxx0xffffe000 / 0x048ba000

Operands

NameDescription
Zd
_Zd
Pg
Zn
Zd
_Zd
Zn
Zd
_Zd
Zn
Zd
_Zd
Zn