Message ID | 1513023968-10695-1-git-send-email-martin@martin.st |
---|---|
State | Committed |
Commit | 18a0f420269ff4c730422361c5c4d8eea096e900 |
Headers | show |
On 11/12/2017 21:26, Martin Storsjö wrote: > This fixes fate-checkasm-hevc_mc on ARMCC 5.0 after adding > NEON HEVC MC assembly. > --- > tests/checkasm/hevc_mc.c | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) > > diff --git a/tests/checkasm/hevc_mc.c b/tests/checkasm/hevc_mc.c > index 70f35ce..c3fbfeb 100644 > --- a/tests/checkasm/hevc_mc.c > +++ b/tests/checkasm/hevc_mc.c > @@ -291,13 +291,13 @@ static void check_qpel(HEVCDSPContext *h, int16_t *dst0, int16_t *dst1, > > void checkasm_check_hevc_mc(void) > { > - DECLARE_ALIGNED(16, uint8_t, buf8_0)[BUF_SIZE]; > - DECLARE_ALIGNED(16, uint8_t, buf8_1)[BUF_SIZE]; > + LOCAL_ALIGNED(16, uint8_t, buf8_0, [BUF_SIZE]); > + LOCAL_ALIGNED(16, uint8_t, buf8_1, [BUF_SIZE]); > > - DECLARE_ALIGNED(16, int16_t, buf16_0)[BUF_SIZE]; > - DECLARE_ALIGNED(16, int16_t, buf16_1)[BUF_SIZE]; > + LOCAL_ALIGNED(16, int16_t, buf16_0, [BUF_SIZE]); > + LOCAL_ALIGNED(16, int16_t, buf16_1, [BUF_SIZE]); > > - DECLARE_ALIGNED(16, int16_t, mcbuffer)[BUF_SIZE]; > + LOCAL_ALIGNED(16, int16_t, mcbuffer, [BUF_SIZE]); > > HEVCDSPContext h; > int bit_depth; > Ok.
diff --git a/tests/checkasm/hevc_mc.c b/tests/checkasm/hevc_mc.c index 70f35ce..c3fbfeb 100644 --- a/tests/checkasm/hevc_mc.c +++ b/tests/checkasm/hevc_mc.c @@ -291,13 +291,13 @@ static void check_qpel(HEVCDSPContext *h, int16_t *dst0, int16_t *dst1, void checkasm_check_hevc_mc(void) { - DECLARE_ALIGNED(16, uint8_t, buf8_0)[BUF_SIZE]; - DECLARE_ALIGNED(16, uint8_t, buf8_1)[BUF_SIZE]; + LOCAL_ALIGNED(16, uint8_t, buf8_0, [BUF_SIZE]); + LOCAL_ALIGNED(16, uint8_t, buf8_1, [BUF_SIZE]); - DECLARE_ALIGNED(16, int16_t, buf16_0)[BUF_SIZE]; - DECLARE_ALIGNED(16, int16_t, buf16_1)[BUF_SIZE]; + LOCAL_ALIGNED(16, int16_t, buf16_0, [BUF_SIZE]); + LOCAL_ALIGNED(16, int16_t, buf16_1, [BUF_SIZE]); - DECLARE_ALIGNED(16, int16_t, mcbuffer)[BUF_SIZE]; + LOCAL_ALIGNED(16, int16_t, mcbuffer, [BUF_SIZE]); HEVCDSPContext h; int bit_depth;