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

Michael Niedermayer michaelni at gmx.at
Tue May 5 19:51:12 CEST 2015


On Sat, Apr 25, 2015 at 01:15:11PM +0200, Michael Niedermayer wrote:
> 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

autodetection should also be rather simple as it seems to fail linking
with the wrong flags

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Why not whip the teacher when the pupil misbehaves? -- Diogenes of Sinope
-------------- 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/20150505/0eed2229/attachment.asc>


More information about the ffmpeg-devel mailing list