public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/100929] New: gcc fails to optimize less to min for SIMD code
@ 2021-06-06  9:39 denis.yaroshevskij at gmail dot com
  2021-06-06 14:29 ` [Bug c++/100929] " glisse at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: denis.yaroshevskij at gmail dot com @ 2021-06-06  9:39 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 100929
           Summary: gcc fails to optimize less to min for SIMD code
           Product: gcc
           Version: og10 (devel/omp/gcc-10)
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: denis.yaroshevskij at gmail dot com
  Target Milestone: ---

Stand alone float - x86 example:
https://godbolt.org/z/vr3cjvY5G

Using a library x86 float, int, aarch64: https://godbolt.org/z/zPP48vzrq

less + blend or greater + blend should become min/max.

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

end of thread, other threads:[~2022-04-03 12:56 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-06  9:39 [Bug c++/100929] New: gcc fails to optimize less to min for SIMD code denis.yaroshevskij at gmail dot com
2021-06-06 14:29 ` [Bug c++/100929] " glisse at gcc dot gnu.org
2021-06-06 14:31 ` [Bug target/100929] " glisse at gcc dot gnu.org
2021-06-06 20:18 ` pinskia at gcc dot gnu.org
2021-06-06 22:29 ` denis.yaroshevskij at gmail dot com
2021-06-07  6:02 ` glisse at gcc dot gnu.org
2021-06-07  8:00 ` denis.yaroshevskij at gmail dot com
2022-04-03 12:56 ` glisse 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).