Re: [PATCH] RISC-V: Fix uninitialized and redundant use of which_alternative

2023-07-28 Thread Jeff Law via Gcc-patches
On 7/28/23 10:42, Patrick O'Neill wrote: No worries! I'm glad it was an easy fix ;) Note there's an effort underway via RISE to have some official RISC-V continuous testing for the compiler tools in place in the very near future (before Sept 1). We're starting with a limited POC, so my thi

Re: [PATCH] RISC-V: Fix uninitialized and redundant use of which_alternative

2023-07-28 Thread Patrick O'Neill
From: demin.han Date: 2023-07-27 17:48 To:gcc-patches@gcc.gnu.org CC:kito.ch...@gmail.com;juzhe.zh...@rivai.ai Subject: [PATCH] RISC-V: Fix uninitialized and redundant use of which_alternative When pass split2 starts, which_alternative is random depending on last set of certain pass. Even init

Re: [PATCH] RISC-V: Fix uninitialized and redundant use of which_alternative

2023-07-28 Thread Patrick O'Neill
m> Date07/28/2023 04:46 To Kito Cheng <mailto:kito.ch...@gmail.com>, juzhe.zh...@rivai.ai <mailto:juzhe.zh...@rivai.ai> Cc demin.han <mailto:demin@starfivetech.com>, gcc-patches <mailto:gcc-patches@gcc.gnu.org> Subject Re: [PATCH] RISC-V: Fix uninitialized

Re: [PATCH] RISC-V: Fix uninitialized and redundant use of which_alternative

2023-07-27 Thread Demin Han
t;vmv.v.v" according to RA. >>> >>> Thanks for fixing it. >>> >>> @kito: Could you confirm it? If it's ok to you, commit it for Han (I am >>> lazy to commit patches :). >>> >>> >>> >>> juzhe.zh...@rivai.ai

Re: [PATCH] RISC-V: Fix uninitialized and redundant use of which_alternative

2023-07-27 Thread Patrick O'Neill
to you, commit it for Han (I am lazy to commit patches :). juzhe.zh...@rivai.ai From: demin.han Date: 2023-07-27 17:48 To:gcc-patches@gcc.gnu.org CC:kito.ch...@gmail.com;juzhe.zh...@rivai.ai Subject: [PATCH] RISC-V: Fix uninitialized and redundant use of which_alternative When pass split2 starts, which

Re: [PATCH] RISC-V: Fix uninitialized and redundant use of which_alternative

2023-07-27 Thread Kito Cheng via Gcc-patches
From: demin.han > Date: 2023-07-27 17:48 > To: gcc-patches@gcc.gnu.org > CC: kito.ch...@gmail.com; juzhe.zh...@rivai.ai > Subject: [PATCH] RISC-V: Fix uninitialized and redundant use of > which_alternative > When pass split2 starts, which_alternative is random depending on > la

Re: [PATCH] RISC-V: Fix uninitialized and redundant use of which_alternative

2023-07-27 Thread juzhe.zh...@rivai.ai
ai From: demin.han Date: 2023-07-27 17:48 To: gcc-patches@gcc.gnu.org CC: kito.ch...@gmail.com; juzhe.zh...@rivai.ai Subject: [PATCH] RISC-V: Fix uninitialized and redundant use of which_alternative When pass split2 starts, which_alternative is random depending on last set of certain pass

[PATCH] RISC-V: Fix uninitialized and redundant use of which_alternative

2023-07-27 Thread demin . han
When pass split2 starts, which_alternative is random depending on last set of certain pass. Even initialized, the generated movement is redundant. The movement can be generated by assembly output template. Signed-off-by: demin.han gcc/ChangeLog: * config/riscv/autovec.md: Delete which_