Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only use the ARM NEON 32-way unrolled rANS on AArch64. #82

Merged
merged 1 commit into from
Apr 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion htscodecs/rANS_static32x16pr.h
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ unsigned char *rans_uncompress_O1_32x16_avx512(unsigned char *in,

//----------------------------------------------------------------------
// Arm Neon implementation
#ifdef __ARM_NEON
#if defined(__ARM_NEON) && defined(__aarch64__)
unsigned char *rans_compress_O0_32x16_neon(unsigned char *in,
unsigned int in_size,
unsigned char *out,
Expand Down
2 changes: 1 addition & 1 deletion htscodecs/rANS_static32x16pr_neon.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
*/

#include "config.h"
#ifdef __ARM_NEON
#if defined(__ARM_NEON) && defined(__aarch64__)
#include <arm_neon.h>

#include <limits.h>
Expand Down
2 changes: 1 addition & 1 deletion htscodecs/rANS_static4x16pr.c
Original file line number Diff line number Diff line change
Expand Up @@ -1006,7 +1006,7 @@ unsigned char *(*rans_dec_func(int do_simd, int order))
}
}

#elif defined(__ARM_NEON)
#elif defined(__ARM_NEON) && defined(__aarch64__)

#if defined(__linux__) || defined(__FreeBSD__)
#include <sys/auxv.h>
Expand Down