diff options
author | Nathan E. Egge <unlord@xiph.org> | 2024-02-25 11:44:28 +0000 |
---|---|---|
committer | Nathan E. Egge <unlord@xiph.org> | 2024-03-08 20:26:46 +0000 |
commit | 0fff614a4cc6d949fa66a324c342517c86e8029e (patch) | |
tree | a249ec5b129e2a8804ae7059941d69c766b9196f | |
parent | b9f5333021578345bf11dac8b7c0b18955f6e3d1 (diff) | |
download | libdav1d-0fff614a4cc6d949fa66a324c342517c86e8029e.tar.gz |
arm32/msac: Trim C functions, saves 1024 bytes
-rw-r--r-- | src/msac.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -73,7 +73,10 @@ int dav1d_msac_decode_subexp(MsacContext *const s, const int ref, n - 1 - inv_recenter(n - 1 - ref, v); } -#if !(HAVE_ASM && TRIM_DSP_FUNCTIONS && ARCH_AARCH64) +#if !(HAVE_ASM && TRIM_DSP_FUNCTIONS && ( \ + ARCH_AARCH64 || \ + (ARCH_ARM && (defined(__ARM_NEON) || defined(__APPLE__) || defined(_WIN32))) \ +)) /* Takes updated dif and range values, renormalizes them so that * 32768 <= rng < 65536 (reading more bytes from the stream into dif if * necessary), and stores them back in the decoder context. |