Revision ebddd2e2 libavcodec/x86/h264dsp_mmx.c

View differences:

libavcodec/x86/h264dsp_mmx.c
827 827
                    __asm__ volatile(
828 828
                        "movd %0, %%mm1 \n\t"
829 829
                        "punpckldq %1, %%mm1 \n\t"
830
                        "movq %%mm1, %%mm2 \n\t"
831
                        "psrlw $7, %%mm2 \n\t"
832
                        "pand %%mm6, %%mm2 \n\t"
833
                        "por %%mm2, %%mm1 \n\t" // ref_cache with -2 mapped to -1
834 830
                        "punpckldq %%mm1, %%mm2 \n\t"
835 831
                        "pcmpeqb %%mm2, %%mm1 \n\t"
836 832
                        "paddb %%mm6, %%mm1 \n\t"

Also available in: Unified diff