Re: [PATCH] RISC-V: Add pattern for vector-scalar single widening floating-point add

2025-09-19 Thread Kito Cheng
LGTM :) Paul-Antoine Arras 於 2025年9月9日 週二,18:04寫道: > This pattern enables the combine pass (or late-combine, depending on the > case) > to merge a float_extend'ed vec_duplicate into a plus RTL instruction. The > other > plus operand is already wide. > > Before this patch, we have four instruction

[PATCH] RISC-V: Add pattern for vector-scalar single widening floating-point add

2025-09-09 Thread Paul-Antoine Arras
This pattern enables the combine pass (or late-combine, depending on the case) to merge a float_extend'ed vec_duplicate into a plus RTL instruction. The other plus operand is already wide. Before this patch, we have four instructions, e.g.: fcvt.d.sfa0,fa0 vsetvli a5,zero,e64,m