On 5/31/19 5:44 AM, David Hildenbrand wrote:
> +    for (i = 0; i < 2; i++) {
> +        /* load from even element */
> +        const float32 a = make_float32(s390_vec_read_element32(v2, i * 2));

I suppose.

You could also reuse vop64_2 with

static uint64_t vfll(uint64_t a, float_status *s)
{
    /* Even float32 are stored in the high half of each doubleword.  */
    return float32_to_float64(a >> 32, s);
}


r~

Reply via email to