On Sat, 3 Sep 2022, r...@remlab.net wrote:

From: Rémi Denis-Courmont <r...@remlab.net>

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.
---
libavutil/arm/bswap.h | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)

These two patches LGTM - I can push them later after running them through some test builds (even though I don't expect there to be any issues).

// Martin
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to