[FFmpeg-devel] [PATCH V2] Fixes compiler bug - replace vec_lvsl/vec_perm with vec_xl
ckerchne
ckerchne at linux.vnet.ibm.com
Fri Aug 2 18:27:16 EEST 2019
A bug exist with the gcc compilers for Power in versions 6.x and 7.x
(verified with 6.3 and 7.4). It was fixed in version 8.x (verified with
8.3). I was using a Power 9 ppc64le machine for building and testing.
This is to address ticket #7124.
It appears the compiler is generating the wrong code for little endian
machines for the vec_lvsl/vec_perm instruction combos in some cases. If
these instructions are replaced with vec_xl, the problem goes away for
all versions of the compilers.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg_altivec_yuv2rgb.patch
Type: text/x-diff
Size: 3556 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20190802/8b63a414/attachment.patch>
More information about the ffmpeg-devel
mailing list