[MPlayer-dev-eng] [PATCH 3/6] cpudetect: add loongson cpu flag

周晓勇 zhouxiaoyong at loongson.cn
Wed Sep 2 12:06:40 CEST 2015


>From 8dc80d22e7c5e3b5349f93fb862c5499d034dfba Mon Sep 17 00:00:00 2001
From: ZhouXiaoyong <zhouxiaoyong at loongson.cn>
Date: Thu, 20 Aug 2015 16:47:30 +0800
Subject: [PATCH 3/6] cpudetect: add loongson cpu flag


Signed-off-by: ZhouXiaoyong <zhouxiaoyong at loongson.cn>
---
 cpudetect.c | 3 +++
 1 file changed, 3 insertions(+)


diff --git a/cpudetect.c b/cpudetect.c
index bc41794..8acd041 100644
--- a/cpudetect.c
+++ b/cpudetect.c
@@ -525,6 +525,9 @@ void GetCpuCaps( CpuCaps *caps)
     if (ARCH_MIPS)
         mp_msg(MSGT_CPUDETECT,MSGL_V,"CPU: MIPS\n");
 
+    if (ARCH_LOONGSON)
+        mp_msg(MSGT_CPUDETECT,MSGL_V,"CPU: Loongson\n");
+
     if (ARCH_PA_RISC)
         mp_msg(MSGT_CPUDETECT,MSGL_V,"CPU: Hewlett-Packard PA-RISC\n");
 
-- 
2.1.4



More information about the MPlayer-dev-eng mailing list