aboutsummaryrefslogtreecommitdiffstats
path: root/libFDK/include/fft.h
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2021-07-10 13:06:57 +0200
committerDavid Seifert <soap@gentoo.org>2021-07-10 13:06:57 +0200
commit7f328b93ee2aa8bb4e94613b6ed218e7525d8dc0 (patch)
treefd39357f335617734023c52bcb8defb8e0e7ead2 /libFDK/include/fft.h
parent801f67f671929311e0c9952c5f92d6e147c7b003 (diff)
downloadfdk-aac-7f328b93ee2aa8bb4e94613b6ed218e7525d8dc0.tar.gz
fdk-aac-7f328b93ee2aa8bb4e94613b6ed218e7525d8dc0.tar.bz2
fdk-aac-7f328b93ee2aa8bb4e94613b6ed218e7525d8dc0.zip
Do not force inlining of indirect functions
* A function called indirectly cannot be decorated with `__attribute((always_inline))`, as this is guaranteed to only work with direct calls: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63220#c1 Bug: https://bugs.gentoo.org/798045
Diffstat (limited to 'libFDK/include/fft.h')
-rw-r--r--libFDK/include/fft.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libFDK/include/fft.h b/libFDK/include/fft.h
index d394046..4ef62b4 100644
--- a/libFDK/include/fft.h
+++ b/libFDK/include/fft.h
@@ -139,7 +139,7 @@ void ifft(int length, FIXP_DBL *pInput, INT *scalefactor);
* bit scale headroom. The values are interleaved, real/imag pairs.
*/
LNK_SECTION_CODE_L1
-static FDK_FORCEINLINE void fft_4(FIXP_DBL *x) {
+static inline void fft_4(FIXP_DBL *x) {
FIXP_DBL a00, a10, a20, a30, tmp0, tmp1;
a00 = (x[0] + x[4]) >> 1; /* Re A + Re B */
@@ -168,7 +168,7 @@ static FDK_FORCEINLINE void fft_4(FIXP_DBL *x) {
#ifndef FUNCTION_fft_8
LNK_SECTION_CODE_L1
-static FDK_FORCEINLINE void fft_8(FIXP_DBL *x) {
+static inline void fft_8(FIXP_DBL *x) {
FIXP_SPK w_PiFOURTH = {{FIXP_SGL(0x5A82), FIXP_SGL(0x5A82)}};
FIXP_DBL a00, a10, a20, a30;