• Mans Rullgard's avatar
    ARM: fix MUL64 inline asm for pre-armv6 · c51695db
    Mans Rullgard authored
    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: 's avatarMans Rullgard <mans@mansr.com>
    c51695db
mathops.h 3.1 KB