From: James Zern Date: Wed, 1 Feb 2023 21:27:06 +0000 (-0800) Subject: vp9_diamond_search_sad_neon: use DECLARE_ALIGNED X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=858a8c611f4c965078485860a6820e2135e6611b;p=libvpx vp9_diamond_search_sad_neon: use DECLARE_ALIGNED rather than the gcc specific __attribute__((aligned())); fixes build targeting ARM64 windows. Bug: webm:1788 Change-Id: I2210fc215f44d90c1ce9dee9b54888eb1b78c99e --- diff --git a/vp9/encoder/arm/neon/vp9_diamond_search_sad_neon.c b/vp9/encoder/arm/neon/vp9_diamond_search_sad_neon.c index 33753f77b..997775a66 100644 --- a/vp9/encoder/arm/neon/vp9_diamond_search_sad_neon.c +++ b/vp9/encoder/arm/neon/vp9_diamond_search_sad_neon.c @@ -220,7 +220,7 @@ int vp9_diamond_search_sad_neon(const MACROBLOCK *x, // Look up the component cost of the residual motion vector { uint32_t cost[4]; - int16_t __attribute__((aligned(16))) rowcol[8]; + DECLARE_ALIGNED(16, int16_t, rowcol[8]); vst1q_s16(rowcol, v_diff_mv_w); // Note: This is a use case for gather instruction