shithub: libvpx

Download patch

ref: 1c31e3ecc012646eb39dccfbfd2aabf28cf8636b
parent: 0b8b682b70b2e007071824b2733c5c11d6f4fd6f
author: Gordana Cmiljanovic <[email protected]>
date: Thu Aug 7 15:09:47 EDT 2014

Add support for MIPS64.

Change-Id: I78e27bf942b4a825543e76be25546b6458bad8b6

--- a/README
+++ b/README
@@ -65,6 +65,7 @@
     armv7-win32-vs12
     armv7s-darwin-gcc
     mips32-linux-gcc
+    mips64-linux-gcc
     ppc32-darwin8-gcc
     ppc32-darwin9-gcc
     ppc32-linux-gcc
--- a/build/make/rtcd.pl
+++ b/build/make/rtcd.pl
@@ -365,13 +365,13 @@
   @REQUIRES = filter(keys %required ? keys %required : qw/mmx sse sse2/);
   &require(@REQUIRES);
   x86;
-} elsif ($opts{arch} eq 'mips32') {
-  @ALL_ARCHS = filter(qw/mips32/);
+} elsif ($opts{arch} eq 'mips32' || $opts{arch} eq 'mips64') {
+  @ALL_ARCHS = filter("$opts{arch}");
   open CONFIG_FILE, $opts{config} or
     die "Error opening config file '$opts{config}': $!\n";
   while (<CONFIG_FILE>) {
     if (/HAVE_DSPR2=yes/) {
-      @ALL_ARCHS = filter(qw/mips32 dspr2/);
+      @ALL_ARCHS = filter("$opts{arch}", qw/dspr2/);
       last;
     }
   }
--- a/configure
+++ b/configure
@@ -111,6 +111,7 @@
 all_platforms="${all_platforms} armv7-win32-vs12"
 all_platforms="${all_platforms} armv7s-darwin-gcc"
 all_platforms="${all_platforms} mips32-linux-gcc"
+all_platforms="${all_platforms} mips64-linux-gcc"
 all_platforms="${all_platforms} ppc32-darwin8-gcc"
 all_platforms="${all_platforms} ppc32-darwin9-gcc"
 all_platforms="${all_platforms} ppc32-linux-gcc"
@@ -253,6 +254,8 @@
 
     mips32
     dspr2
+
+    mips64
 
     mmx
     sse