• Chip Kerchner's avatar
    lsws/ppc/yuv2rgb_altivec: Replace vec_lvsl/vec_perm with vec_xl · 3a557c5d
    Chip Kerchner authored
    gcc 6.x and 7.x generate wrong code for little endian machines
    for the vec_lvsl/vec_perm instruction combos in some cases.
    The bug was fixed in version 8.x
    If these instructions are replaced with vec_xl, the problem goes
    away for all versions of the compilers.
    
    Fixes ticket #7124.
    3a557c5d
yuv2rgb_altivec.c 36.8 KB