[FFmpeg-devel] [PATCH/RFC]Allow compilation without HAVE_6REGS

Michael Niedermayer michaelni at gmx.at
Fri Apr 18 23:18:00 CEST 2014


On Fri, Apr 18, 2014 at 08:00:32PM +0000, Carl Eugen Hoyos wrote:
> Michael Niedermayer <michaelni <at> gmx.at> writes:
> 
> > On Fri, Apr 18, 2014 at 02:48:00PM +0000, Carl Eugen Hoyos wrote:
> > > Carl Eugen Hoyos <cehoyos <at> ag.or.at> writes:
> > > 
> > > > Attached patch is needed here for compilation without HAVE_6REGS
> > 
> > should be ok if these all use 6 or more registers
> 
> I am not sure which parameters must be counted:
> 
[...]
> libavcodec/x86/cavsdsp.c QPEL_CAVS():
>     : "+a"(src), "+c"(dst), "+m"(h)
>     : "d"((x86_reg)srcStride), "S"((x86_reg)dstStride), 
>       "m"(ff_pw_5), "m"(ff_pw_4)
>     : "memory"

thats not 6
you could try to access the ff_pw* through
MANGLE & NAMED_CONSTRAINTS_ADD


[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I know you won't believe me, but the highest form of Human Excellence is
to question oneself and others. -- Socrates
-------------- 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/20140418/3e9f051e/attachment.asc>


More information about the ffmpeg-devel mailing list