From 603d9f8081dc938d59f30e74af55be1226b9dd1a Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Mon, 1 Feb 2021 19:55:17 +0000 Subject: [PATCH] Use postfix attribute for GCC declaration We have a single place where we use GRAPHENE_ALIGN16, now, and it should follow the appropriate convention. --- include/graphene-simd4f.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/graphene-simd4f.h b/include/graphene-simd4f.h index 083c47ce..55a1b5ba 100644 --- a/include/graphene-simd4f.h +++ b/include/graphene-simd4f.h @@ -324,7 +324,7 @@ typedef union { # else # define graphene_simd4f_dot3(a,b) \ (__extension__ ({ \ - GRAPHENE_ALIGN16 const unsigned int __mask_bits[] = { 0xffffffff, 0xffffffff, 0xffffffff, 0 }; \ + const unsigned int __mask_bits[] GRAPHENE_ALIGN16 = { 0xffffffff, 0xffffffff, 0xffffffff, 0 }; \ const graphene_simd4f_t __mask = _mm_load_ps ((const float *) __mask_bits); \ const graphene_simd4f_t __m = _mm_mul_ps ((a), (b)); \ const graphene_simd4f_t __s0 = _mm_and_ps (__m, __mask); \