From 04a98614031dfbd47d3006ed3c9196972798da56 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Fri, 5 Sep 2025 10:36:19 +0200 Subject: [PATCH] test changes from #5432 --- driver/others/detect_riscv64.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/driver/others/detect_riscv64.c b/driver/others/detect_riscv64.c index 5a5cc03916..214a080726 100644 --- a/driver/others/detect_riscv64.c +++ b/driver/others/detect_riscv64.c @@ -63,12 +63,12 @@ uint64_t detect_riscv64_rvv100(void) * RVV 1.0 and we return 0. */ - asm volatile("vsetvli x0, x0, e8, m1, ta, ma\n\t" + asm volatile("vsetvli t0, x0, e8, m1, ta, ma\n\t" "csrr %0, vtype\n\t" "slt %0, x0, %0\n" : "=r" (rvv10_supported) : - :); + :"t0","vtype"); return rvv10_supported; }