[FFmpeg-devel] [PATCH] stricter constraints for libavcodec/i386/mpegvideo_mmx.c

Alexis Ballier alexis.ballier
Fri Aug 22 13:15:36 CEST 2008


Hi,

All these variables are used as left operands of a movd instruction,
which does accept only memory or register operands while the "g"
constraint also allows immediates. This patch shall reflect this by
using "mr" instead.

[ Don't ask me why, but gcc 4.3.1 on x86_64 with -O2 -ftracer as
cflags tries to put an immediate there. ]

Alexis.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mpegvide_mmx_asm_constraints.patch
Type: application/octet-stream
Size: 2481 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080822/2faf322e/attachment.obj>



More information about the ffmpeg-devel mailing list