ISARef Multi-ISA & Silicon Reference
45,419 ISA items · 105,907 timings · 913 microarchs · 15,555 chips · 105 sources
Arch:
Tier:

REV

T2 arm64 matrix insn
AArch64 SME Instruction: REV
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, SVE_or_SME

Summary

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

Syntax / Encoding

REV_PP_B: rev $Pd, $Pn
REV_ZZ_B: rev $Zd, $Zn

Cross-Chip Latency & Throughput (9 cores)

MicroarchitectureLatency (cycles)Recip. TPuopsPortsSource
Apple M1 Firestorm (P-core)10.16711 - - u1-6apple_dougallj
Apple M1 Icestorm (E-core)10.33311 - - u1-3apple_dougallj
Samsung Exynos M310.331M3UnitNSHFllvm_sched_models
Samsung Exynos M410.51M4UnitNSHFllvm_sched_models
Samsung Exynos M51–20.171M5UnitNSHFllvm_sched_models
HiSilicon TaiShan v110212TSV110UnitFSU1+TSV110UnitFSU2llvm_sched_models
Qualcomm Oryon20.251ORYONFP0123llvm_sched_models
Arm C1-Nano30.51C1NanoUnitVALUllvm_sched_models
Fujitsu A64FX (SVE 512b)611A64FXGI0llvm_sched_models

Binary Encodings (8)

WidthFormatBit PatternMask / Match
32REV_PP_B00000101001101000100000xxxx0xxxx0xfffffe10 / 0x05344000
32REV_PP_D00000101111101000100000xxxx0xxxx0xfffffe10 / 0x05f44000
32REV_PP_H00000101011101000100000xxxx0xxxx0xfffffe10 / 0x05744000
32REV_PP_S00000101101101000100000xxxx0xxxx0xfffffe10 / 0x05b44000
32REV_ZZ_B0000010100111000001110xxxxxxxxxx0xfffffc00 / 0x05383800
32REV_ZZ_D0000010111111000001110xxxxxxxxxx0xfffffc00 / 0x05f83800
32REV_ZZ_H0000010101111000001110xxxxxxxxxx0xfffffc00 / 0x05783800
32REV_ZZ_S0000010110111000001110xxxxxxxxxx0xfffffc00 / 0x05b83800

Operands

NameDescription
Pd
Pn
Pd
Pn
Pd
Pn
Pd
Pn
Zd
Zn
Zd
Zn
Zd
Zn