qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH RFC 3/3] target/arm: Implement SVE2 FCVTXNT


From: Richard Henderson
Subject: Re: [PATCH RFC 3/3] target/arm: Implement SVE2 FCVTXNT
Date: Tue, 16 Jun 2020 11:59:39 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0

On 4/28/20 10:43 AM, Stephen Long wrote:
> +void HELPER(sve2_fcvtxnt)(void *vd, void *vn, void *vg,
> +                          void *status, uint32_t desc)
> +{
> +    set_float_rounding_mode(float_round_to_odd, status);
> +    HELPER(sve2_fcvtnt_ds)(vd, vn, vg, status, desc);
> +}

This is incorrect, as it leaves the rounding mode set to odd.

I've adjusted trans_FCVTXNT to the existing do_frint_mode, which handles
switching to and back from a fixed rounding mode.


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]