On 8/17/20 1:49 AM, [email protected] wrote: > From: Frank Chang <[email protected]> > > * Add fp16 nan-box check generator function, if a 16-bit input is not > properly nanboxed, then the input is replaced with the default qnan. > * Add do_nanbox() helper function to utilize gen_check_nanbox_X() to > generate the NaN-boxed floating-point values based on SEW setting. > * Apply nanbox helper in opfvf_trans > > Signed-off-by: Frank Chang <[email protected]> > --- > target/riscv/insn_trans/trans_rvv.inc.c | 35 ++++++++++++++++++++++++- > target/riscv/translate.c | 10 +++++++ > 2 files changed, 44 insertions(+), 1 deletion(-)
Reviewed-by: Richard Henderson <[email protected]> r~
