Re: [PATCH] RISC-V: Implement RISC-V profile macro support

2025-09-19 Thread Kito Cheng
need add testcases Zhongyao Chen 於 2025年9月11日 週四,20:10寫道: > From: Zhongyao Chen > > users can now write code like the following to adapt to the > current RISC-V profile selected at compile time: > > ```c > #ifdef __riscv_rva23u64 > // Code specific to the rva23u64 profile > #endif > ```

[PATCH] RISC-V: Implement RISC-V profile macro support

2025-09-13 Thread Zhongyao Chen
From: Zhongyao Chen users can now write code like the following to adapt to the current RISC-V profile selected at compile time: ```c #ifdef __riscv_rva23u64 // Code specific to the rva23u64 profile #endif ``` gcc/ * common/config/riscv/riscv-common.cc (riscv_subset_list::get_p