public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/101804] New: float_vector_all_ones_operand should be used more
@ 2021-08-06 19:14 hjl.tools at gmail dot com
  2021-08-06 20:08 ` [Bug target/101804] " hjl.tools at gmail dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: hjl.tools at gmail dot com @ 2021-08-06 19:14 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 101804
           Summary: float_vector_all_ones_operand should be used more
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hjl.tools at gmail dot com
                CC: crazylht at gmail dot com
  Target Milestone: ---
            Target: i386,x86-64

Created attachment 51270
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51270&action=edit
A patch

float_vector_all_ones_operand should be used more.

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

* [Bug target/101804] float_vector_all_ones_operand should be used more
  2021-08-06 19:14 [Bug target/101804] New: float_vector_all_ones_operand should be used more hjl.tools at gmail dot com
@ 2021-08-06 20:08 ` hjl.tools at gmail dot com
  2021-08-10  4:42 ` cvs-commit at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: hjl.tools at gmail dot com @ 2021-08-06 20:08 UTC (permalink / raw)
  To: gcc-bugs

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #51270|0                           |1
        is obsolete|                            |

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
Created attachment 51271
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51271&action=edit
A patch

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

* [Bug target/101804] float_vector_all_ones_operand should be used more
  2021-08-06 19:14 [Bug target/101804] New: float_vector_all_ones_operand should be used more hjl.tools at gmail dot com
  2021-08-06 20:08 ` [Bug target/101804] " hjl.tools at gmail dot com
@ 2021-08-10  4:42 ` cvs-commit at gcc dot gnu.org
  2021-10-06 23:40 ` hjl.tools at gmail dot com
  2022-12-25  6:44 ` pinskia at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-08-10  4:42 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by H.J. Lu <hjl@gcc.gnu.org>:

https://gcc.gnu.org/g:3d7ccbc1efbd475031a9a4a6110c531f71fbf631

commit r12-2829-g3d7ccbc1efbd475031a9a4a6110c531f71fbf631
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Fri Aug 6 12:32:01 2021 -0700

    x86: Optimize load of const FP all bits set vectors

    Check float_vector_all_ones_operand for vector floating-point modes to
    optimize load of const floating-point all bits set vectors.

    gcc/

            PR target/101804
            * config/i386/constraints.md (BC): Document for integer SSE
            constant all bits set operand.
            (BF): New constraint for const floating-point all bits set
            vectors.
            * config/i386/i386.c (standard_sse_constant_p): Likewise.
            (standard_sse_constant_opcode): Likewise.
            * config/i386/sse.md (sseconstm1): New mode attribute.
            (mov<mode>_internal): Replace BC with <sseconstm1>.

    gcc/testsuite/

            PR target/101804
            * gcc.target/i386/avx2-gather-2.c: Pass -march=skylake instead
            of "-mavx2 -mtune=skylake".  Scan vpcmpeqd.

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

* [Bug target/101804] float_vector_all_ones_operand should be used more
  2021-08-06 19:14 [Bug target/101804] New: float_vector_all_ones_operand should be used more hjl.tools at gmail dot com
  2021-08-06 20:08 ` [Bug target/101804] " hjl.tools at gmail dot com
  2021-08-10  4:42 ` cvs-commit at gcc dot gnu.org
@ 2021-10-06 23:40 ` hjl.tools at gmail dot com
  2022-12-25  6:44 ` pinskia at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: hjl.tools at gmail dot com @ 2021-10-06 23:40 UTC (permalink / raw)
  To: gcc-bugs

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> ---
Fixed for GCC 12.

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

* [Bug target/101804] float_vector_all_ones_operand should be used more
  2021-08-06 19:14 [Bug target/101804] New: float_vector_all_ones_operand should be used more hjl.tools at gmail dot com
                   ` (2 preceding siblings ...)
  2021-10-06 23:40 ` hjl.tools at gmail dot com
@ 2022-12-25  6:44 ` pinskia at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-12-25  6:44 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |12.0

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

end of thread, other threads:[~2022-12-25  6:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-06 19:14 [Bug target/101804] New: float_vector_all_ones_operand should be used more hjl.tools at gmail dot com
2021-08-06 20:08 ` [Bug target/101804] " hjl.tools at gmail dot com
2021-08-10  4:42 ` cvs-commit at gcc dot gnu.org
2021-10-06 23:40 ` hjl.tools at gmail dot com
2022-12-25  6:44 ` pinskia 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).