Re: Re: [PATCH V3] RISC-V: Support Dynamic LMUL Cost model

2023-09-11 Thread juzhe.zh...@rivai.ai
>> As long as we're just looking for the maximum number of live registers, >> we can use a sliding-window approach: create a structure with all >> start and end points, sort it, and increase the current pressure >> if we start a new range or decrease. That's O(n log n). I failed to see it can he

Re: Re: [PATCH V3] RISC-V: Support Dynamic LMUL Cost model

2023-09-11 Thread juzhe.zh...@rivai.ai
>> What about one test with global live ranges? Not a necessity IMHO we can >> still >> add it later. We already have. juzhe.zh...@rivai.ai From: Robin Dapp Date: 2023-09-12 04:31 To: Juzhe-Zhong; gcc-patches CC: rdapp.gcc; kito.cheng; kito.cheng; jeffreyalaw Subject: Re: [PATCH V3] RISC-V: S