I wrote:
> 
> /var/tmp/portage/media-video/ffmpeg-1.2.6-r1/work/ffmpeg-1.2.6/libavcodec/x86/mathops.h:94:1:
>  error: 'asm' operand has impossible constraints

The piece of source code at that point:

#if HAVE_CMOV
#define COPY3_IF_LT(x, y, a, b, c, d)\
__asm__ volatile(\
    "cmpl  %0, %3       \n\t"\
    "cmovl %3, %0       \n\t"\
    "cmovl %4, %1       \n\t"\
    "cmovl %5, %2       \n\t"\
    : "+&r" (x), "+&r" (a), "+r" (c)\
    : "r" (y), "r" (b), "r" (d)\
);
#endif

and the emerge messages:

[...]
In file included from 
/var/tmp/portage/media-video/ffmpeg-1.2.6-r1/work/ffmpeg-1.2.6/libavcodec/mathops.h:45:0,
                 from 
/var/tmp/portage/media-video/ffmpeg-1.2.6-r1/work/ffmpeg-1.2.6/libavcodec/motion_est.c:35:
/var/tmp/portage/media-video/ffmpeg-1.2.6-r1/work/ffmpeg-1.2.6/libavcodec/x86/mathops.h:94:1:
 error: 'asm' operand has impossible constraints
 __asm__ volatile(\
 ^
/var/tmp/portage/media-video/ffmpeg-1.2.6-r1/work/ffmpeg-1.2.6/libavcodec/motion_est.c:378:5:
 note: in expansion of macro 'COPY3_IF_LT'
     COPY3_IF_LT(dminh, d, dx, x, dy, y)\
     ^
/var/tmp/portage/media-video/ffmpeg-1.2.6-r1/work/ffmpeg-1.2.6/libavcodec/motion_est.c:440:17:
 note: in expansion of macro 'CHECK_SAD_HALF_MV'
                 CHECK_SAD_HALF_MV(xy2, +1, -1)
                 ^
[repeated 12 times]

-Matt


Reply via email to