[FFmpeg-devel] [PATCH 1/2] disabled loongson2, loongson3 and mmi for non-loongson cpu
shivraj.patil at imgtec.com
shivraj.patil at imgtec.com
Tue Mar 1 14:11:17 CET 2016
From: Shivraj Patil <shivraj.patil at imgtec.com>
For mips P5600/I6400 configure, assembler throws errors at check_inline_asm for loongson2, loongson3 and mmi as the instructions opcode not supported on this processor. Hence disabled loongson2, loongson3 and mmi in non loogson mips cpus.
Signed-off-by: Shivraj Patil <shivraj.patil at imgtec.com>
---
configure | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/configure b/configure
index 8491fa1..3f4a0c7 100755
--- a/configure
+++ b/configure
@@ -4181,6 +4181,9 @@ elif enabled mips; then
disable mipsdsp
disable mipsdspr2
disable msa
+ disable loongson2
+ disable loongson3
+ disable mmi
;;
24kf*)
disable mips32r6
@@ -4189,6 +4192,9 @@ elif enabled mips; then
disable mipsdsp
disable mipsdspr2
disable msa
+ disable loongson2
+ disable loongson3
+ disable mmi
;;
24kec|34kc|1004kc)
disable mips32r6
@@ -4197,6 +4203,9 @@ elif enabled mips; then
disable mipsfpu
disable mipsdspr2
disable msa
+ disable loongson2
+ disable loongson3
+ disable mmi
;;
24kef*|34kf*|1004kf*)
disable mips32r6
@@ -4204,6 +4213,9 @@ elif enabled mips; then
disable mips64r6
disable mipsdspr2
disable msa
+ disable loongson2
+ disable loongson3
+ disable mmi
;;
74kc)
disable mips32r6
@@ -4211,12 +4223,18 @@ elif enabled mips; then
disable mips64r6
disable mipsfpu
disable msa
+ disable loongson2
+ disable loongson3
+ disable mmi
;;
74kf)
disable mips32r6
disable mips64r2
disable mips64r6
disable msa
+ disable loongson2
+ disable loongson3
+ disable mmi
;;
p5600)
disable mips32r6
@@ -4224,6 +4242,9 @@ elif enabled mips; then
disable mips64r6
disable mipsdsp
disable mipsdspr2
+ disable loongson2
+ disable loongson3
+ disable mmi
check_cflags "-mtune=p5600" &&
check_cflags "-mfp64 -msched-weight -mload-store-pairs -funroll-loops" &&
add_asflags "-mfp64"
@@ -4234,6 +4255,9 @@ elif enabled mips; then
disable mips64r2
disable mipsdsp
disable mipsdspr2
+ disable loongson2
+ disable loongson3
+ disable mmi
check_cflags "-mtune=i6400 -mabi=64" &&
check_cflags "-mfp64 -msched-weight -mload-store-pairs -funroll-loops" &&
check_ldflags "-mabi=64" &&
@@ -4282,6 +4306,9 @@ elif enabled mips; then
disable mipsdsp
disable mipsdspr2
disable msa
+ disable loongson2
+ disable loongson3
+ disable mmi
;;
esac
--
1.7.9.5
More information about the ffmpeg-devel
mailing list