tex.2d
llvm_nvptx_isa)NVIDIA CUDA PTX (sm_20 Fermi through sm_121 Blackwell)
llvm/main
userPTX Virtual ISASummary
NVIDIA PTX tex.2d instruction (PTX Virtual ISA) with 12 encoding variants extracted from LLVM TableGen.
Syntax / Encoding
TEX_2D_F32_F32: tex.2d.v4.f32.f32 \{$r, $g, $b, $a\}, [$t, $s, \{$x, $y\}];
TEX_2D_F32_S32: tex.2d.v4.f32.s32 \{$r, $g, $b, $a\}, [$t, $s, \{$x, $y\}];
TEX_2D_S32_F32: tex.2d.v4.s32.f32 \{$r, $g, $b, $a\}, [$t, $s, \{$x, $y\}];
TEX_2D_S32_S32: tex.2d.v4.s32.s32 \{$r, $g, $b, $a\}, [$t, $s, \{$x, $y\}];
TEX_2D_U32_F32: tex.2d.v4.u32.f32 \{$r, $g, $b, $a\}, [$t, $s, \{$x, $y\}];
TEX_2D_U32_S32: tex.2d.v4.u32.s32 \{$r, $g, $b, $a\}, [$t, $s, \{$x, $y\}];
TEX_UNIFIED_2D_F32_F32: tex.2d.v4.f32.f32 \{$r, $g, $b, $a\}, [$t, \{$x, $y\}];
TEX_UNIFIED_2D_F32_S32: tex.2d.v4.f32.s32 \{$r, $g, $b, $a\}, [$t, \{$x, $y\}];
Operands
| Name | Description |
|---|---|
r | |
g | |
b | |
a | |
t | |
x | |
y |