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~