[libav-commits] configure: add support for bdver1 and bdver2 CPU types.

Diego Elio Pettenò git at libav.org
Tue Sep 4 15:31:51 CEST 2012


Module: libav
Branch: master
Commit: b36f87ff90d87687f574d51385f47bb98d14600a

Author:    Diego Elio Pettenò <flameeyes at flameeyes.eu>
Committer: Luca Barbato <lu_zero at gentoo.org>
Date:      Mon Sep  3 05:20:44 2012 -0700

configure: add support for bdver1 and bdver2 CPU types.

Signed-off-by: Diego Elio Pettenò <flameeyes at flameeyes.eu>
Signed-off-by: Luca Barbato <lu_zero at gentoo.org>

---

 configure |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index ff051f5..88c5c75 100755
--- a/configure
+++ b/configure
@@ -2122,7 +2122,7 @@ suncc_flags(){
                     prescott|nocona)    echo -xarch=sse3 -xchip=pentium4 ;;
                     *-sse3)             echo -xarch=sse3                 ;;
                     core2)              echo -xarch=ssse3 -xchip=core2   ;;
-                    amdfam10|barcelona)       echo -xarch=sse4_1         ;;
+                    amdfam10|barcelona|bdver*) echo -xarch=sse4_1        ;;
                     athlon-4|athlon-[mx]p)    echo -xarch=ssea           ;;
                     k8|opteron|athlon64|athlon-fx)
                                               echo -xarch=sse2a          ;;
@@ -2494,7 +2494,7 @@ elif enabled x86; then
             disable cmov
         ;;
         # targets that do support conditional mov (cmov)
-        i686|pentiumpro|pentium[23]|pentium-m|athlon|athlon-tbird|athlon-4|athlon-[mx]p|athlon64*|k8*|opteron*|athlon-fx|core2|amdfam10|barcelona|atom)
+        i686|pentiumpro|pentium[23]|pentium-m|athlon|athlon-tbird|athlon-4|athlon-[mx]p|athlon64*|k8*|opteron*|athlon-fx|core2|amdfam10|barcelona|atom|bdver*)
             cpuflags="-march=$cpu"
             enable cmov
             enable fast_cmov



More information about the libav-commits mailing list