checkasm: Use LOCAL_ALIGNED for aligned variables on the stack
authorMartin Storsjö <martin@martin.st>
Mon, 11 Dec 2017 20:25:16 +0000 (22:25 +0200)
committerMartin Storsjö <martin@martin.st>
Tue, 12 Dec 2017 09:36:38 +0000 (11:36 +0200)
This fixes fate-checkasm-hevc_mc on ARMCC 5.0 after adding
NEON HEVC MC assembly.

Signed-off-by: Martin Storsjö <martin@martin.st>
tests/checkasm/hevc_mc.c

index 70f35ce..c3fbfeb 100644 (file)
@@ -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;