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

tex.3d

T2 nvidia-gpu alu insn
NVIDIA PTX PTX Virtual ISA Instruction: tex.3d
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

Summary

NVIDIA PTX tex.3d instruction (PTX Virtual ISA) with 12 encoding variants extracted from LLVM TableGen.

Syntax / Encoding

TEX_3D_F32_F32: tex.3d.v4.f32.f32 \{$r, $g, $b, $a\}, [$t, $s, \{$x, $y, $z, $z\}];
TEX_3D_F32_S32: tex.3d.v4.f32.s32 \{$r, $g, $b, $a\}, [$t, $s, \{$x, $y, $z, $z\}];
TEX_3D_S32_F32: tex.3d.v4.s32.f32 \{$r, $g, $b, $a\}, [$t, $s, \{$x, $y, $z, $z\}];
TEX_3D_S32_S32: tex.3d.v4.s32.s32 \{$r, $g, $b, $a\}, [$t, $s, \{$x, $y, $z, $z\}];
TEX_3D_U32_F32: tex.3d.v4.u32.f32 \{$r, $g, $b, $a\}, [$t, $s, \{$x, $y, $z, $z\}];
TEX_3D_U32_S32: tex.3d.v4.u32.s32 \{$r, $g, $b, $a\}, [$t, $s, \{$x, $y, $z, $z\}];
TEX_UNIFIED_3D_F32_F32: tex.3d.v4.f32.f32 \{$r, $g, $b, $a\}, [$t, \{$x, $y, $z, $z\}];
TEX_UNIFIED_3D_F32_S32: tex.3d.v4.f32.s32 \{$r, $g, $b, $a\}, [$t, \{$x, $y, $z, $z\}];

Operands

NameDescription
r
g
b
a
t
x
y
z