Re: [PATCH v2]RISC-V:Add xuantie C908, C910, C920v1 and C920v2 to -mcpu

2025-04-18 Thread Jeff Law
On 3/20/25 3:31 AM, Yixuan Chen wrote: Hi Majin,  Thanks for your suggestion, Look like the document don't contain the following tune information: /* fmv_cost */, /* vector_unaligned_access */, /* use_divmod_expansion */, and /* overlap_op_by_pieces */ , I will follow your further modificat

Re: [PATCH v2]RISC-V:Add xuantie C908, C910, C920v1 and C920v2 to -mcpu

2025-03-20 Thread Yixuan Chen
Hi Majin, Thanks for your suggestion, Look like the document don't contain the following tune information: /* fmv_cost */, /* vector_unaligned_access */, /* use_divmod_expansion */, and /* overlap_op_by_pieces */ , I will follow your further modification and wait for the gcc16 window to send the

Re: [PATCH v2]RISC-V:Add xuantie C908, C910, C920v1 and C920v2 to -mcpu

2025-03-20 Thread Jin Ma
On Mon, 17 Mar 2025 17:31:36 +0800, Yixuan Chen wrote: > gcc/ChangeLog: > > * config/riscv/riscv-cores.def (RISCV_TUNE): Add xt-c908, xt-c910. > (RISCV_CORE): Add xt-c908, xt-c910 and xt-c920v1 and xt-c920v2. > * config/riscv/riscv.cc: Add xt-c908, xt-c910 tune info. >

Re: [PATCH v2]RISC-V:Add xuantie C908, C910, C920v1 and C920v2 to -mcpu

2025-03-18 Thread Jeff Law
On 3/17/25 3:31 AM, Yixuan Chen wrote: gcc/ChangeLog: * config/riscv/riscv-cores.def (RISCV_TUNE): Add xt-c908, xt-c910. (RISCV_CORE): Add xt-c908, xt-c910 and xt-c920v1 and xt-c920v2. * config/riscv/riscv.cc: Add xt-c908, xt-c910 tune info. * doc/invoke.te

[PATCH v2]RISC-V:Add xuantie C908, C910, C920v1 and C920v2 to -mcpu

2025-03-17 Thread Yixuan Chen
gcc/ChangeLog: * config/riscv/riscv-cores.def (RISCV_TUNE): Add xt-c908, xt-c910. (RISCV_CORE): Add xt-c908, xt-c910 and xt-c920v1 and xt-c920v2. * config/riscv/riscv.cc: Add xt-c908, xt-c910 tune info. * doc/invoke.texi: Add xt-c908, xt-c910 and xt-c920v1 and xt-c9