[FFmpeg-devel] Loongson Optimization Patchs and Machine Express Issuse

Michael Niedermayer michael at niedermayer.cc
Sat Apr 25 13:15:11 CEST 2015


On Wed, Apr 22, 2015 at 02:27:11PM +0800, 周晓勇 wrote:
> Hi Michael,
>     We have prepared the patchs and Loongson-3A machine for you, but DHL needs consignee's phone number in case they could not contact u. Could you send me your phone number right now? I have make an appointment with courier tomorrow morning.
>     The enclosures are our Loongson-3 patchs for ffmpeg-master based on fbdaebb29861d32acc93fa55fd13554a2ae32eb4.
>     Cause the machine belong to the company, our boss need one Electronic Receipt to confirm that i do not keep the machine privately. Could you email me one receipt with your sign after you receive it?
> 
> Thanks.
> 
> 
> 
> --
> 周晓勇 @系统研发部
> Christian Zhou @System R & D
> 
> 龙芯中科技术有限公司
> Loongson Technology Corporation Limited
> 
> 北京市海淀区温泉镇中关村环保科技示范园龙芯产业园2号楼
> Loongson Industrial Park, building 2 , Zhongguancun Environmental protection park,
> Haidian District, Beijing, China

[...]
> @@ -3717,6 +3719,16 @@ case "$arch" in
>      ;;
>      mips*|IP*)
>          arch="mips"
> +        _cpuinfo="cat /proc/cpuinfo"
> +        pname=$($_cpuinfo | grep 'model' | cut -d ':' -f 2 | head -n 1)
> +        case $pname in
> +            *Loongson-3A*)
> +            cpu="loongson3a"
> +            ;;
> +            *Loongson-3B*)
> +            cpu="loongson3a"
> +            ;;
> +        esac
>      ;;
>      parisc*|hppa*)
>          arch="parisc"

this is not possible
/proc/cpuinfo doesnt always exist and its not correct for
cross compiling

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Into a blind darkness they enter who follow after the Ignorance,
they as if into a greater darkness enter who devote themselves
to the Knowledge alone. -- Isha Upanishad
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150425/1b2d9a34/attachment.asc>


More information about the ffmpeg-devel mailing list