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

S4_vxaddsubhr

T2 hexagon alu insn
Hexagon Hexagon VLIW Instruction: S4_vxaddsubhr
SourceLLVM Qualcomm Hexagon DSP & HVX Instruction Definitions (llvm_hexagon_isa)
Reliability TierT2 — Compiler & Kernel Reference
ISA / Silicon ScopeHexagon v79 / HVX (Hexagon VLIW)
Qualcomm Hexagon v55–v79 DSP / HVX (Snapdragon SoCs)
License & VersionApache-2.0 WITH LLVM-exception
llvm/main
Upstreamhttps://github.com/llvm/llvm-project/tree/main/llvm/lib/Target/Hexagon
Privilegeuser
ExtensionsHexagon VLIW

Summary

Hexagon S4_vxaddsubhr instruction (Hexagon VLIW, 32-bit) with 1 encoding variant extracted from LLVM TableGen.

Syntax / Encoding

S4_vxaddsubhr: $Rdd32 = vxaddsubh($Rss32,$Rtt32):rnd:>>1:sat

Binary Encodings (1)

WidthFormatBit PatternMask / Match
32S4_vxaddsubhr11000001110xxxxxxx0xxxxx000xxxxx0xffe020e0 / 0xc1c00000

Operands

NameDescription
Rdd32
Rss32
Rtt32