v_interp_p2_f32 GPU Native ISA AMD Vector
Vector Interpolation
Given the J coordinate in a vector register, an attribute specifier and the result of a prior V_INTERP_P1_F32 in the destination vector register…
Also written as
v_interp_p2_new_f32.
AMD's machine-readable ISA specification lists this name for the same instruction.
Encoding
Operands
-
1: VGPR
Vector general-purpose register, one value per lane. Written v0 in the assembler example. -
2: VGPR
Vector general-purpose register, one value per lane. Written -v1 in the assembler example. -
3: VGPR
Vector general-purpose register, one value per lane. Written v2 in the assembler example. -
4: VGPR
Vector general-purpose register, one value per lane. Written v3 in the assembler example.
Register classes read from the LLVM assembler example on this page. No source this site uses names these operands, so no names are given.
GFX Target Compatibility
| Target | Support |
|---|---|
| gfx1100 | ✅ Supported |
Related
More in Vector Interpolation
Reference
Description
Example
v_interp_p2_f32 v0, -v1, v2, v3A real instruction accepted by the LLVM assembler, taken verbatim from LLVM's own AMDGPU MC test suite. Not from an AMD document, and not authored here.
Sources
- User Guide for AMDGPU Backend ↗ - LLVM Project
- AMD Machine-Readable GPU ISA Specification ↗ - Advanced Micro Devices, Inc.
- LLVM MC assembler tests for AMDGPU ↗ - LLVM Project