[FFmpeg-devel] [PATCH 4/4] avcodec: loongson optimized h264pred with mmi

Michael Niedermayer michael at niedermayer.cc
Sun Jul 12 17:58:22 CEST 2015


On Sun, Jul 12, 2015 at 05:56:09PM +0200, Michael Niedermayer wrote:
> On Sun, Jul 12, 2015 at 09:13:18PM +0800, 周晓勇 wrote:
> > 
> > 
> > 
> > > -----原始邮件-----
> > > 发件人: "Michael Niedermayer" <michael at niedermayer.cc>
> > > 发送时间: 2015年7月12日 星期日
> > > 收件人: "FFmpeg development discussions and patches" <ffmpeg-devel at ffmpeg.org>
> > > 抄送: 
> > > 主题: Re: [FFmpeg-devel] [PATCH 4/4] avcodec: loongson optimized h264pred with mmi
> > > 
> > > On Sat, Jul 11, 2015 at 09:02:51PM +0200, Michael Niedermayer wrote:
> > > > On Sun, Jul 05, 2015 at 11:43:37PM +0200, Michael Niedermayer wrote:
> > > > > On Sat, Jul 04, 2015 at 12:14:51PM +0800, 周晓勇 wrote:
> > > > > > i will offer a download source of Fedora21 OS next Monday.
> > > > > > i will run yum-builddep ffmpeg-xxx.src.rpm for preparing devel environment.
> > > > > >  what else do you need to install, because it maybe slow for downloading other packages abroad.
> > > > > > the new FC21 build with mips64el N64 API and mips64r2(-march=loongson3a) isa, and enabled ARCH_MIPS64 after ffmpeg configure.
> > > > > > the FC19-O32 was slow, so aborted.
> > > > > 
> > > > > other things hmm
> > > > > ccache, dash, screen
> > > > 
> > > > with dash configure finished in 1minute instead of 4 with bash (on loongson)
> > > 
> > > fate no longer passes after installing Fedora21
> > > 
> > > with
> > > dash ./configure --enable-gpl --cc='ccache gcc' --enable-pthreads --samples=/home/loongson/fate/ --enable-nonfree  --enable-version3 --assert-level=2
> > > i get failure due to illegal instructions
> > > 
> > > with
> > > dash ./configure --enable-gpl --cc='ccache gcc' --enable-pthreads --samples=/home/loongson/fate/ --enable-nonfree  --enable-version3 --assert-level=2  --cpu=loongson3a --enable-loongson3
> > > it fails in dca tests:
> > > 
> > > TEST    dca-core
> > > TEST    dca-xll
> > > stddev:  853.28 PSNR: 37.71 MAXDIFF:11651 bytes:  1554432/   700416
> > > MAXDIFF: |11651 - 0| >= 1
> > > size: |1554432 - 700416| >= 0
> > > Test dca-core failed. Look at tests/data/fate/dca-core.err for details.
> > > tests/Makefile:202: recipe for target 'fate-dca-core' failed
> > > make: *** [fate-dca-core] Error 1
> > > make: *** Waiting for unfinished jobs....
> > > stddev:  219.18 PSNR: 49.51 MAXDIFF: 2483 bytes:  8994816/  1073152
> > > MAXDIFF: |2483 - 0| >= 1
> > > size: |8994816 - 1073152| >= 0
> > > Test dca-xll failed. Look at tests/data/fate/dca-xll.err for details.
> > > tests/Makefile:202: recipe for target 'fate-dca-xll' failed
> > > make: *** [fate-dca-xll] Error 1
> > > 
> > 
> > yes, i got this dca failure too. i have encountered many other errors in fate test.
> > why do you think it's due to illegal instructions? 
> 
> make distclean ; ./configure --enable-gpl --cc='ccache gcc' --enable-pthreads --samples=/home/loongson/fate/ --enable-nonfree  --enable-version3 --assert-level=2 && make -j4
> ./ffmpeg
> Illegal instruction (core dumped)

 disassemble $pc-32, $pc+32
Dump of assembler code from 0x120082ddc to 0x120082e1c:
   0x0000000120082ddc <ff_jpeg2000_init_tier1_luts+520>:        movn    v1,a3,t9
   0x0000000120082de0 <ff_jpeg2000_init_tier1_luts+524>:        dsll    a0,v1,0x1
   0x0000000120082de4 <ff_jpeg2000_init_tier1_luts+528>:        beqz    v0,0x120082df4 <ff_jpeg2000_init_tier1_luts+544>
   0x0000000120082de8 <ff_jpeg2000_init_tier1_luts+532>:        daddu   v1,a0,v1
   0x0000000120082dec <ff_jpeg2000_init_tier1_luts+536>:        move    v0,a2
   0x0000000120082df0 <ff_jpeg2000_init_tier1_luts+540>:        movn    v0,a3,t8
   0x0000000120082df4 <ff_jpeg2000_init_tier1_luts+544>:        daddu   v0,v1,v0
   0x0000000120082df8 <ff_jpeg2000_init_tier1_luts+548>:        dsll    v0,v0,0x2
=> 0x0000000120082dfc <ff_jpeg2000_init_tier1_luts+552>:        0x7d62100a
   0x0000000120082e00 <ff_jpeg2000_init_tier1_luts+556>:        addiu   v0,v0,1
   0x0000000120082e04 <ff_jpeg2000_init_tier1_luts+560>:        dsll    v1,v0,0x1
   0x0000000120082e08 <ff_jpeg2000_init_tier1_luts+564>:        beqz    a1,0x120082e18 <ff_jpeg2000_init_tier1_luts+580>
   0x0000000120082e0c <ff_jpeg2000_init_tier1_luts+568>:        daddu   v0,v1,v0
   0x0000000120082e10 <ff_jpeg2000_init_tier1_luts+572>:        move    a1,a2
   0x0000000120082e14 <ff_jpeg2000_init_tier1_luts+576>:        movn    a1,a3,s7
   0x0000000120082e18 <ff_jpeg2000_init_tier1_luts+580>:        dsll    v1,a1,0x1


[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The real ebay dictionary, page 2
"100% positive feedback" - "All either got their money back or didnt complain"
"Best seller ever, very honest" - "Seller refunded buyer after failed scam"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150712/cb800c9a/attachment.sig>


More information about the ffmpeg-devel mailing list