Skip to content
  • Matt Turner's avatar
    Revert F16C series (MR 6774) · 1aac47db
    Matt Turner authored
    This reverts commit 4fb2eddf.
    This reverts commit 7a1deb16.
    This reverts commit 2b6a1723.
    This reverts commit 5af81393.
    This reverts commit 87900afe.
    
    A couple of problems were discovered after this series was merged that
    cause breakage in different configurations:
    
       (1) It seems that using -mf16c also enables AVX, leading to SIGILL on
       platforms that do not support AVX.
       (2) Since clang only warns about unknown flags, and as I understand
       it Meson's handling in cc.has_argument() is broken, the F16C code is
       wrongly enabled when clang is used, even for example on ARM, leading
       to a compilation error.
    
    Closes: mesa/mesa#3583
    
    
    Reviewed-by: default avatarEric Anholt <eric@anholt.net>
    Reviewed-by: default avatarRob Clark <robdclark@chromium.org>
    Part-of: <mesa/mesa!6969>
    1aac47db