[PATCH] common: Add support for ARC architecture

Tim Müller tim at centricular.com
Tue Aug 19 13:57:19 PDT 2014


On Tue, 2014-08-19 at 20:13 +0400, Alexey Brodkin wrote:

Hi Alexey,

Thanks for the patch. I've pushed it to the common submodule now (will
get active next time we push an update to the various modules). In
future it would be great if you could submit patches by filing a bug in
bugzilla at http://bugzilla.gnome.org, which is where we track and
review patches. Thanks!

 Cheers
  -Tim

> GStreamer could be built for and run on Synopsys DesignWare ARC cores.
> More information about these CPUs could be found at:
> http://www.synopsys.com/IP/PROCESSORIP/ARCPROCESSORS
> 
> Signed-off-by: Alexey Brodkin <abrodkin at synopsys.com>
> 
> Cc: Tim-Philipp Muller <tim at centricular.net>
> Cc: Edward Hervey <edward at collabora.com>
> Cc: Sebastian Dröge <sebastian at centricular.com>
> ---
>  m4/gst-arch.m4 | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
> 
> diff --git a/m4/gst-arch.m4 b/m4/gst-arch.m4
> index 077a20b..33a92b9 100644
> --- a/m4/gst-arch.m4
> +++ b/m4/gst-arch.m4
> @@ -45,6 +45,9 @@ AC_DEFUN([AG_GST_ARCH],
>      xalpha*)
>        HAVE_CPU_ALPHA=yes
>        AC_DEFINE(HAVE_CPU_ALPHA, 1, [Define if the target CPU is an Alpha]) ;;
> +    xarc*)
> +      HAVE_CPU_ARC=yes
> +      AC_DEFINE(HAVE_CPU_ARC, 1, [Define if the target CPU is an ARC]) ;;
>      xarm*)
>        HAVE_CPU_ARM=yes
>        AC_DEFINE(HAVE_CPU_ARM, 1, [Define if the target CPU is an ARM]) ;;
> @@ -84,6 +87,7 @@ AC_DEFUN([AG_GST_ARCH],
>    AM_CONDITIONAL(HAVE_CPU_PPC,        test "x$HAVE_CPU_PPC" = "xyes")
>    AM_CONDITIONAL(HAVE_CPU_PPC64,      test "x$HAVE_CPU_PPC64" = "xyes")
>    AM_CONDITIONAL(HAVE_CPU_ALPHA,      test "x$HAVE_CPU_ALPHA" = "xyes")
> +  AM_CONDITIONAL(HAVE_CPU_ARC,        test "x$HAVE_CPU_ARC" = "xyes")
>    AM_CONDITIONAL(HAVE_CPU_ARM,        test "x$HAVE_CPU_ARM" = "xyes")
>    AM_CONDITIONAL(HAVE_CPU_SPARC,      test "x$HAVE_CPU_SPARC" = "xyes")
>    AM_CONDITIONAL(HAVE_CPU_HPPA,       test "x$HAVE_CPU_HPPA" = "xyes")
> @@ -104,7 +108,7 @@ AC_DEFUN([AG_GST_UNALIGNED_ACCESS], [
>    AC_MSG_CHECKING([if unaligned memory access works correctly])
>    if test x"$as_cv_unaligned_access" = x ; then
>      case $host in
> -      alpha*|arm*|hp*|mips*|sh*|sparc*|ia64*)
> +      alpha*|arc*|arm*|hp*|mips*|sh*|sparc*|ia64*)
>          _AS_ECHO_N([(blacklisted) ])
>          as_cv_unaligned_access=no
>  	;;

-- 
Tim Müller, Centricular Ltd - http://www.centricular.com



More information about the gstreamer-devel mailing list