diff mbox series

[FFmpeg-devel,2/2] sh4: remove architecture

Message ID 20240607181947.330026-2-remi@remlab.net
State New
Headers show
Series [FFmpeg-devel,1/2] lavu/bswap: remove some inline assembler | expand

Checks

Context Check Description
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Rémi Denis-Courmont June 7, 2024, 6:19 p.m. UTC
Support for SuperH was dropped over a decade ago. There no longer is any
architecture-specific code to be found, so just remove the corresponding
test. Technically it is still possible to compile FFmpeg as the
"generic" (pure C) architecture.
---
 configure             | 4 ----
 libavcodec/sh4/README | 6 ------
 2 files changed, 10 deletions(-)
 delete mode 100644 libavcodec/sh4/README

Comments

Sean McGovern June 7, 2024, 9:18 p.m. UTC | #1
On Fri, Jun 7, 2024 at 2:20 PM Rémi Denis-Courmont <remi@remlab.net> wrote:
>
> Support for SuperH was dropped over a decade ago. There no longer is any
> architecture-specific code to be found, so just remove the corresponding
> test. Technically it is still possible to compile FFmpeg as the
> "generic" (pure C) architecture.
> ---
>  configure             | 4 ----
>  libavcodec/sh4/README | 6 ------
>  2 files changed, 10 deletions(-)
>  delete mode 100644 libavcodec/sh4/README
>
> diff --git a/configure b/configure
> index 6c5b8aab9a..efead4075a 100755
> --- a/configure
> +++ b/configure
> @@ -2146,7 +2146,6 @@ ARCH_LIST="
>      ppc64
>      riscv
>      s390
> -    sh4
>      sparc
>      sparc64
>      tilegx
> @@ -5249,9 +5248,6 @@ case "$arch" in
>      s390|s390x)
>          arch="s390"
>      ;;
> -    sh4|sh)
> -        arch="sh4"
> -    ;;
>      sun4*|sparc*)
>          arch="sparc"
>      ;;
> diff --git a/libavcodec/sh4/README b/libavcodec/sh4/README
> deleted file mode 100644
> index 8dd61fe875..0000000000
> --- a/libavcodec/sh4/README
> +++ /dev/null
> @@ -1,6 +0,0 @@
> -SH4 optimizations have been removed in
> -commit d6096a67422534918405abb46dafbbac4608cbc3
> -The last revission with the optimizations is cbfc9046e1c7e295b74f252902ae6f255eef4e78
> -
> -If you want to maintain these (or other) SH4 optimizations in ffmpeg, then please
> -contact ffmpeg-devel@ffmpeg.org
> --
> 2.45.1
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".

Sure, OK.
Sean McGovern June 13, 2024, 4:35 p.m. UTC | #2
On Fri, Jun 7, 2024, 17:18 Sean McGovern <gseanmcg@gmail.com> wrote:

> On Fri, Jun 7, 2024 at 2:20 PM Rémi Denis-Courmont <remi@remlab.net>
> wrote:
> >
> > Support for SuperH was dropped over a decade ago. There no longer is any
> > architecture-specific code to be found, so just remove the corresponding
> > test. Technically it is still possible to compile FFmpeg as the
> > "generic" (pure C) architecture.
> > ---
> >  configure             | 4 ----
> >  libavcodec/sh4/README | 6 ------
> >  2 files changed, 10 deletions(-)
> >  delete mode 100644 libavcodec/sh4/README
> >
> > diff --git a/configure b/configure
> > index 6c5b8aab9a..efead4075a 100755
> > --- a/configure
> > +++ b/configure
> > @@ -2146,7 +2146,6 @@ ARCH_LIST="
> >      ppc64
> >      riscv
> >      s390
> > -    sh4
> >      sparc
> >      sparc64
> >      tilegx
> > @@ -5249,9 +5248,6 @@ case "$arch" in
> >      s390|s390x)
> >          arch="s390"
> >      ;;
> > -    sh4|sh)
> > -        arch="sh4"
> > -    ;;
> >      sun4*|sparc*)
> >          arch="sparc"
> >      ;;
> > diff --git a/libavcodec/sh4/README b/libavcodec/sh4/README
> > deleted file mode 100644
> > index 8dd61fe875..0000000000
> > --- a/libavcodec/sh4/README
> > +++ /dev/null
> > @@ -1,6 +0,0 @@
> > -SH4 optimizations have been removed in
> > -commit d6096a67422534918405abb46dafbbac4608cbc3
> > -The last revission with the optimizations is
> cbfc9046e1c7e295b74f252902ae6f255eef4e78
> > -
> > -If you want to maintain these (or other) SH4 optimizations in ffmpeg,
> then please
> > -contact ffmpeg-devel@ffmpeg.org
> > --
> > 2.45.1
> >
> > _______________________________________________
> > ffmpeg-devel mailing list
> > ffmpeg-devel@ffmpeg.org
> > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> >
> > To unsubscribe, visit link above, or email
> > ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
>
> Sure, OK.
>

Also ping.

-- Sean McGovern

>
diff mbox series

Patch

diff --git a/configure b/configure
index 6c5b8aab9a..efead4075a 100755
--- a/configure
+++ b/configure
@@ -2146,7 +2146,6 @@  ARCH_LIST="
     ppc64
     riscv
     s390
-    sh4
     sparc
     sparc64
     tilegx
@@ -5249,9 +5248,6 @@  case "$arch" in
     s390|s390x)
         arch="s390"
     ;;
-    sh4|sh)
-        arch="sh4"
-    ;;
     sun4*|sparc*)
         arch="sparc"
     ;;
diff --git a/libavcodec/sh4/README b/libavcodec/sh4/README
deleted file mode 100644
index 8dd61fe875..0000000000
--- a/libavcodec/sh4/README
+++ /dev/null
@@ -1,6 +0,0 @@ 
-SH4 optimizations have been removed in
-commit d6096a67422534918405abb46dafbbac4608cbc3
-The last revission with the optimizations is cbfc9046e1c7e295b74f252902ae6f255eef4e78
-
-If you want to maintain these (or other) SH4 optimizations in ffmpeg, then please
-contact ffmpeg-devel@ffmpeg.org