Re: [PATCH] RISC-V: Fix factor in dwarf_poly_indeterminate_value [PR116305]

2024-08-19 Thread Jonathan Wakely via Gcc-bugs
Hi, It's not useful to CC the gcc-bugs list with patches. Please just send the patch to the gcc-patches list (and any other appropriate lists, like libstdc++ or fortran, if appropriate). If you want to update the bugzilla report, you can manually add a comment to it with the URL of the patch submi

Re: [PATCH] RISC-V: Fix factor in dwarf_poly_indeterminate_value [PR116305]

2024-08-16 Thread Zhijin Zeng
This is my first time submitting a patch to gcc and sincerely thank you all for your help. Zhijin > From: "Li, Pan2" > Date:  Sat, Aug 17, 2024, 12:15 > Subject:  RE: [PATCH] RISC-V: Fix factor in dwarf_poly_indeterminate_value > [PR116305] > To: "Li, Pan2&q

RE: [PATCH] RISC-V: Fix factor in dwarf_poly_indeterminate_value [PR116305]

2024-08-16 Thread Li, Pan2 via Gcc-bugs
Should be in upstream already. Pan -Original Message- From: Li, Pan2 Sent: Saturday, August 17, 2024 11:45 AM To: Zhijin Zeng Cc: gcc-patc...@gcc.gnu.org; gcc-bugs@gcc.gnu.org; Kito Cheng Subject: RE: [PATCH] RISC-V: Fix factor in dwarf_poly_indeterminate_value [PR116305] Ok, I

RE: [PATCH] RISC-V: Fix factor in dwarf_poly_indeterminate_value [PR116305]

2024-08-16 Thread Li, Pan2 via Gcc-bugs
vpi2, vpi2, 0, gvl); + +        __riscv_vse32_v_f32m2(result, fixpi, gvl); + +        func(result); + +        i += gvl; +        ys += gvl; +        xs += gvl; +        result += gvl; +    } +} -- 2.34.1 > From: "Li, Pan2" > Date:  Sat, Aug 17, 2024, 09:20 > Subject:  RE: [PATCH] R

Re: [PATCH] RISC-V: Fix factor in dwarf_poly_indeterminate_value [PR116305]

2024-08-16 Thread Zhijin Zeng
iscv_vse32_v_f32m2(result, fixpi, gvl); + +        func(result); + +        i += gvl; +        ys += gvl; +        xs += gvl; +        result += gvl; +    } +} -- 2.34.1 > From: "Li, Pan2" > Date:  Sat, Aug 17, 2024, 09:20 > Subject:  RE: [PATCH] RISC-V: Fix factor in dwarf_

RE: [PATCH] RISC-V: Fix factor in dwarf_poly_indeterminate_value [PR116305]

2024-08-16 Thread Li, Pan2 via Gcc-bugs
Li, Pan2 Cc: gcc-patc...@gcc.gnu.org; gcc-bugs@gcc.gnu.org; Kito Cheng Subject: Re: [PATCH] RISC-V: Fix factor in dwarf_poly_indeterminate_value [PR116305] Sorry, the line number changed. The newest version as follow, This patch is to fix the bug (BugId:116305) introduced by the commit bd93ef

Re: [PATCH] RISC-V: Fix factor in dwarf_poly_indeterminate_value [PR116305]

2024-08-16 Thread Zhijin Zeng
loat32m2_t fixpi = __riscv_vfrsub_vf_f32m2_mu(mask0, vpi2, vpi2, 0, gvl); + +        __riscv_vse32_v_f32m2(result, fixpi, gvl); + +        func(result); + +        i += gvl; +        ys += gvl; +        xs += gvl; +        result += gvl; +    } +} -- 2.34.1 > From: "Li, Pan2" >

RE: [PATCH] RISC-V: Fix factor in dwarf_poly_indeterminate_value [PR116305]

2024-08-16 Thread Li, Pan2 via Gcc-bugs
Cheng Subject: Re: [PATCH] RISC-V: Fix factor in dwarf_poly_indeterminate_value [PR116305] Hi Pan, I am a new guy for GCC and don't have authority to commit. Please help to commit this patch. Thank you very much. Zhijin > From: "Li, Pan2" > Date:  Fri, Aug

Re: [PATCH] RISC-V: Fix factor in dwarf_poly_indeterminate_value [PR116305]

2024-08-16 Thread Zhijin Zeng
Hi Pan, I am a new guy for GCC and don't have authority to commit. Please help to commit this patch. Thank you very much. Zhijin > From: "Li, Pan2" > Date:  Fri, Aug 16, 2024, 20:15 > Subject:  RE: [PATCH] RISC-V: Fix factor in dwarf_poly_indeterminate_value > [PR116

RE: [PATCH] RISC-V: Fix factor in dwarf_poly_indeterminate_value [PR116305]

2024-08-16 Thread Li, Pan2 via Gcc-bugs
ISC-V: Fix factor in dwarf_poly_indeterminate_value [PR116305] LGTM, thanks for fixing that :) On Wed, Aug 14, 2024 at 2:06 PM 曾治金 wrote: > > This patch is to fix the bug (BugId:116305) introduced by the commit > bd93ef for risc-v target. > > The commit bd93ef changes the

Re: [PATCH] RISC-V: Fix factor in dwarf_poly_indeterminate_value [PR116305]

2024-08-16 Thread Kito Cheng via Gcc-bugs
LGTM, thanks for fixing that :) On Wed, Aug 14, 2024 at 2:06 PM 曾治金 wrote: > > This patch is to fix the bug (BugId:116305) introduced by the commit > bd93ef for risc-v target. > > The commit bd93ef changes the chunk_num from 1 to TARGET_MIN_VLEN/128 > if TARGET_MIN_VLEN is larger than 128 in risc

[PATCH] RISC-V: Fix factor in dwarf_poly_indeterminate_value [PR116305]

2024-08-13 Thread 曾治金
This patch is to fix the bug (BugId:116305) introduced by the commit bd93ef for risc-v target. The commit bd93ef changes the chunk_num from 1 to TARGET_MIN_VLEN/128 if TARGET_MIN_VLEN is larger than 128 in riscv_convert_vector_bits. So it changes the value of BYTES_PER_RISCV_VECTOR. For example, b