Commit 18a0f420 authored by Martin Storsjö's avatar Martin Storsjö

checkasm: Use LOCAL_ALIGNED for aligned variables on the stack

This fixes fate-checkasm-hevc_mc on ARMCC 5.0 after adding
NEON HEVC MC assembly.
Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
parent 7993ec19
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment