SIMD ISAReturn TypeNameArgumentsInstruction Group
Neonbfloat16x8_tvcvtq_high_bf16_f32(bfloat16x8_t inactive, float32x4_t a)Data type conversion / Conversions
Description
Floating-point convert from single-precision to BFloat16 format (vector) reads each single-precision element in the SIMD&FP source vector, converts each value to BFloat16 format, and writes the results in the lower or upper half of the SIMD&FP destination vector. The result elements are half the width of the source elements.
Results
Vd.8H result
This intrinsic compiles to the following instructions:

BFCVTN2 Vd.8H,Vn.4S

Argument Preparation
inactive register: Vd.8Ha register: Vn.4S
Architectures
A32, A64

Operation

CheckFPAdvSIMDEnabled64();
bits(128) operand = V[n];
bits(64) result;

for e = 0 to elements-1
    Elem[result, e, 16] = FPConvertBF(Elem[operand, e, 32], FPCR[]);

Vpart[d, part] = result;