From 967bcf415793def743f51a0ed45a52e8b0d9c8c9 Mon Sep 17 00:00:00 2001 From: Ayrton Munoz Date: Tue, 28 May 2024 11:00:14 -0400 Subject: [PATCH] libia2: Fix clobber list in ia2_thread_begin --- runtime/libia2/threads.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/libia2/threads.c b/runtime/libia2/threads.c index e0624c4e4..b4c174099 100644 --- a/runtime/libia2/threads.c +++ b/runtime/libia2/threads.c @@ -84,7 +84,7 @@ void *ia2_thread_begin(void *arg) { "mov sp, x10\n" : [result] "=r"(result) : [fn] "r"(fn), [data] "r"(&data), [new_sp_addr] "r"(new_sp_addr) - : "x10"); + : "x0", "x10"); #endif return result;