From 821ad6e69b5dd97ca0f6e6c22da89fa65b3b3532 Mon Sep 17 00:00:00 2001 From: Nicolas Date: Tue, 11 Nov 2025 15:48:03 +0100 Subject: [PATCH] prevent gcc from doing alignment for stencil functions --- stencils/generate_stencils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stencils/generate_stencils.py b/stencils/generate_stencils.py index ce34eb0..fac5128 100644 --- a/stencils/generate_stencils.py +++ b/stencils/generate_stencils.py @@ -9,7 +9,7 @@ op_signs = {'add': '+', 'sub': '-', 'mul': '*', 'div': '/', 'pow': '**', 'bwand': '&', 'bwor': '|', 'bwxor': '^'} entry_func_prefix = '' -stencil_func_prefix = '' # Remove callee prolog +stencil_func_prefix = '__attribute__((aligned(1))) ' # Remove function alignment for stencils stack_size = 64