RE: [PATCH v1] RISC-V: Support CALL for RVV floating-point dynamic rounding

2023-07-18 Thread Li, Pan2 via Gcc-patches
Subject: Re: [PATCH v1] RISC-V: Support CALL for RVV floating-point dynamic rounding /* The RTL variable which stores the dynamic FRM value. We always use this RTX to restore dynamic FRM rounding mode in mode switching. */ rtx dynamic_frm; + + /* The boolean variables indicates there

Re: [PATCH v1] RISC-V: Support CALL for RVV floating-point dynamic rounding

2023-07-18 Thread juzhe.zh...@rivai.ai
. */ + bool static_frm_p; Add a structure wrapper to wrap these 2 variable up. juzhe.zh...@rivai.ai From: pan2.li Date: 2023-07-19 11:28 To: gcc-patches CC: juzhe.zhong; pan2.li; yanzhang.wang; kito.cheng Subject: [PATCH v1] RISC-V: Support CALL for RVV floating-point dynamic rounding From: Pan

[PATCH v1] RISC-V: Support CALL for RVV floating-point dynamic rounding

2023-07-18 Thread Pan Li via Gcc-patches
From: Pan Li In basic dynamic rounding mode, we simply ignore call instructions and we would like to take care of call in this PATCH. During the call, the frm may be updated or keep as is. Thus, we must make sure at least 2 things. 1. The static frm before call should not pollute the frm value