public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug libstdc++/112097] New: _PSTL_EARLYEXIT_PRESENT macro doesn't correctly identify intel compilers. @ 2023-10-26 8:12 denis.yaroshevskij at gmail dot com 2023-10-26 10:06 ` [Bug libstdc++/112097] " redi at gcc dot gnu.org ` (2 more replies) 0 siblings, 3 replies; 4+ messages in thread From: denis.yaroshevskij at gmail dot com @ 2023-10-26 8:12 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112097 Bug ID: 112097 Summary: _PSTL_EARLYEXIT_PRESENT macro doesn't correctly identify intel compilers. Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: denis.yaroshevskij at gmail dot com Target Milestone: --- simd first code: https://github.com/gcc-mirror/gcc/blob/be34a8b538c0f04b11a428bd1a9340eb19dec13f/libstdc%2B%2B-v3/include/pstl/unseq_backend_simd.h#L164C13-L164C36 find_if(std::unseq on icx goes to the block = 8 part https://godbolt.org/z/6fdT4j4cz despite it supporting the `#pragma omp simd early_exit` https://godbolt.org/z/Yre19vxdG ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug libstdc++/112097] _PSTL_EARLYEXIT_PRESENT macro doesn't correctly identify intel compilers. 2023-10-26 8:12 [Bug libstdc++/112097] New: _PSTL_EARLYEXIT_PRESENT macro doesn't correctly identify intel compilers denis.yaroshevskij at gmail dot com @ 2023-10-26 10:06 ` redi at gcc dot gnu.org 2023-10-28 12:18 ` denis.yaroshevskij at gmail dot com 2023-10-28 21:03 ` redi at gcc dot gnu.org 2 siblings, 0 replies; 4+ messages in thread From: redi at gcc dot gnu.org @ 2023-10-26 10:06 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112097 Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2023-10-26 Status|UNCONFIRMED |NEW Ever confirmed|0 |1 --- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- This is set in <pstl/pstl_config.h> which does: #if defined(__INTEL_COMPILER) && __INTEL_COMPILER >= 1800 # define _PSTL_EARLYEXIT_PRESENT # define _PSTL_MONOTONIC_PRESENT #endif That was written by Intel, but maybe before icc was replaced by icx. The relevant macros for icx are: #define __INTEL_CLANG_COMPILER 20230200 #define __INTEL_LLVM_COMPILER 20230200 ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug libstdc++/112097] _PSTL_EARLYEXIT_PRESENT macro doesn't correctly identify intel compilers. 2023-10-26 8:12 [Bug libstdc++/112097] New: _PSTL_EARLYEXIT_PRESENT macro doesn't correctly identify intel compilers denis.yaroshevskij at gmail dot com 2023-10-26 10:06 ` [Bug libstdc++/112097] " redi at gcc dot gnu.org @ 2023-10-28 12:18 ` denis.yaroshevskij at gmail dot com 2023-10-28 21:03 ` redi at gcc dot gnu.org 2 siblings, 0 replies; 4+ messages in thread From: denis.yaroshevskij at gmail dot com @ 2023-10-28 12:18 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112097 --- Comment #2 from Denis Yaroshevskiy <denis.yaroshevskij at gmail dot com> --- I was maybe wrong - there is a high chance the pragma doesn't do anything here. Someone who knows intel compiler and this things should answer. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug libstdc++/112097] _PSTL_EARLYEXIT_PRESENT macro doesn't correctly identify intel compilers. 2023-10-26 8:12 [Bug libstdc++/112097] New: _PSTL_EARLYEXIT_PRESENT macro doesn't correctly identify intel compilers denis.yaroshevskij at gmail dot com 2023-10-26 10:06 ` [Bug libstdc++/112097] " redi at gcc dot gnu.org 2023-10-28 12:18 ` denis.yaroshevskij at gmail dot com @ 2023-10-28 21:03 ` redi at gcc dot gnu.org 2 siblings, 0 replies; 4+ messages in thread From: redi at gcc dot gnu.org @ 2023-10-28 21:03 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112097 --- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- I hope the Intel devs got it right :) ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-10-28 21:03 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2023-10-26 8:12 [Bug libstdc++/112097] New: _PSTL_EARLYEXIT_PRESENT macro doesn't correctly identify intel compilers denis.yaroshevskij at gmail dot com 2023-10-26 10:06 ` [Bug libstdc++/112097] " redi at gcc dot gnu.org 2023-10-28 12:18 ` denis.yaroshevskij at gmail dot com 2023-10-28 21:03 ` redi at gcc dot gnu.org
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).