I don't know, maybe we can try to ask rvv-intrinsic-doc define so many tuple types and try to make them reduce the api && tuple types? I am going to remove all FP16 vector to see whether we can reduce machine modes <= 256. I think it may be probably helping to fix that. juzhe.zhong@rivai.ai From: Jeff Law Date: 2023-04-11 04:36 To: Jakub Jelinek CC: juzhe.zhong; gcc-patches; kito.cheng; palmer; richard.sandiford; rguenther Subject: Re: [PATCH] machine_mode type size: Extend enum size from 8-bit to 16-bit On 4/10/23 09:18, Jakub Jelinek wrote: > On Mon, Apr 10, 2023 at 08:54:12AM -0600, Jeff Law wrote: >> This is likely going to be very controversial. It's going to increase the >> size of two of most heavily used data structures in GCC (rtx and trees). >> >> The first thing I would ask is whether or not we really need the full matrix >> in practice or if we can combine some of the modes. >> >> Why hasn't aarch64 stumbled over this problem? > > From what I can see, x86 has 130 modes and aarch64 178 right now. To put it another way. Why does RISC-V have so many more modes than AArch64. Jeff