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

ABS

T2 arm64 alu insn
AArch64 A64 Instruction: ABS
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, CSSC, NEON

Summary

AArch64 ABS instruction (A64, 32-bit) with 10 encoding variants extracted from LLVM TableGen. Extensions: CSSC, NEON.

Syntax / Encoding

ABSWr: abs $Rd, $Rn
ABSv16i8: abs $Rd.16b, $Rn.16b
ABSv2i32: abs $Rd.2s, $Rn.2s
ABSv2i64: abs $Rd.2d, $Rn.2d
ABSv4i16: abs $Rd.4h, $Rn.4h
ABSv4i32: abs $Rd.4s, $Rn.4s
ABSv8i16: abs $Rd.8h, $Rn.8h
ABSv8i8: abs $Rd.8b, $Rn.8b

Cross-Chip Latency & Throughput (10 cores)

MicroarchitectureLatency (cycles)Recip. TPuopsPortsSource
Apple M1 Firestorm (P-core)30.251- - 1 u11-14apple_dougallj
Apple M1 Icestorm (E-core)30.51- - 1 u6-7apple_dougallj
AmpereOne (Ampere1B)10.251Ampere1BUnitABllvm_sched_models
Samsung Exynos M4111M4UnitNMSCllvm_sched_models
Samsung Exynos M5111M5UnitNMSCllvm_sched_models
NVIDIA Olympus (Vera)20.171OlympusUnitVllvm_sched_models
Qualcomm Oryon20.251ORYONFP0123llvm_sched_models
AmpereOne (Ampere1)30.51Ampere1UnitXYllvm_sched_models
Apple Cyclone (A7)30.331CyUnitVllvm_sched_models
Fujitsu A64FX (SVE 512b)40.51A64FXGI03llvm_sched_models

Binary Encodings (10)

WidthFormatBit PatternMask / Match
32ABSWr0101101011000000001000xxxxxxxxxx0xfffffc00 / 0x5ac02000
32ABSXr1101101011000000001000xxxxxxxxxx0xfffffc00 / 0xdac02000
32ABSv16i80100111000100000101110xxxxxxxxxx0xfffffc00 / 0x4e20b800
32ABSv1i640101111011100000101110xxxxxxxxxx0xfffffc00 / 0x5ee0b800
32ABSv2i320000111010100000101110xxxxxxxxxx0xfffffc00 / 0x0ea0b800
32ABSv2i640100111011100000101110xxxxxxxxxx0xfffffc00 / 0x4ee0b800
32ABSv4i160000111001100000101110xxxxxxxxxx0xfffffc00 / 0x0e60b800
32ABSv4i320100111010100000101110xxxxxxxxxx0xfffffc00 / 0x4ea0b800
32ABSv8i160100111001100000101110xxxxxxxxxx0xfffffc00 / 0x4e60b800
32ABSv8i80000111000100000101110xxxxxxxxxx0xfffffc00 / 0x0e20b800

Operands

NameDescription
Rd
Rn
Rd
Rn
Rd
Rn
Rd
Rn
Rd
Rn