public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/115362] New: fixed_size_simd dot product recognition not working for stdx::reduce
@ 2024-06-05 16:42 jondaniel879 at gmail dot com
  2024-06-05 16:56 ` [Bug c++/115362] " jondaniel879 at gmail dot com
                   ` (22 more replies)
  0 siblings, 23 replies; 24+ messages in thread
From: jondaniel879 at gmail dot com @ 2024-06-05 16:42 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 115362
           Summary: fixed_size_simd dot product recognition not working
                    for stdx::reduce
           Product: gcc
           Version: 14.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jondaniel879 at gmail dot com
  Target Milestone: ---

namespace stdx = std::experimental;
using namespace stdx::parallelism_v2;

template<typename FIRST, typename... OTHER,
typename = std::enable_if_t<(std::is_convertible_v<std::decay_t<OTHER>, const
stdx::fixed_size_simd<T,N>> && ...)>>
static inline constexpr T dot(FIRST first, OTHER&&... other)
{
   return stdx::reduce(first * (... * std::forward<OTHER>(other)));
}

doesn't generate vdpp(s/d) on AVX machines.

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2024-06-17 13:10 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-05 16:42 [Bug c++/115362] New: fixed_size_simd dot product recognition not working for stdx::reduce jondaniel879 at gmail dot com
2024-06-05 16:56 ` [Bug c++/115362] " jondaniel879 at gmail dot com
2024-06-05 17:00 ` [Bug tree-optimization/115362] " pinskia at gcc dot gnu.org
2024-06-05 17:54 ` jondaniel879 at gmail dot com
2024-06-05 18:32 ` jondaniel879 at gmail dot com
2024-06-05 18:33 ` jondaniel879 at gmail dot com
2024-06-05 21:10 ` [Bug target/115362] " jondaniel879 at gmail dot com
2024-06-05 21:26 ` jondaniel879 at gmail dot com
2024-06-05 21:29 ` jondaniel879 at gmail dot com
2024-06-05 23:11 ` jondaniel879 at gmail dot com
2024-06-05 23:12 ` jondaniel879 at gmail dot com
2024-06-05 23:17 ` [Bug target/115362] fixed_size_simd dot product recognition and sign of determinant " jondaniel879 at gmail dot com
2024-06-06  6:40 ` rguenth at gcc dot gnu.org
2024-06-06  6:57 ` jondaniel879 at gmail dot com
2024-06-06  7:49 ` jondaniel879 at gmail dot com
2024-06-06  7:53 ` jondaniel879 at gmail dot com
2024-06-06  9:21 ` jondaniel879 at gmail dot com
2024-06-10 21:40 ` jondaniel879 at gmail dot com
2024-06-10 21:44 ` jondaniel879 at gmail dot com
2024-06-10 21:45 ` jondaniel879 at gmail dot com
2024-06-14  2:07 ` jondaniel879 at gmail dot com
2024-06-17 12:31 ` jondaniel879 at gmail dot com
2024-06-17 13:06 ` jondaniel879 at gmail dot com
2024-06-17 13:10 ` jondaniel879 at gmail dot com

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).