[MPlayer-users] Proper FAST_CMOV check possible?

Reimar Döffinger Reimar.Doeffinger at gmx.de
Thu Aug 5 07:17:11 CEST 2010


On Wed, Aug 04, 2010 at 01:32:13PM +0100, Edd Barrett wrote:
> {standard input}:18: Error: `ff_h264_lps_range(%eax,%esi,2)' is not a valid 64 b
> it base/index expression
> {standard input}:31: Error: `ff_h264_norm_shift(%esi)' is not a valid 64 bit bas
> e/index expression

Let me clarify one thing: this message means something is utterly
broken.
However it seems to be the code in FFmpeg, it is just that Linux
binutils silently "fixes" it.
In cabac.h there is code like
        "movzbl " MANGLE(ff_h264_norm_shift) "(%%ecx), %%ecx\n\t"\
BRANCHLESS_GET_CABAC("%0", "%2", "(%1)", "%%ebx", "%%bx", "%%esi", "%%edx", "%%dl")

Some of those (all that are used within (), but only in exactly those
places) need to be replaced with REG_c, REG_S etc.


More information about the MPlayer-users mailing list