qemu-devel
[Top][All Lists]
Advanced

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

Re: [RFC PATCH 3/6] softfloat: add float*_to_uint128 conversion methods


From: Richard Henderson
Subject: Re: [RFC PATCH 3/6] softfloat: add float*_to_uint128 conversion methods
Date: Tue, 29 Mar 2022 05:48:58 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0

On 3/28/22 14:14, matheus.ferst@eldorado.org.br wrote:
+static uint64_t partsN(float_to_uint2)(FloatPartsN *p, FloatRoundMode rmode,
+                                       int scale, float_status *s, uint64_t 
*lo)
+{
+    int flags = 0;
+    uint64_t hi;

I think most of this would read cleaner with 'lo' as a local variable, assigned to *plo at the end (or, at the end, combined into the Int128 return value).

Otherwise,
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>


r~



reply via email to

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