vlogefp
Vector Log Base 2 Estimate Floating-Point
Estimates the base 2 logarithm of single-precision floating-point elements in a vector register.
Details
For vlogefp, the single-precision floating-point estimate of the base 2 logarithm of each element in VSR[VRB+32] is placed into the corresponding element in VSR[VRT+32].
Pseudocode Operation
Programming Note
This instruction is used for estimating the base 2 logarithm of single-precision floating-point numbers in vector registers. Ensure that the Vector Facility (MSR.VEC) is enabled before using this instruction; otherwise, a Vector_Unavailable exception will be raised. The operation processes four elements at a time, so ensure proper alignment and data handling to avoid unexpected results.
Example
Encoding
Operands
-
VRT
Target Vector Register -
VRB
Source Vector Register