v_frexp_exp_i32_f64 GPU Native ISA AMD Vector
V FREXP EXP I32 F64 Vector Arithmetic
Extract the exponent of a double-precision float input and store the result as a signed 32-bit integer into a vector register.
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.f64 = significand * (2 ** exponent). See also V_FREXP_MANT_F64, which returns the significand. See the C library function frexp() for more information.
Related
More in Vector Arithmetic
Reference
Semantics
Example
v_frexp_exp_i32_f64 v5, -1A 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 201. - LLVM MC assembler tests for AMDGPU (gfx11) ↗ - LLVM Project