Hi, I have checked SDnode in LLVM which is a similiar data structure with RTX in GCC. The SDnode in LLVM occupy 80bytes. Can we have some tool to test the memory consuming of the whole GCC with extended-size RTX? juzhe.zhong@rivai.ai From: Jeff Law Date: 2023-04-11 04:42 To: juzhe.zhong; jakub CC: 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:22, juzhe.zhong@rivai.ai wrote: > Yeah, aarch64 already has 178, RVV has much more types than aarch64... > You can see intrinsic doc: > https://github.com/riscv-non-isa/rvv-intrinsic-doc/blob/eopc/tuple-type-for-seg-load-store/auto-generated/intrinsic_funcs/02_vector_unit-stride_segment_load_store_instructions_zvlsseg.md > api number explodes. > > As well as tuples types in RVV much more than aarch64. > Maybe we need to ask RVV api doc maintainer to reduce types && api of RVV? > Not sure. > I think kito may help for this. I think it's a discussion we need to have. I really expect efforts to have > 256 modes are going to be very controversial. jeff