__builtin_vsx_xvcvbf16spn
Purpose
Converts a vector of bfloat16 values to a vector of single-precision values.
Note: This built-in function
is valid only when both of the following conditions are met:
- The -mcpu option is set to target Power10 processors.
- The compiler mode is 64-bit.
Syntax
d = __builtin_vsx_xvcvbf16spn(a)
Result and argument types
The following table describes the types of the returned value and the function argument.
| d | a |
|---|---|
| vector unsigned char | vector unsigned char |
Result value
Each element of d is
the corresponding element of a with the value converted from bfloat16 to single precision.