[FFmpeg-devel] [PATCH] Higher bit-depth x86 SIMD assembly for yadif

Michael Niedermayer michaelni at gmx.at
Mon Jan 23 07:20:16 CET 2012


On Sun, Jan 22, 2012 at 05:53:44PM +0100, James Darnley wrote:
> On 2012-01-19 22:44, Michael Niedermayer wrote:
[...]
> > @@ -261,6 +263,7 @@ void RENAME(ff_yadif_filter_line_16bit)(uint8_t *dst,
> >              PMAXSD(MM"2",MM"1",MM"7")\
> >              PMINSD(MM"3",MM"1",MM"7")\
> >              PACK(MM"1")\
> > +            MOVH" "MM"1, (%[dst])"\
> >  \
> >              :\
> >              :[tmpA] "r"(tmpA),\
> > @@ -269,9 +272,10 @@ void RENAME(ff_yadif_filter_line_16bit)(uint8_t *dst,
> >               [next] "r"(next),\
> >               [prefs]"r"(prefs),\
> >               [mrefs]"r"(mrefs),\
> > -             [mode] "g"(mode)\
> > +             [mode] "g"(mode),\
> > +             [dst]  "r"(dst)\
> > +            :CLOBBER_LIST\
> >          );\

this uses quite a few registers, i suspect it wont reliably compile
on x86_32,

[...]

-- 
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: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120123/c47d208e/attachment.asc>


More information about the ffmpeg-devel mailing list