[Ffmpeg-devel] Re: [PATCH] SIMD accelected SNOW decoding

Guillaume POIRIER poirierg
Mon Nov 28 21:41:41 CET 2005


Hi,

On 11/28/05, Guillaume Poirier
<guillaume.poirier at etudiant.univ-rennes1.fr> wrote:
[..]
> Ok, by bad; that had absolutely no chance to work whatsoever . I had
> broken the register name while converting the IA-32 style regs to AMD64
> style regs.
>
> Please find in attachment the updated untested ASM. If someone could
> test it on AMD64 64bit mode during the day, that would be most appreciated.

Tested, it still doesn't work (I get a grayish picture, then a segfault).

I include the back trace and the disasm so that obvious errors that I
wouldn't have seen alone could be pointed out to me.

back trace:
#0  0x00000000006b10ba in decode_frame (avctx=0xadb7c0, data=0xadb6a0,
data_size=0x7fffffefb51c,
    buf=0x7df700 "\b\034, at Pdt\210\210tdP@,\034\b\f
8Ldx\220\uffff\uffff\220xdL8
\f\f(@\\t\220\uffff\uffff\u0128\220t\\@(\f\020,Lh\210\uffff\uffff\uffff\uffff\u0124\210hL,\020\020,Lh\210\uffff\uffff\uffff\uffff\u0124\210hL,\020\f(@\\t\220\uffff\uffff\u0128\220t\\@(\f\f
8Ldx\220\uffff\uffff\220xdL8
\f\b\034, at Pdt\210\210tdP@,\034\b\b\024$0 at L\\hh\\L at 0$\024\b\004\020\030$,8 at LL at 8,$\030\020\004\004\b\020\024\034
(,,( \034\024\020\b\004", buf_size=13621980) at snow.c:2930

disasm:

0x00000000006b10af <decode_frame+11759>:        paddusw %xmm3,%xmm6
0x00000000006b10b3 <decode_frame+11763>:        mov   
0xfffffffffffffde8(%rbp),%rdx
0x00000000006b10ba <decode_frame+11770>:        movdqa (%rdi),%xmm3
0x00000000006b10be <decode_frame+11774>:        movdqa %xmm6,%xmm0
0x00000000006b10c2 <decode_frame+11778>:        movdqa 0x10(%rdi),%xmm5
0x00000000006b10c7 <decode_frame+11783>:        punpckhwd %xmm7,%xmm6
0x00000000006b10cb <decode_frame+11787>:        punpcklwd %xmm7,%xmm0
0x00000000006b10cf <decode_frame+11791>:        add    %rcx,0x18(%rax)

Thought?

Guillaume
--
MPlayer's doc is offline. Find some fresh one here:
http://tuxrip.free.fr//MPlayer-DOCS-HTML/en/
http://tuxrip.free.fr//MPlayer-DOCS-HTML/fr/





More information about the ffmpeg-devel mailing list