public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/94561] New: [10 Regression] ICE in ix86_get_ssemov
@ 2020-04-11 14:50 asolokha at gmx dot com
  2020-04-11 18:49 ` [Bug target/94561] " ubizjak at gmail dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: asolokha at gmx dot com @ 2020-04-11 14:50 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 94561
           Summary: [10 Regression] ICE in ix86_get_ssemov
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: asolokha at gmx dot com
  Target Milestone: ---
            Target: x86_64-unknown-linux-gnu

gcc-10.0.1-alpha20200405 snapshot (g:2a1a0c8c0db0aae50a2cebce59bd64334cd6ba2a)
ICEs when compiling the following testcase w/ -march=knl -O3 -funroll-loops:

struct xi {
  long int mg;
  int lx;
};

struct xi *di;
int *eu;

void
he (void);

int
m8 (int we, int i8)
{
  int wd, cj = 0;

  for (wd = 0; wd < 80; ++wd)
    {
      if (di->mg == 0 && (eu[wd] | !!we) == 0 && di->lx == 0)
        continue;

      if (i8 == 0)
        he ();

      ++cj;
    }

  return cj;
}

% x86_64-unknown-linux-gnu-gcc-10.0.1 -march=knl -O3 -funroll-loops -c
cn71lqz4.c
during RTL pass: final
cn71lqz4.c: In function 'm8':
cn71lqz4.c:29:1: internal compiler error: in ix86_get_ssemov, at
config/i386/i386.c:4979
   29 | }
      | ^
0x718cbd ix86_get_ssemov
       
/var/tmp/portage/sys-devel/gcc-10.0.1_alpha20200405/work/gcc-10-20200405/gcc/config/i386/i386.c:4979
0xa34303 final_scan_insn_1
       
/var/tmp/portage/sys-devel/gcc-10.0.1_alpha20200405/work/gcc-10-20200405/gcc/final.c:3039
0xa3480b final_scan_insn(rtx_insn*, _IO_FILE*, int, int, int*)
       
/var/tmp/portage/sys-devel/gcc-10.0.1_alpha20200405/work/gcc-10-20200405/gcc/final.c:3152
0xa34917 final_1
       
/var/tmp/portage/sys-devel/gcc-10.0.1_alpha20200405/work/gcc-10-20200405/gcc/final.c:2020
0xa35524 rest_of_handle_final
       
/var/tmp/portage/sys-devel/gcc-10.0.1_alpha20200405/work/gcc-10-20200405/gcc/final.c:4658
0xa35524 execute
       
/var/tmp/portage/sys-devel/gcc-10.0.1_alpha20200405/work/gcc-10-20200405/gcc/final.c:4736

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

* [Bug target/94561] [10 Regression] ICE in ix86_get_ssemov
  2020-04-11 14:50 [Bug target/94561] New: [10 Regression] ICE in ix86_get_ssemov asolokha at gmx dot com
@ 2020-04-11 18:49 ` ubizjak at gmail dot com
  2020-04-12 11:31 ` hjl.tools at gmail dot com
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: ubizjak at gmail dot com @ 2020-04-11 18:49 UTC (permalink / raw)
  To: gcc-bugs

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

Uroš Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2020-04-11
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW
                 CC|                            |hjl.tools at gmail dot com

--- Comment #1 from Uroš Bizjak <ubizjak at gmail dot com> ---
Confirmed, CC author.

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

* [Bug target/94561] [10 Regression] ICE in ix86_get_ssemov
  2020-04-11 14:50 [Bug target/94561] New: [10 Regression] ICE in ix86_get_ssemov asolokha at gmx dot com
  2020-04-11 18:49 ` [Bug target/94561] " ubizjak at gmail dot com
@ 2020-04-12 11:31 ` hjl.tools at gmail dot com
  2020-04-14  6:42 ` marxin at gcc dot gnu.org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: hjl.tools at gmail dot com @ 2020-04-12 11:31 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |https://gcc.gnu.org/piperma
                   |                            |il/gcc-patches/2020-April/5
                   |                            |43746.html
           Keywords|                            |patch

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
A patch is posted at

https://gcc.gnu.org/pipermail/gcc-patches/2020-April/543746.html

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

* [Bug target/94561] [10 Regression] ICE in ix86_get_ssemov
  2020-04-11 14:50 [Bug target/94561] New: [10 Regression] ICE in ix86_get_ssemov asolokha at gmx dot com
  2020-04-11 18:49 ` [Bug target/94561] " ubizjak at gmail dot com
  2020-04-12 11:31 ` hjl.tools at gmail dot com
@ 2020-04-14  6:42 ` marxin at gcc dot gnu.org
  2020-04-14  6:49 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: marxin at gcc dot gnu.org @ 2020-04-14  6:42 UTC (permalink / raw)
  To: gcc-bugs

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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marxin at gcc dot gnu.org
           Assignee|unassigned at gcc dot gnu.org      |hjl.tools at gmail dot com
             Status|NEW                         |ASSIGNED

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

* [Bug target/94561] [10 Regression] ICE in ix86_get_ssemov
  2020-04-11 14:50 [Bug target/94561] New: [10 Regression] ICE in ix86_get_ssemov asolokha at gmx dot com
                   ` (2 preceding siblings ...)
  2020-04-14  6:42 ` marxin at gcc dot gnu.org
@ 2020-04-14  6:49 ` rguenth at gcc dot gnu.org
  2020-04-14 13:02 ` cvs-commit at gcc dot gnu.org
  2020-04-14 13:12 ` rguenth at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-04-14  6:49 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |10.0
           Priority|P3                          |P1

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

* [Bug target/94561] [10 Regression] ICE in ix86_get_ssemov
  2020-04-11 14:50 [Bug target/94561] New: [10 Regression] ICE in ix86_get_ssemov asolokha at gmx dot com
                   ` (3 preceding siblings ...)
  2020-04-14  6:49 ` rguenth at gcc dot gnu.org
@ 2020-04-14 13:02 ` cvs-commit at gcc dot gnu.org
  2020-04-14 13:12 ` rguenth at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-04-14 13:02 UTC (permalink / raw)
  To: gcc-bugs

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

--- 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:438ffa2a8fac925b1bee8862fa15bc5380c0dffd

commit r10-7715-g438ffa2a8fac925b1bee8862fa15bc5380c0dffd
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Apr 14 06:00:21 2020 -0700

    i386: Remove mode size check in ix86_get_ssemov

    Even though ix86_hard_regno_mode_ok doesn't allow xmm16-xmm31 nor
    ymm16-ymm31 in 128/256 bit modes when AVX512VL is disabled, LRA can
    still generate reg to reg moves with xmm16-xmm31 and ymm16-ymm31 in
    128/256 bit modes.  Remove mode size check in ix86_get_ssemov.

    gcc/

            PR target/94561
            * config/i386/i386.c (ix86_get_ssemov): Remove mode size check.

    gcc/testsuite/

            PR target/94561
            * gcc.target/i386/pr94561.c: New test.

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

* [Bug target/94561] [10 Regression] ICE in ix86_get_ssemov
  2020-04-11 14:50 [Bug target/94561] New: [10 Regression] ICE in ix86_get_ssemov asolokha at gmx dot com
                   ` (4 preceding siblings ...)
  2020-04-14 13:02 ` cvs-commit at gcc dot gnu.org
@ 2020-04-14 13:12 ` rguenth at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-04-14 13:12 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed.

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

end of thread, other threads:[~2020-04-14 13:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-11 14:50 [Bug target/94561] New: [10 Regression] ICE in ix86_get_ssemov asolokha at gmx dot com
2020-04-11 18:49 ` [Bug target/94561] " ubizjak at gmail dot com
2020-04-12 11:31 ` hjl.tools at gmail dot com
2020-04-14  6:42 ` marxin at gcc dot gnu.org
2020-04-14  6:49 ` rguenth at gcc dot gnu.org
2020-04-14 13:02 ` cvs-commit at gcc dot gnu.org
2020-04-14 13:12 ` rguenth 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).