[Bug c++/83018] To support creation of header-only C++ libraries with SIMD optimization and dynamic dispatch, allow all x86 intrinsics regardless of target instruction set

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Nov 16 15:04:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83018

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |x86_64-*-* i?86-*-*
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
You need to guard affected code portions with #pragma GCC target ("avx2") for
example.


More information about the Gcc-bugs mailing list