public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug regression/97018] New: [r11 Regression] FAIL: gcc.target/i386/l_fma_float_1.c scan-assembler-times vfnmsub[123]+ss 32 on Linux/x86_64 (-m64 -march=cascadelake)
@ 2020-09-11  6:11 skpgkp2 at gmail dot com
  2020-09-11  6:31 ` [Bug regression/97018] [11 " rguenth at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: skpgkp2 at gmail dot com @ 2020-09-11  6:11 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 97018
           Summary: [r11 Regression] FAIL: gcc.target/i386/l_fma_float_1.c
                    scan-assembler-times vfnmsub[123]+ss 32 on
                    Linux/x86_64 (-m64 -march=cascadelake)
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: regression
          Assignee: unassigned at gcc dot gnu.org
          Reporter: skpgkp2 at gmail dot com
                CC: hjl.tools at gmail dot com
  Target Milestone: ---

fma test fail on x86, when compiled with -march=cascadelake

Regression link: 

https://gcc.gnu.org/pipermail/gcc-regression/2020-August/073111.html
https://gcc.gnu.org/pipermail/gcc-regression/2020-August/073112.html
https://gcc.gnu.org/pipermail/gcc-regression/2020-August/073113.html
https://gcc.gnu.org/pipermail/gcc-regression/2020-August/073114.html
https://gcc.gnu.org/pipermail/gcc-regression/2020-August/073115.html
https://gcc.gnu.org/pipermail/gcc-regression/2020-August/073116.html
https://gcc.gnu.org/pipermail/gcc-regression/2020-August/073117.html
https://gcc.gnu.org/pipermail/gcc-regression/2020-August/073118.html
https://gcc.gnu.org/pipermail/gcc-regression/2020-August/073119.html
https://gcc.gnu.org/pipermail/gcc-regression/2020-August/073120.html
https://gcc.gnu.org/pipermail/gcc-regression/2020-August/073121.html
https://gcc.gnu.org/pipermail/gcc-regression/2020-August/073122.html

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

* [Bug regression/97018] [11 Regression] FAIL: gcc.target/i386/l_fma_float_1.c scan-assembler-times vfnmsub[123]+ss 32 on Linux/x86_64 (-m64 -march=cascadelake)
  2020-09-11  6:11 [Bug regression/97018] New: [r11 Regression] FAIL: gcc.target/i386/l_fma_float_1.c scan-assembler-times vfnmsub[123]+ss 32 on Linux/x86_64 (-m64 -march=cascadelake) skpgkp2 at gmail dot com
@ 2020-09-11  6:31 ` rguenth at gcc dot gnu.org
  2020-09-11  7:12 ` [Bug target/97018] " crazylht at gmail dot com
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-09-11  6:31 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |11.0
   Last reconfirmed|                            |2020-09-11
     Ever confirmed|0                           |1
            Summary|[r11 Regression] FAIL:      |[11 Regression] FAIL:
                   |gcc.target/i386/l_fma_float |gcc.target/i386/l_fma_float
                   |_1.c scan-assembler-times   |_1.c scan-assembler-times
                   |vfnmsub[123]+ss 32 on       |vfnmsub[123]+ss 32 on
                   |Linux/x86_64 (-m64          |Linux/x86_64 (-m64
                   |-march=cascadelake)         |-march=cascadelake)
             Status|UNCONFIRMED                 |WAITING
             Target|                            |x86_64-*-* i?86-*-*

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Do they PASS on the GCC 10 branch?

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

* [Bug target/97018] [11 Regression] FAIL: gcc.target/i386/l_fma_float_1.c scan-assembler-times vfnmsub[123]+ss 32 on Linux/x86_64 (-m64 -march=cascadelake)
  2020-09-11  6:11 [Bug regression/97018] New: [r11 Regression] FAIL: gcc.target/i386/l_fma_float_1.c scan-assembler-times vfnmsub[123]+ss 32 on Linux/x86_64 (-m64 -march=cascadelake) skpgkp2 at gmail dot com
  2020-09-11  6:31 ` [Bug regression/97018] [11 " rguenth at gcc dot gnu.org
@ 2020-09-11  7:12 ` crazylht at gmail dot com
  2020-09-11 16:52 ` cvs-commit at gcc dot gnu.org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: crazylht at gmail dot com @ 2020-09-11  7:12 UTC (permalink / raw)
  To: gcc-bugs

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

Hongtao.liu <crazylht at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |crazylht at gmail dot com

--- Comment #2 from Hongtao.liu <crazylht at gmail dot com> ---
There's `-mtune=generic` in the testcase, which will imply 512-bit
vectorization on CLX, but testcase assume 256-bit vectorization.

Add `-mprefer-vector-width=256` or `-mno-avx512f`?

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

* [Bug target/97018] [11 Regression] FAIL: gcc.target/i386/l_fma_float_1.c scan-assembler-times vfnmsub[123]+ss 32 on Linux/x86_64 (-m64 -march=cascadelake)
  2020-09-11  6:11 [Bug regression/97018] New: [r11 Regression] FAIL: gcc.target/i386/l_fma_float_1.c scan-assembler-times vfnmsub[123]+ss 32 on Linux/x86_64 (-m64 -march=cascadelake) skpgkp2 at gmail dot com
  2020-09-11  6:31 ` [Bug regression/97018] [11 " rguenth at gcc dot gnu.org
  2020-09-11  7:12 ` [Bug target/97018] " crazylht at gmail dot com
@ 2020-09-11 16:52 ` cvs-commit at gcc dot gnu.org
  2020-09-11 16:53 ` hjl.tools at gmail dot com
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-09-11 16:52 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 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:40e99ed5f4e59c6d0a8e81cd6544c9b4e7ec2fe7

commit r11-3163-g40e99ed5f4e59c6d0a8e81cd6544c9b4e7ec2fe7
Author: Sunil K Pandey <skpgkp2@gmail.com>
Date:   Thu Sep 10 23:17:59 2020 -0700

    Fix fma test case [PR97018]

    These tests are written for 256 bit vector. For -march=cascadelake,
    vector size changed to 512 bit. It doubles the number of fma
    instruction and test fail. Fix is to explicitly disable 512 bit
    vector by passing additional option -mno-avx512f.

    Tested on x86-64.

    gcc/testsuite/ChangeLog:

            PR target/97018
            * gcc.target/i386/l_fma_double_1.c: Add option -mno-avx512f.
            * gcc.target/i386/l_fma_double_2.c: Likewise.
            * gcc.target/i386/l_fma_double_3.c: Likewise.
            * gcc.target/i386/l_fma_double_4.c: Likewise.
            * gcc.target/i386/l_fma_double_5.c: Likewise.
            * gcc.target/i386/l_fma_double_6.c: Likewise.
            * gcc.target/i386/l_fma_float_1.c: Likewise.
            * gcc.target/i386/l_fma_float_2.c: Likewise.
            * gcc.target/i386/l_fma_float_3.c: Likewise.
            * gcc.target/i386/l_fma_float_4.c: Likewise.
            * gcc.target/i386/l_fma_float_5.c: Likewise.
            * gcc.target/i386/l_fma_float_6.c: Likewise.

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

* [Bug target/97018] [11 Regression] FAIL: gcc.target/i386/l_fma_float_1.c scan-assembler-times vfnmsub[123]+ss 32 on Linux/x86_64 (-m64 -march=cascadelake)
  2020-09-11  6:11 [Bug regression/97018] New: [r11 Regression] FAIL: gcc.target/i386/l_fma_float_1.c scan-assembler-times vfnmsub[123]+ss 32 on Linux/x86_64 (-m64 -march=cascadelake) skpgkp2 at gmail dot com
                   ` (2 preceding siblings ...)
  2020-09-11 16:52 ` cvs-commit at gcc dot gnu.org
@ 2020-09-11 16:53 ` hjl.tools at gmail dot com
  2020-09-11 17:07 ` skpgkp2 at gmail dot com
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: hjl.tools at gmail dot com @ 2020-09-11 16:53 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

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

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

* [Bug target/97018] [11 Regression] FAIL: gcc.target/i386/l_fma_float_1.c scan-assembler-times vfnmsub[123]+ss 32 on Linux/x86_64 (-m64 -march=cascadelake)
  2020-09-11  6:11 [Bug regression/97018] New: [r11 Regression] FAIL: gcc.target/i386/l_fma_float_1.c scan-assembler-times vfnmsub[123]+ss 32 on Linux/x86_64 (-m64 -march=cascadelake) skpgkp2 at gmail dot com
                   ` (3 preceding siblings ...)
  2020-09-11 16:53 ` hjl.tools at gmail dot com
@ 2020-09-11 17:07 ` skpgkp2 at gmail dot com
  2020-09-11 17:20 ` hjl.tools at gmail dot com
  2020-09-11 18:14 ` hjl.tools at gmail dot com
  6 siblings, 0 replies; 8+ messages in thread
From: skpgkp2 at gmail dot com @ 2020-09-11 17:07 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Sunil Pandey <skpgkp2 at gmail dot com> ---
(In reply to Richard Biener from comment #1)
> Do they PASS on the GCC 10 branch?

GCC 10 branch has same issue. Same patch should be applied to GCC 10 too.

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

* [Bug target/97018] [11 Regression] FAIL: gcc.target/i386/l_fma_float_1.c scan-assembler-times vfnmsub[123]+ss 32 on Linux/x86_64 (-m64 -march=cascadelake)
  2020-09-11  6:11 [Bug regression/97018] New: [r11 Regression] FAIL: gcc.target/i386/l_fma_float_1.c scan-assembler-times vfnmsub[123]+ss 32 on Linux/x86_64 (-m64 -march=cascadelake) skpgkp2 at gmail dot com
                   ` (4 preceding siblings ...)
  2020-09-11 17:07 ` skpgkp2 at gmail dot com
@ 2020-09-11 17:20 ` hjl.tools at gmail dot com
  2020-09-11 18:14 ` hjl.tools at gmail dot com
  6 siblings, 0 replies; 8+ messages in thread
From: hjl.tools at gmail dot com @ 2020-09-11 17:20 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|FIXED                       |---
             Status|RESOLVED                    |REOPENED
            Version|11.0                        |10.2.0

--- Comment #6 from H.J. Lu <hjl.tools at gmail dot com> ---
GCC 10 has the same issue.

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

* [Bug target/97018] [11 Regression] FAIL: gcc.target/i386/l_fma_float_1.c scan-assembler-times vfnmsub[123]+ss 32 on Linux/x86_64 (-m64 -march=cascadelake)
  2020-09-11  6:11 [Bug regression/97018] New: [r11 Regression] FAIL: gcc.target/i386/l_fma_float_1.c scan-assembler-times vfnmsub[123]+ss 32 on Linux/x86_64 (-m64 -march=cascadelake) skpgkp2 at gmail dot com
                   ` (5 preceding siblings ...)
  2020-09-11 17:20 ` hjl.tools at gmail dot com
@ 2020-09-11 18:14 ` hjl.tools at gmail dot com
  6 siblings, 0 replies; 8+ messages in thread
From: hjl.tools at gmail dot com @ 2020-09-11 18:14 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
            Summary|[10/11 Regression] FAIL:    |[11 Regression] FAIL:
                   |gcc.target/i386/l_fma_float |gcc.target/i386/l_fma_float
                   |_1.c scan-assembler-times   |_1.c scan-assembler-times
                   |vfnmsub[123]+ss 32 on       |vfnmsub[123]+ss 32 on
                   |Linux/x86_64 (-m64          |Linux/x86_64 (-m64
                   |-march=cascadelake)         |-march=cascadelake)
         Resolution|---                         |FIXED

--- Comment #7 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Sunil Pandey from comment #5)
> (In reply to Richard Biener from comment #1)
> > Do they PASS on the GCC 10 branch?
> 
> GCC 10 branch has same issue. Same patch should be applied to GCC 10 too.

They have been failing on GCC 10 branch for a while.  They aren't a recent
regression.  No plan to fix.

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

end of thread, other threads:[~2020-09-11 18:14 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-11  6:11 [Bug regression/97018] New: [r11 Regression] FAIL: gcc.target/i386/l_fma_float_1.c scan-assembler-times vfnmsub[123]+ss 32 on Linux/x86_64 (-m64 -march=cascadelake) skpgkp2 at gmail dot com
2020-09-11  6:31 ` [Bug regression/97018] [11 " rguenth at gcc dot gnu.org
2020-09-11  7:12 ` [Bug target/97018] " crazylht at gmail dot com
2020-09-11 16:52 ` cvs-commit at gcc dot gnu.org
2020-09-11 16:53 ` hjl.tools at gmail dot com
2020-09-11 17:07 ` skpgkp2 at gmail dot com
2020-09-11 17:20 ` hjl.tools at gmail dot com
2020-09-11 18:14 ` hjl.tools 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).