Skip to content

Commit

Permalink
Use postfix attribute for GCC declaration
Browse files Browse the repository at this point in the history
We have a single place where we use GRAPHENE_ALIGN16, now, and it should
follow the appropriate convention.
  • Loading branch information
ebassi committed Feb 9, 2021
1 parent ee33090 commit 603d9f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/graphene-simd4f.h
Original file line number Diff line number Diff line change
Expand Up @@ -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); \
Expand Down

0 comments on commit 603d9f8

Please sign in to comment.