[compiler-rt] [llvm] [RISC-V] Add newer Linux hwprobe extensions detection (PR #192761)
Jiaqi He via llvm-commits
llvm-commits at lists.llvm.org
Thu May 28 00:43:32 PDT 2026
heturing wrote:
@lenary I tested this under qemu. For `-march=native`, it is rejected as an invalid input, so I used `-mcpu=native` instead. It reports several of the added extensions as enabled (`+zicbom`, `+zicntr`, `+zihpm`, `+zaamo`, `+zalrsc`), while the others are not.
I also tested the code using `__attribute__((target_version("arch=+zicntr;priority=1")))`. The runtime selected the `zicntr` version as expected.
https://github.com/llvm/llvm-project/pull/192761
More information about the llvm-commits
mailing list