v_frexp_mant_f32 GPU Native ISA AMD Vector
V FREXP MANT F32 Vector Arithmetic
Extract the binary significand, or mantissa, of a single-precision float input and store the result as a single- precision float into a vector…
Encoding
Operands
Operand details have not yet been curated for this instruction.
GFX Target Compatibility
| Target | Support |
|---|---|
| gfx1100 | ✅ Supported |
This operation satisfies the invariant S0.f32 = significand * (2 ** exponent). Result range is in (-1.0,-0.5][0.5,1.0) in normal cases. See also V_FREXP_EXP_I32_F32, which returns integer exponent. See the C library function frexp() for more information.
Related
More in Vector Arithmetic
Reference
Description
Semantics
Example
v_frexp_mant_f32 v5, v1A real instruction accepted by the LLVM assembler, taken verbatim from LLVM's own AMDGPU MC test suite (gfx11). Not from an AMD document, and not authored here.
Sources
- User Guide for AMDGPU Backend ↗ - LLVM Project
-
"AMD Instinct MI300" Instruction Set Architecture: Reference Guide ↗
- Advanced Micro Devices, Inc.
Reference Guide, page 203. - LLVM MC assembler tests for AMDGPU (gfx11) ↗ - LLVM Project