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

postmaster at raasu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |postmaster at raasu dot org

--- Comment #2 from postmaster at raasu dot org ---
Portability is one main reason to add missing intrinsics... with combination of
cpuid check and _xgetbv() we can cleanly check if AVX or MPX is available at
run-time. We can also check specific instructions during configure process to
see if we need to add workarounds for bad or missing functions/intrinsics.

Some developers think that cleanliness of the code is more important than need
to reduplicate hand-written assembler code every time for optimal performance.

We have to remember that gcc is not only used for BSD-like operating systems,
including OS/X, Linux, *BSD etc, but for Cygwin, MSYS/MSYS2 and MinGW which
benefit from gcc being as close as possible compiler of Visual C++ regarding
intrinsics support.

Reply via email to