ARM: remove MUL64 and MAC64 inline asm
authorMans Rullgard <mans@mansr.com>
Sun, 5 Jun 2011 12:44:28 +0000 (13:44 +0100)
committerMans Rullgard <mans@mansr.com>
Mon, 6 Jun 2011 16:33:40 +0000 (17:33 +0100)
commit21c65125424ef3dd7e276dea14f8e8ef3292e388
treea011a4d55db0de271be4e482df7c1bf94a8f85e9
parent0018b7f04378a0ff83c6c6d097fc6bdc97212970
ARM: remove MUL64 and MAC64 inline asm

Current GCC versions know how to generate these instructions
properly and avoiding inline asm gives better code.  The MULH
function for ARMv5 uses the same instruction and is also not
needed any more.

The MLS64 macro remains since negating an input would normally
not be allowed as it would fail for INT_MIN.  In our uses, the
inputs never have this value and thus negating is safe.

Signed-off-by: Mans Rullgard <mans@mansr.com>
libavcodec/arm/mathops.h