From 82d00972c91a44a428bd08412ca3039e101c0e40 Mon Sep 17 00:00:00 2001 From: Siarhei Siamashka Date: Thu, 15 Jan 2009 19:45:36 +0200 Subject: SBC arrays and constant tables aligned at 16 byte boundary for SIMD Most SIMD instruction sets benefit from data being naturally aligned. And even if it is not strictly required, performance is usually better with the aligned data. ARM NEON and SSE2 have different instruction variants for aligned/unaligned memory accesses. --- sbc/sbc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sbc/sbc.h') diff --git a/sbc/sbc.h b/sbc/sbc.h index 8ac59309..b0a14888 100644 --- a/sbc/sbc.h +++ b/sbc/sbc.h @@ -74,6 +74,7 @@ struct sbc_struct { uint8_t endian; void *priv; + void *priv_alloc_base; }; typedef struct sbc_struct sbc_t; -- cgit