From 274e3ac375f358c0c634e3e250602b5afd318429 Mon Sep 17 00:00:00 2001 From: Luca Colagrande Date: Thu, 12 Mar 2026 19:01:18 +0100 Subject: [PATCH 1/2] sw/runtime: Ensure no loads are inferred in `snrt_int_cluster_set` --- sw/runtime/src/cluster_interrupts.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sw/runtime/src/cluster_interrupts.h b/sw/runtime/src/cluster_interrupts.h index 764b92bf14..3116851f8e 100644 --- a/sw/runtime/src/cluster_interrupts.h +++ b/sw/runtime/src/cluster_interrupts.h @@ -12,8 +12,8 @@ * @param cluster_idx Index of the cluster to which the interrupt is sent */ inline void snrt_int_cluster_set(uint32_t mask, uint32_t cluster_idx) { - snrt_cluster(cluster_idx)->peripheral_reg.cl_clint_set.f.cl_clint_set = - mask; + snrt_cluster(cluster_idx)->peripheral_reg.cl_clint_set.w = + (uint64_t)mask; } /** From 4f24f541d1b6f57185f4b56faff696a7ed4135a0 Mon Sep 17 00:00:00 2001 From: Luca Colagrande Date: Thu, 12 Mar 2026 19:14:13 +0100 Subject: [PATCH 2/2] Fix lint --- sw/runtime/src/cluster_interrupts.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sw/runtime/src/cluster_interrupts.h b/sw/runtime/src/cluster_interrupts.h index 3116851f8e..42e3f404ad 100644 --- a/sw/runtime/src/cluster_interrupts.h +++ b/sw/runtime/src/cluster_interrupts.h @@ -12,8 +12,7 @@ * @param cluster_idx Index of the cluster to which the interrupt is sent */ inline void snrt_int_cluster_set(uint32_t mask, uint32_t cluster_idx) { - snrt_cluster(cluster_idx)->peripheral_reg.cl_clint_set.w = - (uint64_t)mask; + snrt_cluster(cluster_idx)->peripheral_reg.cl_clint_set.w = (uint64_t)mask; } /**