Skip to content

Commit

Permalink
vp9_diamond_search_sad_neon: use DECLARE_ALIGNED
Browse files Browse the repository at this point in the history
rather than the gcc specific __attribute__((aligned())); fixes build
targeting ARM64 windows.

Bug: webm:1788
Change-Id: I2210fc215f44d90c1ce9dee9b54888eb1b78c99e
  • Loading branch information
jzern committed Feb 1, 2023
1 parent 50e1b76 commit 858a8c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vp9/encoder/arm/neon/vp9_diamond_search_sad_neon.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 858a8c6

Please sign in to comment.