Skip to content

Commit

Permalink
This removes disabling SIMD for ARM, and checks that disable is not s…
Browse files Browse the repository at this point in the history
…et before (on command line).
  • Loading branch information
aous72 committed May 15, 2024
1 parent d4ea880 commit 2754122
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/core/common/ojph_arch.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ namespace ojph {
////////////////////////////////////////////////////////////////////////////
// disable SIMD for unknown architecture
////////////////////////////////////////////////////////////////////////////
#if !defined(OJPH_ARCH_X86_64) && !defined(OJPH_ARCH_I386)
#if !defined(OJPH_ARCH_X86_64) && !defined(OJPH_ARCH_I386) && \
!defined(OJPH_ARCH_ARM) && !defined(OJPH_DISABLE_SIMD)
#define OJPH_DISABLE_SIMD
#endif // !OJPH_ARCH_UNKNOWN

Expand Down
2 changes: 1 addition & 1 deletion src/core/common/ojph_version.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@

#define OPENJPH_VERSION_MAJOR 0
#define OPENJPH_VERSION_MINOR 13
#define OPENJPH_VERSION_PATCH 0
#define OPENJPH_VERSION_PATCH 1

0 comments on commit 2754122

Please sign in to comment.