• Ronald S. Bultje's avatar
    dsputil: make add_hfyu_left_prediction_sse4() support unaligned src. · da6505ad
    Ronald S. Bultje authored
    This makes add_hfyu_left_prediction_sse4() handle sources that are not
    16-byte aligned in its own function rather than by proxying the call to
    add_hfyu_left_prediction_ssse3(). This fixes a crash on Win64, since the
    sse4 version clobberes xmm6, but the ssse3 version (which uses MMX regs)
    does not restore it, thus leading to XMM clobbering and RSP being off.
    Fixes bug 342.
dsputil_yasm.asm 35.3 KB