• Rémi Denis-Courmont's avatar
    arm: relax byte-swap assembler constraints · 620e6e14
    Rémi Denis-Courmont authored
    There are no particular reasons to force the compiler to use the same
    register as output and input operand. This forces an extra MOV
    instruction if the input value needs to be reused after the swap.
    
    In most cases, this makes no differences, as the compiler will seleect
    the same register for both operands either way.
    Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
    620e6e14
bswap.h 1.87 KB