1
0
mirror of https://github.com/mstorsjo/fdk-aac.git synced 2025-06-05 22:39:13 +02:00

GCC 4.4 and later cannot handle h constructs. Fix to replace the assembly constructs.

Change-Id: I47509c20ee32f04ce42105563d2d4013910da531
This commit is contained in:
Raghu Gandham
2012-07-10 17:34:45 -07:00
parent d2854e2ac7
commit 50d9a4cb1e
2 changed files with 5 additions and 31 deletions

View File

@@ -100,14 +100,8 @@ amm-info@iis.fraunhofer.de
inline INT fixmuldiv2_DD (const INT a, const INT b)
{
INT result ;
asm ("mult %1,%2;\n"
: "=hi" (result)
: "d" (a), "r" (b)
: "lo");
return result ;
return ((long long) a * b) >> 32;
}
#endif /* (__GNUC__) && defined(__mips__) */