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:
@@ -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__) */
|
||||
|
Reference in New Issue
Block a user