================ @@ -0,0 +1,29 @@ +============== +RISC-V Support +============== + +.. contents:: + :local: + +Intrinsic Detection Macros +=========================== + +Clang provides macros to detect which RISC-V intrinsics are supported by the +toolchain. +Note: This is independent from assembler support. + +Scalar/Vector Intrinsic Detection +--------------------------- + +Macros of the form ``__riscv_intrinsic_<extension>`` indicate that the +toolchain supports scalar/vector built-in functions for a given extension: ---------------- topperc wrote:
I think we can drop "scalar/vector" here. When we add matrix tiles or other types that aren't scalar or vector it would need to be updated so it's better to not say it. https://github.com/llvm/llvm-project/pull/187197 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
