[vlc-devel] [PATCH] configure: remove unused and broken AVX tests
Francois Cartegnie
fcvlcdev at free.fr
Mon Sep 14 22:08:34 CEST 2020
Le 14/09/2020 à 20:21, Rémi Denis-Courmont a écrit :
> Le maanantaina 14. syyskuuta 2020, 20.34.12 EEST Francois Cartegnie a écrit :
>> Le 14/09/2020 à 19:28, Rémi Denis-Courmont a écrit :
>>> These tests do not work in either GCC 10 or Clang 9 or earlier.
>>> Unsurprisingly for broken tests, nothing uses their results.
>>
>> Because they are removed, seen as no-op ?
>
> No, literally nothing uses CAN_COMPILE_AVX.
> In fact, I forgot to remove HAVE_AVX2.
>
> (HAVE_AVX2_INSTRINSICS is unused, but at least it gets provisoned correctly.)
>
I meant: the tests are failing because the compiler sees it as no-op (no
output constraint or artificial dependency).
6.47.2.1 Volatile
https://gcc.gnu.org/onlinedocs/gcc/Extended-Asm.html
--
Francois Cartegnie
VideoLAN - VLC Developer
More information about the vlc-devel
mailing list