Re: [FFmpeg-devel] [PATCH 2/2] arm: relax byte-swap assembler constraints

2022-09-03 Thread Martin Storsjö
On Sat, 3 Sep 2022, r...@remlab.net wrote: From: Rémi Denis-Courmont 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

[FFmpeg-devel] [PATCH 2/2] arm: relax byte-swap assembler constraints

2022-09-03 Thread remi
From: Rémi Denis-Courmont 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