aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorRémi Denis-Courmont <remi@remlab.net>2024-06-09 14:43:34 +0300
committerRémi Denis-Courmont <remi@remlab.net>2024-06-14 21:28:10 +0300
commit4819aeebf4d0cd497913cd45b88ec3eb02da0bd8 (patch)
treea107b497d77165778b70fb8a814d35c4f211a1ca /configure
parentbe2cabce327b58a549500bbeb3a342530f2573e9 (diff)
downloadffmpeg-4819aeebf4d0cd497913cd45b88ec3eb02da0bd8.tar.gz
avr32: remove explicit support
The vendor has long since switched to Arm, with 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.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure26
1 files changed, 1 insertions, 25 deletions
diff --git a/configure b/configure
index 06a72e4114..d326536744 100755
--- a/configure
+++ b/configure
@@ -2129,9 +2129,6 @@ AUTODETECT_LIBS="
ARCH_LIST="
aarch64
arm
- avr32
- avr32_ap
- avr32_uc
bfin
ia64
loongarch
@@ -2815,7 +2812,7 @@ done
aligned_stack_if_any="aarch64 ppc x86"
fast_64bit_if_any="aarch64 ia64 mips64 parisc64 ppc64 riscv64 sparc64 x86_64"
-fast_clz_if_any="aarch64 avr32 mips ppc x86"
+fast_clz_if_any="aarch64 mips ppc x86"
fast_unaligned_if_any="aarch64 ppc x86"
simd_align_16_if_any="altivec neon sse"
simd_align_32_if_any="avx"
@@ -5339,27 +5336,6 @@ elif enabled arm; then
test_cflags -mfp16-format=ieee && add_cflags -mfp16-format=ieee
-elif enabled avr32; then
-
- case $cpu in
- ap7[02]0[0-2])
- subarch="avr32_ap"
- cpuflags="-mpart=$cpu"
- ;;
- ap)
- subarch="avr32_ap"
- cpuflags="-march=$cpu"
- ;;
- uc3[ab]*)
- subarch="avr32_uc"
- cpuflags="-mcpu=$cpu"
- ;;
- uc)
- subarch="avr32_uc"
- cpuflags="-march=$cpu"
- ;;
- esac
-
elif enabled bfin; then
cpuflags="-mcpu=$cpu"