qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] riscv: Format Rd of FMV.W.X with NoN-boxing


From: Richard Henderson
Subject: Re: [PATCH] riscv: Format Rd of FMV.W.X with NoN-boxing
Date: Thu, 23 Jan 2020 08:52:54 -1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1

On 1/22/20 6:05 PM, Ian Jiang wrote:
> But I am not clear where to call this new helper gen_nanbox_fpr(). Is
> there a position that could affect all floating-point instructions? So
> that we don't have to modify so many translating functions. Please
> give more details.

No, this will have to be called for each instruction individually.

That said, all of the insns that use helper functions, such as fsqrt_s, should
be doing the nan-boxing within the helper function.  Thus you'll want a
different helper function for use within fpu_helper.c.


r~



reply via email to

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