Forgot to remove code from arm header files

This commit is contained in:
Lexyan 2016-09-05 18:52:29 +02:00
parent 3014f69735
commit f186f8a3ee
3 changed files with 0 additions and 26 deletions

10
libFDK/include/arm/cplx_mul.h Normal file → Executable file
View File

@ -193,16 +193,6 @@ inline void cplxMultDiv2( FIXP_DBL *c_Re,
: "r"(a_Re), "r"(a_Im), "r"(b_Re), "r"(b_Im)
: "r0"
);
#elif defined(__TARGET_ARCH_8)
asm(
"smulh %0, %2, %4;\n" /* tmp1 = a_Re * b_Re */
"msub %0, %3, %5, %0;\n" /* tmp1 -= a_Im * b_Im */
"smulh %1, %2, %5;\n" /* tmp2 = a_Re * b_Im */
"madd %1, %3, %4, %1;\n" /* tmp2 += a_Im * b_Re */
: "=&r"(tmp1), "=&r"(tmp2)
: "r"(a_Re), "r"(a_Im), "r"(b_Re), "r"(b_Im)
: "r0"
);
#else
LONG discard;
asm(

8
libFDK/include/arm/fixmadd_arm.h Normal file → Executable file
View File

@ -113,14 +113,6 @@ amm-info@iis.fraunhofer.de
: "r" (a), "r" (b), "r"(x) );
return result ;
}
#elif defined(__TARGET_ARCH_8)
inline FIXP_DBL fixmadddiv2_DD (FIXP_DBL x, const FIXP_DBL a, const FIXP_DBL b) {
INT result;
asm ("madd %0, %1, %2, %3;\n"
: "=r" (result)
: "r" (a), "r" (b), "r"(x) );
return result ;
}
#else /* __ARM_ARCH_6__ */
inline FIXP_DBL fixmadddiv2_DD (FIXP_DBL x, const FIXP_DBL a, const FIXP_DBL b) {
INT discard, result = x;

8
libFDK/include/arm/fixmul_arm.h Normal file → Executable file
View File

@ -114,14 +114,6 @@ inline INT fixmuldiv2_DD (const INT a, const INT b)
: "r" (a), "r" (b)) ;
return result ;
}
#elif defined(__TARGET_ARCH_8)
inline INT fixmuldiv2_DD (const INT a, const INT b)
{
INT result ;
__asm__ ("smulh %0, %1, %2" : "=r" (result)
: "r" (a), "r" (b)) ;
return result ;
}
#else
inline INT fixmuldiv2_DD (const INT a, const INT b)
{