Re: [PATCH] RISC-V: Allow different dynamic floating point mode to be merged [PR119832]

2025-04-30 Thread Kito Cheng
pushed to the trunk :) Vineet: Feel free to drop TARGET_MODE_CONFLUENCE once you have a better solution :) On Wed, Apr 30, 2025 at 12:50 PM Robin Dapp wrote: > > > Although we already try to set the mode needed to FRM_DYN after a function > > call, > > there are still some corner cases where bo

Re: [PATCH] RISC-V: Allow different dynamic floating point mode to be merged [PR119832]

2025-04-29 Thread Robin Dapp
Although we already try to set the mode needed to FRM_DYN after a function call, there are still some corner cases where both FRM_DYN and FRM_DYN_CALL may appear on incoming edges. Therefore, we use TARGET_MODE_CONFLUENCE to tell GCC that FRM_DYN, FRM_DYN_CALL, and FRM_DYN_EXIT modes are compatib

Re: [PATCH] RISC-V: Allow different dynamic floating point mode to be merged [PR119832]

2025-04-29 Thread 钟居哲
LGTM juzhe.zh...@rivai.ai From: Kito Cheng Date: 2025-04-29 11:35 To: gcc-patches; kito.cheng; palmer; jeffreyalaw; rdapp; juzhe.zhong; pan2.li; vineetg CC: Kito Cheng Subject: [PATCH] RISC-V: Allow different dynamic floating point mode to be merged [PR119832] Although we already try to set

RE: [PATCH] RISC-V: Allow different dynamic floating point mode to be merged [PR119832]

2025-04-29 Thread Li, Pan2
; pal...@dabbelt.com; jeffreya...@gmail.com; rd...@ventanamicro.com; juzhe.zh...@rivai.ai; Li, Pan2 ; vine...@rivosinc.com Cc: Kito Cheng Subject: [PATCH] RISC-V: Allow different dynamic floating point mode to be merged [PR119832] Although we already try to set the mode needed to FRM_DYN after a function

[PATCH] RISC-V: Allow different dynamic floating point mode to be merged [PR119832]

2025-04-28 Thread Kito Cheng
Although we already try to set the mode needed to FRM_DYN after a function call, there are still some corner cases where both FRM_DYN and FRM_DYN_CALL may appear on incoming edges. Therefore, we use TARGET_MODE_CONFLUENCE to tell GCC that FRM_DYN, FRM_DYN_CALL, and FRM_DYN_EXIT modes are compatibl