shithub: libvpx

Download patch

ref: 175b57d7209b2f9c26806bb85910652963b19a7b
parent: 8609048a776652b130918d5f3556eed011dbd6dc
parent: 1c31e3ecc012646eb39dccfbfd2aabf28cf8636b
author: James Zern <[email protected]>
date: Sat Aug 16 06:08:13 EDT 2014

Merge "Add support for MIPS64."

--- 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