ARM: fix MUL64 inline asm for pre-armv6
authorMans Rullgard <mans@mansr.com>
Tue, 31 May 2011 20:04:01 +0000 (21:04 +0100)
committerMans Rullgard <mans@mansr.com>
Tue, 31 May 2011 21:21:00 +0000 (22:21 +0100)
commitc51695dbf6e05b397ad8ef8e89d27723db5cb9f1
treef5b35ff28446f2f4b39723bc6e4466f186ee666c
parent5ac4952a5808cc8cfe01031ca9d4df7d072f453c
ARM: fix MUL64 inline asm for pre-armv6

Prior to ARMv6, the destination registers of the SMULL instruction
must be distinct from the first source register.  Marking the
output early-clobber ensures it is allocated unique registers.

This restriction is dropped in ARMv6 and later, so allowing overlap
between input and output registers there might give better code.

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