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

sub.rn

T2 nvidia-gpu alu insn
NVIDIA PTX PTX Virtual ISA Instruction: sub.rn
SourceLLVM NVIDIA PTX Virtual ISA & Feature Definitions (llvm_nvptx_isa)
Reliability TierT2 — Compiler & Kernel Reference
ISA / Silicon ScopeNVIDIA PTX (LLVM) (PTX Virtual ISA)
NVIDIA CUDA PTX (sm_20 Fermi through sm_121 Blackwell)
License & VersionApache-2.0 WITH LLVM-exception
llvm/main
Upstreamhttps://github.com/llvm/llvm-project/tree/main/llvm/lib/Target/NVPTX
Privilegeuser
ExtensionsPTX Virtual ISA, PTX78, SM100, SM90, hasBF16Math, hasF32x2Instructions, hasFP16x2MixedPrecisionSupport

Summary

NVIDIA PTX sub.rn instruction (PTX Virtual ISA) with 21 encoding variants extracted from LLVM TableGen. Extensions: PTX78, SM100, SM90, hasBF16Math.

Syntax / Encoding

FSUB_rnf64: sub.rn.f64 $dst, $a, $b;
SUB_RN_F16: sub.rn.f16 $dst, $a, $b;
SUB_RN_F16X2: sub.rn.f16x2 $dst, $a, $b;
SUB_RN_FTZ_F16: sub.rn.ftz.f16 $dst, $a, $b;
SUB_RN_FTZ_F16X2: sub.rn.ftz.f16x2 $dst, $a, $b;
SUB_RN_FTZ_SAT_F16: sub.rn.ftz.sat.f16 $dst, $a, $b;
SUB_RN_FTZ_SAT_F16X2: sub.rn.ftz.sat.f16x2 $dst, $a, $b;
SUB_RN_SAT_F16: sub.rn.sat.f16 $dst, $a, $b;

Operands

NameDescription
dst
a
b
dst
a
b
dst
a
b
a
b