diff options
author | Rémi Denis-Courmont <remi@remlab.net> | 2024-06-07 21:08:21 +0300 |
---|---|---|
committer | Rémi Denis-Courmont <remi@remlab.net> | 2024-06-13 21:16:16 +0300 |
commit | c5f69719bcb407072cc0a3c7b852a38c48b9e561 (patch) | |
tree | 0263a424c1fad58eff70b9f625cf6e618ec720d2 /libavformat/isom.c | |
parent | 0231097d1bd6803a4724465797fcaddbe1fcc92d (diff) | |
download | ffmpeg-c5f69719bcb407072cc0a3c7b852a38c48b9e561.tar.gz |
lavu/bswap: remove some inline assembler
C code or compiler built-ins are preferable over inline assembler for
byte-swaps as it allows for better optimisations (e.g. instruction
scheduling) which would otherwise be impossible.
As with f64c2e710fa1a7b59753224e717f57c48462076f for x86 and Arm,
this removes the inline assembler on GCC (and Clang) since we now
require recent enough compiler versions. This indeed seems to work on
AArch64, SuperH and, if Zbb is enabled, RISC-V. (AVR32 was not tested
since it has no known working compilers at this time.)
Diffstat (limited to 'libavformat/isom.c')
0 files changed, 0 insertions, 0 deletions