https://bugs.freedesktop.org/show_bug.cgi?id=109023

            Bug ID: 109023
           Summary: error: inlining failed in call to always_inline
                    ‘__m512 _mm512_and_ps(__m512, __m512)’: target
                    specific option mismatch
           Product: Mesa
           Version: git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Other
          Assignee: mesa-dev@lists.freedesktop.org
          Reporter: v...@freedesktop.org
        QA Contact: mesa-dev@lists.freedesktop.org
                CC: baker.dyla...@gmail.com

Build error with meson.

In file included from
/usr/lib/gcc/x86_64-redhat-linux/8/include/immintrin.h:57,
                 from
/usr/lib/gcc/x86_64-redhat-linux/8/include/x86intrin.h:48,
                 from ../src/gallium/drivers/swr/rasterizer/common/os.h:99,
                 from ../src/gallium/drivers/swr/rasterizer/core/clip.cpp:31:
/usr/lib/gcc/x86_64-redhat-linux/8/include/avx512dqintrin.h: In static member
function ‘static SIMDImpl::SIMD512Impl::Float
SIMDImpl::SIMD512Impl::AVX512Impl::and_ps(SIMDImpl::SIMD512Impl::Float,
SIMDImpl::SIMD512Impl::Float)’:
/usr/lib/gcc/x86_64-redhat-linux/8/include/avx512dqintrin.h:564:1: error:
inlining failed in call to always_inline ‘__m512 _mm512_and_ps(__m512,
__m512)’: target specific option mismatch
 _mm512_and_ps (__m512 __A, __m512 __B)
 ^~~~~~~~~~~~~
In file included from
../src/gallium/drivers/swr/rasterizer/common/simdlib.hpp:172,
                 from
../src/gallium/drivers/swr/rasterizer/common/simdintrin.h:28,
                 from ../src/gallium/drivers/swr/rasterizer/core/clip.h:30,
                 from ../src/gallium/drivers/swr/rasterizer/core/clip.cpp:32:
../src/gallium/drivers/swr/rasterizer/common/simdlib_512_avx512_core.inl:38:88:
note: called from here
     static SIMDINLINE Float SIMDCALL op(Float a, Float b) { return
_mm512_##intrin(a, b); }
                                                                               
        ^
../src/gallium/drivers/swr/rasterizer/common/simdlib_512_avx512_core.inl:39:28:
note: in expansion of macro ‘SIMD_WRAPPER_2_’
 #define SIMD_WRAPPER_2(op) SIMD_WRAPPER_2_(op, op)
                            ^~~~~~~~~~~~~~~
../src/gallium/drivers/swr/rasterizer/common/simdlib_512_avx512_core.inl:122:1:
note: in expansion of macro ‘SIMD_WRAPPER_2’
 SIMD_WRAPPER_2(and_ps);    // return a & b       (float treated as int)
 ^~~~~~~~~~~~~~

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to