Re: [PATCH 6/9] RISC-V: Emit costs for bool and stepped const vectors

2024-08-25 Thread Jeff Law
On 8/22/24 1:46 PM, Patrick O'Neill wrote: These cases are handled in the expander (riscv-v.cc:expand_const_vector). We need the vector builder to detect these cases so extract that out into a new riscv-v.h header file. gcc/ChangeLog: * config/riscv/riscv-v.cc (class rvv_builder): Mo

Re: [PATCH 6/9] RISC-V: Emit costs for bool and stepped const vectors

2024-08-22 Thread 钟居哲
Nice Clean up! It's very reasonable to have a dedicated riscv-v.h juzhe.zh...@rivai.ai From: Patrick O'Neill Date: 2024-08-23 03:46 To: gcc-patches CC: rdapp.gcc; juzhe.zhong; kito.cheng; jeffreyalaw; gnu-toolchain; Patrick O'Neill Subject: [PATCH 6/9] RISC-V: Emit costs for b

Re: [PATCH 6/9] RISC-V: Emit costs for bool and stepped const vectors

2024-08-22 Thread Patrick O'Neill
On 8/22/24 12:46, Patrick O'Neill wrote: These cases are handled in the expander (riscv-v.cc:expand_const_vector). We need the vector builder to detect these cases so extract that out into a new riscv-v.h header file. gcc/ChangeLog: * config/riscv/riscv-v.cc (class rvv_builder): Move

[PATCH 6/9] RISC-V: Emit costs for bool and stepped const vectors

2024-08-22 Thread Patrick O'Neill
These cases are handled in the expander (riscv-v.cc:expand_const_vector). We need the vector builder to detect these cases so extract that out into a new riscv-v.h header file. gcc/ChangeLog: * config/riscv/riscv-v.cc (class rvv_builder): Move to riscv-v.h. * config/riscv/riscv.cc