Skip to content

Commit

Permalink
Merge remote-tracking branch 'mpg123/master' into master-with-github-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
mpg123 GitHub bot committed Feb 6, 2024
2 parents 4221364 + a28e2dd commit 3a9eb39
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
2 changes: 0 additions & 2 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
- build:
-- CMake port uses CFLAGS for pulse/jack/tinyalsa properly now (bug 366).
- libmpg123:
-- Also avoid indirect branches for builds with a single CPU optmization
(no OPT_MULTI) by actually using the wrappers in that case (bug 367).
-- Fix --enable-portable (no usage of LFS_WRAP_NONE, bug 368).

1.32.4
Expand Down
14 changes: 7 additions & 7 deletions src/libmpg123/optimize.h
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ enum optcla INT123_decclass(const enum optdec);
#define OPT_X86
#ifndef OPT_MULTI
# define defopt sse
# define opt_dct36(fr) INT123_dct36_sse_wrap
# define opt_dct36(fr) INT123_dct36_sse
#endif
#endif

Expand Down Expand Up @@ -294,7 +294,7 @@ enum optcla INT123_decclass(const enum optdec);
#define OPT_X86
#ifndef OPT_MULTI
# define defopt dreidnowext_vintage
# define opt_dct36(fr) INT123_dct36_3dnowext_wrap
# define opt_dct36(fr) INT123_dct36_3dnowext
#endif
#endif

Expand All @@ -316,7 +316,7 @@ extern const int INT123_costab_mmxsse[];
#define OPT_X86
#ifndef OPT_MULTI
# define defopt dreidnow_vintage
# define opt_dct36(fr) INT123_dct36_3dnow_wrap
# define opt_dct36(fr) INT123_dct36_3dnow
#endif
#endif

Expand All @@ -330,15 +330,15 @@ extern const int INT123_costab_mmxsse[];
#define OPT_MMXORSSE
#ifndef OPT_MULTI
# define defopt x86_64
# define opt_dct36(fr) INT123_dct36_x86_64_wrap
# define opt_dct36(fr) INT123_dct36_x86_64
#endif
#endif

#ifdef OPT_AVX
#define OPT_MMXORSSE
#ifndef OPT_MULTI
# define defopt avx
# define opt_dct36(fr) INT123_dct36_avx_wrap
# define opt_dct36(fr) INT123_dct36_avx
#endif
#endif

Expand All @@ -352,15 +352,15 @@ extern const int INT123_costab_mmxsse[];
#define OPT_MMXORSSE
#ifndef OPT_MULTI
# define defopt neon
# define opt_dct36(fr) INT123_dct36_neon_wrap
# define opt_dct36(fr) INT123_dct36_neon
#endif
#endif

#ifdef OPT_NEON64
#define OPT_MMXORSSE
#ifndef OPT_MULTI
# define defopt neon64
# define opt_dct36(fr) INT123_dct36_neon64_wrap
# define opt_dct36(fr) INT123_dct36_neon64
#endif
#endif

Expand Down

0 comments on commit 3a9eb39

Please sign in to comment.