Re: Re: [PATCH V2] RISC-V: Refactor RVV machine modes

2023-07-19 Thread 钟居哲
Yes. It reduces 3.4K from 17.5K to 14.1k. juzhe.zh...@rivai.ai From: Jeff Law Date: 2023-07-20 07:15 To: Juzhe-Zhong; gcc-patches CC: kito.cheng; kito.cheng; rdapp.gcc Subject: Re: [PATCH V2] RISC-V: Refactor RVV machine modes On 7/19/23 16:45, Juzhe-Zhong wrote: > Current machine mo

Re: [PATCH V2] RISC-V: Refactor RVV machine modes

2023-07-19 Thread Jeff Law via Gcc-patches
On 7/19/23 16:45, Juzhe-Zhong wrote: Current machine modes layout is hard to maintain && read && understand. For a LMUL = 1 SI vector mode: 1. VNx1SI mode when TARGET_MIN_VLEN = 32. 2. VNx2SI mode when TARGET_MIN_VLEN = 64. 3. VNx4SI mode when TARGET_MIN_VLEN = 128. Such implementat