summaryrefslogtreecommitdiff
path: root/tests/checkasm
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2017-12-11 22:25:16 +0200
committerMartin Storsjö <martin@martin.st>2017-12-12 11:36:38 +0200
commit18a0f420269ff4c730422361c5c4d8eea096e900 (patch)
tree8fb4f81863995557861bfe9edaa42de3c154921a /tests/checkasm
parent7993ec19af394fdc58ec64165bc0b12619543a5d (diff)
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: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'tests/checkasm')
-rw-r--r--tests/checkasm/hevc_mc.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/checkasm/hevc_mc.c b/tests/checkasm/hevc_mc.c
index 70f35ce78a..c3fbfebe72 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;