public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/64210] New: FAIL: gcc.target/i386/avx512vl-(vmovdqa64|vpbroadcastd)-1.c  ... with -fpic
@ 2014-12-06 17:22 dominiq at lps dot ens.fr
  2014-12-08 13:33 ` [Bug target/64210] [5 Regression] " rguenth at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: dominiq at lps dot ens.fr @ 2014-12-06 17:22 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 64210
           Summary: FAIL:
                    gcc.target/i386/avx512vl-(vmovdqa64|vpbroadcastd)-1.c
                    ... with -fpic
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dominiq at lps dot ens.fr
                CC: hjl at gcc dot gnu.org, iains at gcc dot gnu.org,
                    tocarip at gcc dot gnu.org
            Target: x86_64-*-*

Compiling the following tests with -fpic fail some scan-assembler-times tests

FAIL: gcc.target/i386/avx512vl-vmovdqa64-1.c scan-assembler-times vmovdqa64[
\\\\t]+[^{\\n]*%ymm[0-9]+[^\\n^x^y]*\\\\(.{5}(?:\\n|[ \\\\t]+#) 1
FAIL: gcc.target/i386/avx512vl-vmovdqa64-1.c scan-assembler-times vmovdqa64[
\\\\t]+\\\\([^\\n]*%xmm[0-9]+(?:\\n|[ \\\\t]+#) 1
FAIL: gcc.target/i386/avx512vl-vmovdqa64-1.c scan-assembler-times vmovdqa64[
\\\\t]+\\\\([^\\n]*%ymm[0-9]+(?:\\n|[ \\\\t]+#) 1
FAIL: gcc.target/i386/avx512vl-vpbroadcastd-1.c scan-assembler-times
vpbroadcastd[ \\\\t]+%e[^\\n]*%ymm[0-9]+{%k[1-7]}(?:\\n|[ \\\\t]+#) 1

see, e.g., https://gcc.gnu.org/ml/gcc-testresults/2014-12/msg00687.html, with
both -m32 and -m64, except gcc.target/i386/avx512vl-vpbroadcastd-1.c which
fails with -m64 only.

In the later case the failure is likely due to

    vpbroadcastd    %r8d, %ymm0{%k5}

For gcc.target/i386/avx512vl-vmovdqa64-1.c, grepping vmovdqa64 gives

    vmovdqa64    (%eax), %ymm1
    vmovdqa64    (%ecx), %ymm0
    vmovdqa64    %ymm1, %ymm0{%k1}
    vmovdqa64    %ymm0, (%ecx)
    vmovdqa64    (%edi), %xmm1
    vmovdqa64    (%esi), %xmm0
    vmovdqa64    %xmm1, %xmm0{%k2}
    vmovdqa64    (%esi), %ymm0
    vmovdqa64    %ymm0, %ymm0{%k3}{z}
    vmovdqa64    %ymm0, (%ecx)
    vmovdqa64    (%edi), %xmm0
    vmovdqa64    %xmm0, %xmm0{%k4}{z}
    vmovdqa64    (%esi), %ymm0
    vmovdqa64    %ymm0, (%ecx)
    vmovdqa64    (%esi), %xmm0
    vmovdqa64    (%ecx), %ymm0
    vmovdqa64    (%ebx), %ymm0{%k5}
    vmovdqa64    %ymm0, (%ecx)
    vmovdqa64    (%edx), %xmm0
    vmovdqa64    (%ebx), %xmm0{%k6}
    vmovdqa64    (%ebx), %ymm0{%k7}{z}
    vmovdqa64    %ymm0, (%ecx)
    vmovdqa64    (%ebx), %xmm0{%k1}{z}
    vmovdqa64    (%ecx), %ymm0
    vmovdqa64    %ymm0, (%ebx)
    vmovdqa64    (%edx), %xmm0
    vmovdqa64    (%ecx), %ymm0
    vmovdqa64    %ymm0, (%ecx){%k2}
    vmovdqa64    (%edx), %xmm0
    vmovdqa64    %xmm0, (%eax){%k3}

but I failed to see where are the problems.


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

* [Bug target/64210] [5 Regression] FAIL: gcc.target/i386/avx512vl-(vmovdqa64|vpbroadcastd)-1.c  ... with -fpic
  2014-12-06 17:22 [Bug target/64210] New: FAIL: gcc.target/i386/avx512vl-(vmovdqa64|vpbroadcastd)-1.c ... with -fpic dominiq at lps dot ens.fr
@ 2014-12-08 13:33 ` rguenth at gcc dot gnu.org
  2014-12-10 16:15 ` jakub at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-12-08 13:33 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |5.0
            Summary|FAIL:                       |[5 Regression] FAIL:
                   |gcc.target/i386/avx512vl-(v |gcc.target/i386/avx512vl-(v
                   |movdqa64|vpbroadcastd)-1.c  |movdqa64|vpbroadcastd)-1.c
                   |... with -fpic              |... with -fpic


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

* [Bug target/64210] [5 Regression] FAIL: gcc.target/i386/avx512vl-(vmovdqa64|vpbroadcastd)-1.c  ... with -fpic
  2014-12-06 17:22 [Bug target/64210] New: FAIL: gcc.target/i386/avx512vl-(vmovdqa64|vpbroadcastd)-1.c ... with -fpic dominiq at lps dot ens.fr
  2014-12-08 13:33 ` [Bug target/64210] [5 Regression] " rguenth at gcc dot gnu.org
@ 2014-12-10 16:15 ` jakub at gcc dot gnu.org
  2014-12-11 11:50 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-12-10 16:15 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2014-12-10
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 34241
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34241&action=edit
gcc5-pr64210.patch

Untested fix.


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

* [Bug target/64210] [5 Regression] FAIL: gcc.target/i386/avx512vl-(vmovdqa64|vpbroadcastd)-1.c  ... with -fpic
  2014-12-06 17:22 [Bug target/64210] New: FAIL: gcc.target/i386/avx512vl-(vmovdqa64|vpbroadcastd)-1.c ... with -fpic dominiq at lps dot ens.fr
  2014-12-08 13:33 ` [Bug target/64210] [5 Regression] " rguenth at gcc dot gnu.org
  2014-12-10 16:15 ` jakub at gcc dot gnu.org
@ 2014-12-11 11:50 ` rguenth at gcc dot gnu.org
  2014-12-15 10:51 ` jakub at gcc dot gnu.org
  2014-12-15 10:55 ` jakub at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-12-11 11:50 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1


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

* [Bug target/64210] [5 Regression] FAIL: gcc.target/i386/avx512vl-(vmovdqa64|vpbroadcastd)-1.c  ... with -fpic
  2014-12-06 17:22 [Bug target/64210] New: FAIL: gcc.target/i386/avx512vl-(vmovdqa64|vpbroadcastd)-1.c ... with -fpic dominiq at lps dot ens.fr
                   ` (2 preceding siblings ...)
  2014-12-11 11:50 ` rguenth at gcc dot gnu.org
@ 2014-12-15 10:51 ` jakub at gcc dot gnu.org
  2014-12-15 10:55 ` jakub at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-12-15 10:51 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Dec 15 10:50:52 2014
New Revision: 218743

URL: https://gcc.gnu.org/viewcvs?rev=218743&root=gcc&view=rev
Log:
    PR target/64210
    * gcc.target/i386/avx512f-broadcast-gpr-1.c: Use %(?:e|r\[0-9\]+d)
    instead of %e in regexps trying to match 32-bit GPR.
    * gcc.target/i386/avx512f-vpbroadcastd-1.c: Likewise.
    * gcc.target/i386/avx512vl-vpbroadcastd-1.c: Likewise.
    * gcc.target/i386/avx512vl-vmovdqa64-1.c: Restrict some
scan-assembler-times
    lines to nonpic targets only.  Fix up \[^\n^x^y\] to \[^\nxy\].

Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.target/i386/avx512f-broadcast-gpr-1.c
    trunk/gcc/testsuite/gcc.target/i386/avx512f-vpbroadcastd-1.c
    trunk/gcc/testsuite/gcc.target/i386/avx512vl-vmovdqa64-1.c
    trunk/gcc/testsuite/gcc.target/i386/avx512vl-vpbroadcastd-1.c


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

* [Bug target/64210] [5 Regression] FAIL: gcc.target/i386/avx512vl-(vmovdqa64|vpbroadcastd)-1.c  ... with -fpic
  2014-12-06 17:22 [Bug target/64210] New: FAIL: gcc.target/i386/avx512vl-(vmovdqa64|vpbroadcastd)-1.c ... with -fpic dominiq at lps dot ens.fr
                   ` (3 preceding siblings ...)
  2014-12-15 10:51 ` jakub at gcc dot gnu.org
@ 2014-12-15 10:55 ` jakub at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-12-15 10:55 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

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

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed.


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

end of thread, other threads:[~2014-12-15 10:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-06 17:22 [Bug target/64210] New: FAIL: gcc.target/i386/avx512vl-(vmovdqa64|vpbroadcastd)-1.c ... with -fpic dominiq at lps dot ens.fr
2014-12-08 13:33 ` [Bug target/64210] [5 Regression] " rguenth at gcc dot gnu.org
2014-12-10 16:15 ` jakub at gcc dot gnu.org
2014-12-11 11:50 ` rguenth at gcc dot gnu.org
2014-12-15 10:51 ` jakub at gcc dot gnu.org
2014-12-15 10:55 ` jakub 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).