|
From: | Richard Henderson |
Subject: | Re: [PATCH v2 09/15] target/riscv: fpu_helper: Match function defs in HELPER macros |
Date: | Wed, 9 Dec 2020 09:56:58 -0600 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
On 12/8/20 4:56 PM, Alistair Francis wrote: > The helper functions defined in helper.h specify that the argument is of > type target_long. Let's change the implementation to match the header > definition. Given that these are riscv64 specific, you could alternately change the header definition. Dunno if that's clearer or not, considering an implementation like float32_to_int64 -- is it immediately obvious whether or not we are truncating the result? r~
[Prev in Thread] | Current Thread | [Next in Thread] |