From 6b151dbeb7f5ba682bc984ec3669a8073dcec67a Mon Sep 17 00:00:00 2001 From: zhangwm <92717103+zhangwm-pt@users.noreply.github.com> Date: Fri, 14 Apr 2023 17:44:46 +0800 Subject: [PATCH] RVV: fix builtin macro in gcc (#13) --- include/shl_thead_rvv.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/shl_thead_rvv.h b/include/shl_thead_rvv.h index 09c54cde..2be30578 100644 --- a/include/shl_thead_rvv.h +++ b/include/shl_thead_rvv.h @@ -30,9 +30,9 @@ #define RVV_0_7_1 #endif -#ifdef __riscv_xtheadv +#ifdef __riscv_xtheadvdot #define XTHEADV -#endif // __riscv_xtheadv +#endif // __riscv_xtheadvdot #endif // __riscv_vector