Re: [PATCH] RISC-V: Add patterns for vector-scalar IEEE floating-point max

2025-09-08 Thread Paul-Antoine Arras
On 06/09/2025 18:45, Jeff Law wrote: These look fine.  But the patchfile itself doesn't look like it got updated. Assuming you update the patchfile to have patterns like you've shown above and make the obvious comment fixes, then this is good to go. Sorry, seems like I attached the wrong pat

Re: [PATCH] RISC-V: Add patterns for vector-scalar IEEE floating-point max

2025-09-06 Thread Jeff Law
On 9/2/25 4:01 AM, Paul-Antoine Arras wrote: Could you try to use the iterator to merge the pattern with vfmin_vf? you can grep UNSPEC_VFMAXMIN and see the example in vector.md I have attached an amended patch as you suggested. Here is the relevant snippet: (define_insn_and_split "*v_vf_

Re: [PATCH] RISC-V: Add patterns for vector-scalar IEEE floating-point max

2025-09-04 Thread Paul-Antoine Arras
Hi Kito, On 02/09/2025 12:01, Paul-Antoine Arras wrote: Hi Kito, On 02/09/2025 05:17, Kito Cheng wrote: Hi Paul-Antoine: diff --git gcc/config/riscv/autovec-opt.md gcc/config/riscv/autovec- opt.md index d56fb5f237c..5cb34cef418 100644 --- gcc/config/riscv/autovec-opt.md +++ gcc/config/riscv

Re: [PATCH] RISC-V: Add patterns for vector-scalar IEEE floating-point max

2025-09-03 Thread Kito Cheng
Hi Paul-Antoine: > diff --git gcc/config/riscv/autovec-opt.md gcc/config/riscv/autovec-opt.md > index d56fb5f237c..5cb34cef418 100644 > --- gcc/config/riscv/autovec-opt.md > +++ gcc/config/riscv/autovec-opt.md > @@ -2163,3 +2163,41 @@ (define_insn_and_split "*vfmax_vf_" >} >[(set_attr "typ

Re: [PATCH] RISC-V: Add patterns for vector-scalar IEEE floating-point max

2025-09-02 Thread Paul-Antoine Arras
Hi Kito, On 02/09/2025 05:17, Kito Cheng wrote: Hi Paul-Antoine: diff --git gcc/config/riscv/autovec-opt.md gcc/config/riscv/autovec-opt.md index d56fb5f237c..5cb34cef418 100644 --- gcc/config/riscv/autovec-opt.md +++ gcc/config/riscv/autovec-opt.md @@ -2163,3 +2163,41 @@ (define_insn_and_spli