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

SWPA

T2 arm64 load_store insn
AArch64 A64 Instruction: SWPA
SourceLLVM AArch64 Instruction & Feature Definitions (llvm_aarch64_isa)
Reliability TierT2 — Compiler & Kernel Reference
ISA / Silicon ScopeArmv8-A / Armv9-A (A64)
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
ExtensionsA64, LSE

Summary

AArch64 SWPA instruction (A64, 32-bit) with 2 encoding variants extracted from LLVM TableGen. Extensions: LSE.

Syntax / Encoding

SWPAW: swpa $Rs, $Rt, [$Rn]

Cross-Chip Latency & Throughput (5 cores)

MicroarchitectureLatency (cycles)Recip. TPuopsPortsSource
Apple M1 Firestorm (P-core)3–3.0472—2 -apple_dougallj
Apple M1 Icestorm (E-core)62—2 -apple_dougallj
Fujitsu A64FX (SVE 512b)00.51A64FXGI56llvm_sched_models
Marvell ThunderX3 T11060.253THX3T110I0123llvm_sched_models
Marvell ThunderX2 T99120.56THX2T99LS01+THX2T99I012llvm_sched_models

Binary Encodings (2)

WidthFormatBit PatternMask / Match
32SWPAW10111000101xxxxx100000xxxxxxxxxx0xffe0fc00 / 0xb8a08000
32SWPAX11111000101xxxxx100000xxxxxxxxxx0xffe0fc00 / 0xf8a08000

Operands

NameDescription
Rt
Rs
Rn
Rt
Rs