Re: [PATCH v3 04/11] RISC-V: Implement riscv_minimal_hwprobe_feature_bits

2024-10-31 Thread Kito Cheng
Only one minor comment here, could you rename feature_bits.h to riscv_feature_bits.h, because the including path isn't really well organized in GCC, so always adding target name into prefix would be a better way. On Thu, Oct 24, 2024 at 3:13 PM Yangyu Chen wrote: > > This patch implements the ris

[PATCH v3 04/11] RISC-V: Implement riscv_minimal_hwprobe_feature_bits

2024-10-24 Thread Yangyu Chen
This patch implements the riscv_minimal_hwprobe_feature_bits feature for the RISC-V target. The feature bits are defined in the previous patch [1] to provide bitmasks of ISA extensions that defined in RISC-V C-API. Thus, we need a function to generate the feature bits for IFUNC resolver to dispatch