Re: Re: [PATCH] RISC-V: Support RVV floating-point ternary auto-vectorization

2023-06-21 Thread 钟居哲
Hi, Jeff. I tried again: +(define_expand "fma4" + [(parallel +[(set (match_operand:VF_AUTO 0 "register_operand") + (fma:VF_AUTO + (match_operand:VF_AUTO 1 "register_operand") + (match_operand:VF_AUTO 2 "register_operand") + (match_operand:VF_AUTO 3 "regis

Re: Re: [PATCH] RISC-V: Support RVV floating-point ternary auto-vectorization

2023-06-21 Thread 钟居哲
I have tried: (define_expand "fms4" [(parallel [(set (match_operand:VF_AUTO 0 "register_operand") (fma:VF_AUTO (match_operand:VF_AUTO 1 "register_operand") (match_operand:VF_AUTO 2 "register_operand") (neg:VF_AUTO (match_operand:VF_AUTO 3 "register_operand"

Re: Re: [PATCH] RISC-V: Support RVV floating-point ternary auto-vectorization

2023-06-21 Thread 钟居哲
I failed to make Pmode of the of operand. I have tried the following clobber (match_dup_4) But it causes to many issues. I do many tries turns out only the current solution can work. juzhe.zh...@rivai.ai From: Jeff Law Date: 2023-06-21 23:15 To: Juzhe-Zhong; gcc-patches CC: kito.cheng; kito