Re: RISC-V Bootstrap problems

2023-05-25 Thread Jeff Law
On 5/24/23 22:19, juzhe.zh...@rivai.ai wrote: >> It's highly unlikely we'll switch from the mechanisms we're using. They're pretty deeply embedded into how all the ports are developed and work. We just take a look at the build file. It seems that the functions generated by define_insn ar

Re: Re: RISC-V Bootstrap problems

2023-05-24 Thread juzhe.zh...@rivai.ai
ivai.ai; kito.cheng CC: jeffreyalaw; palmer; vineetg; Kito.cheng; gcc-patches; Patrick O'Neill; macro Subject: Re: RISC-V Bootstrap problems On 5/24/23 21:54, juzhe.zh...@rivai.ai wrote: > >> IIRC LLVM is using the table driven mechanism, so it's less impact > on the >>&g

Re: RISC-V Bootstrap problems

2023-05-24 Thread Kito Cheng via Gcc-patches
Yeah, JoJo still working on toolchain stuff, but just not active on upstream GCC cc. jojo On Thu, May 25, 2023 at 12:06 PM Jeff Law wrote: > > > > On 5/24/23 21:53, Kito Cheng wrote: > > Jojo has a patch to try to split those things that should help this, > > but seems not landed. > > > > https:

Re: RISC-V Bootstrap problems

2023-05-24 Thread Jeff Law
On 5/24/23 21:54, juzhe.zh...@rivai.ai wrote: >> IIRC LLVM is using the table driven mechanism, so it's less impact on the compilation time when the instruction becomes more and more. Oh, I see. Could you share more details ? Maybe we can support this in GCC. It's highly unlikely we'll swit

Re: RISC-V Bootstrap problems

2023-05-24 Thread Jeff Law
On 5/24/23 21:53, Kito Cheng wrote: Jojo has a patch to try to split those things that should help this, but seems not landed. https://patchwork.ozlabs.org/project/gcc/patch/20201104015315.81416-1-jiejie_r...@c-sky.com/ Is JoJo still active? I haven't heard from JoJo in many months, perhaps

Re: Re: RISC-V Bootstrap problems

2023-05-24 Thread juzhe.zh...@rivai.ai
1:53 To: juzhe.zh...@rivai.ai CC: jeffreyalaw; palmer; vineetg; Kito.cheng; gcc-patches; Patrick O'Neill; jlaw; macro Subject: Re: Re: RISC-V Bootstrap problems Jojo has a patch to try to split those things that should help this, but seems not landed. https://patchwork.ozlabs

Re: Re: RISC-V Bootstrap problems

2023-05-24 Thread Kito Cheng via Gcc-patches
1:43 > To: Palmer Dabbelt; Vineet Gupta > CC: kito.cheng; gcc-patches; Kito Cheng; Patrick O'Neill; Jeff Law; macro; > juzhe.zh...@rivai.ai > Subject: Re: RISC-V Bootstrap problems > > > On 5/24/23 17:13, Palmer Dabbelt wrote: > > On Wed, 24 May 2023 16:12:20 PDT (-

Re: Re: RISC-V Bootstrap problems

2023-05-24 Thread juzhe.zh...@rivai.ai
tion? Thanks. juzhe.zh...@rivai.ai From: Jeff Law Date: 2023-05-25 11:43 To: Palmer Dabbelt; Vineet Gupta CC: kito.cheng; gcc-patches; Kito Cheng; Patrick O'Neill; Jeff Law; macro; juzhe.zh...@rivai.ai Subject: Re: RISC-V Bootstrap problems On 5/24/23 17:13, Palmer Dabbelt wrote: > O

Re: Re: RISC-V Bootstrap problems

2023-05-24 Thread juzhe.zh...@rivai.ai
: 2023-05-25 11:43 To: Palmer Dabbelt; Vineet Gupta CC: kito.cheng; gcc-patches; Kito Cheng; Patrick O'Neill; Jeff Law; macro; juzhe.zh...@rivai.ai Subject: Re: RISC-V Bootstrap problems On 5/24/23 17:13, Palmer Dabbelt wrote: > On Wed, 24 May 2023 16:12:20 PDT (-0700), Vineet Gup

Re: RISC-V Bootstrap problems

2023-05-24 Thread Jeff Law via Gcc-patches
On 5/24/23 17:13, Palmer Dabbelt wrote: On Wed, 24 May 2023 16:12:20 PDT (-0700), Vineet Gupta wrote: [ ... big snip ... ] Never mind. Looks like I found the issue - with just trial and error and no idea of how this stuff works. The torture-{init,finish} needs to be in riscv.exp not rvv.e