[FFmpeg-devel] [PATCH] avr32: remove explicit support

Martin Storsjö martin at martin.st
Mon Jun 10 14:27:23 EEST 2024


On Sun, 9 Jun 2024, Rémi Denis-Courmont wrote:

> The vendor has long since switched to Arm, wit the last product reaching
> their official end-of-life over 11 years ago. Linux support for the ISA
> was dropped 7 years ago. More importantly, this architecture was never
> supported by upstream GCC, and the vendor fork is stuck at version 4.2,
> which FFmpeg no longer supports (as per C11 requirement).
>
> Presumably, this is still the case given the lack of vendor support.
> Indeed all of the code being removed here consisted of inline assembler
> scalar optimisations. A sane C compiler should be able to perform those
> automatically nowadays (with the sole exception of fast CLZ detection),
> but this is moot as this architecture is evidently dead.
> ---
> configure                      |  26 +----
> libavcodec/avr32/mathops.h     | 101 ------------------
> libavcodec/mathops.h           |   2 -
> libavutil/avr32/bswap.h        |  44 --------
> libavutil/avr32/intreadwrite.h | 182 ---------------------------------
> libavutil/bswap.h              |   2 -
> libavutil/intreadwrite.h       |   2 -
> 7 files changed, 1 insertion(+), 358 deletions(-)
> delete mode 100644 libavcodec/avr32/mathops.h
> delete mode 100644 libavutil/avr32/bswap.h
> delete mode 100644 libavutil/avr32/intreadwrite.h

LGTM

// Martin


More information about the ffmpeg-devel mailing list