v_sin_f32 GPU Native ISA AMD Vector

V SIN F32 Vector Arithmetic

v_sin_f32 VDST, S0

Per-lane fast approximate sine.

Encoding

Verified bit-level encoding data is not yet available for this instruction. The instruction-format classification below (VOP1) is well-documented and stable; exact per-target opcode/field bit positions have not yet been imported from a verified source.
Format VOP1
Width 32 bits
Execution Unit Vector ALU
Register Classes VGPR

Operands

  • VDST
    Destination VGPR
  • S0
    Source operand (radians, pre-scaled per hardware convention)

GFX Target Compatibility

TargetSupport
gfx942✅ Supported
gfx1100✅ Supported

Related PTX Concepts

Special-Function Approximation ↗
equivalent with restrictions
rsqrt (PTX)
sin (PTX)
lg2 (PTX)

Reference

AMDGPU / GFX ISA

Semantics

VDST[lane] ≈ sin(S0[lane].f32) for each active lane, valid over a hardware-defined input range.

Sources