From 531adac3fc0ab1f4bb374c13ccc9a5109be3bf53 Mon Sep 17 00:00:00 2001 From: Armando Luiz Nicolini Delgado <nicolui@inf.ufpr.br> Date: Mon, 21 Mar 2022 14:26:40 -0300 Subject: [PATCH] /* Macros de alinhamento SIMD criadas em 'utils.h' */ --- utils/utils.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/utils/utils.h b/utils/utils.h index 7d10cb0..8beffc8 100644 --- a/utils/utils.h +++ b/utils/utils.h @@ -9,6 +9,10 @@ typedef double real_t; typedef double rtime_t; typedef char * string_t; +// SIMD alignment macros +#define ALIGN_32 __attribute__((aligned(32))) +#define ALIGN_16 __attribute__((aligned(16))) + double timestamp(void); string_t markerName(string_t baseName, int n); int isPot2 (int n); -- GitLab