public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/110926] New: [14 regression] Bootstrap failure (matmul_i1.c:1781:1: internal compiler error: RTL check: expected elt 0 type 'i' or 'n', have 'w' (rtx const_int) in vpternlog_redundant_operand_mask, at config/i386/i386.cc:19460)
@ 2023-08-07  1:56 sjames at gcc dot gnu.org
  2023-08-07  1:57 ` [Bug target/110926] " pinskia at gcc dot gnu.org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: sjames at gcc dot gnu.org @ 2023-08-07  1:56 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 110926
           Summary: [14 regression] Bootstrap failure (matmul_i1.c:1781:1:
                    internal compiler error: RTL check: expected elt 0
                    type 'i' or 'n', have 'w' (rtx const_int) in
                    vpternlog_redundant_operand_mask, at
                    config/i386/i386.cc:19460)
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: sjames at gcc dot gnu.org
  Target Milestone: ---

libtool: compile: 
/var/tmp/portage/sys-devel/gcc-14.0.0_pre20230806/work/build/./gcc/xgcc
-B/var/tmp/portage/sys-devel/gcc-14.0.0_pre20230806/work/build/./gcc/
-B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-p
c-linux-gnu/lib/ -isystem /usr/x86_64-pc-linux-gnu/include -isystem
/usr/x86_64-pc-linux-gnu/sys-include -fchecking=1 -DHAVE_CONFIG_H -I.
-I/var/tmp/portage/sys-devel/gcc-14.0.0_pre20230806/work/gcc-14-202308
06/libgfortran
-iquote/var/tmp/portage/sys-devel/gcc-14.0.0_pre20230806/work/gcc-14-20230806/libgfortran/io
-I/var/tmp/portage/sys-devel/gcc-14.0.0_pre20230806/work/gcc-14-20230806/libgfortran/../gcc
-I/var/t
mp/portage/sys-devel/gcc-14.0.0_pre20230806/work/gcc-14-20230806/libgfortran/../gcc/config
-I../.././gcc
-I/var/tmp/portage/sys-devel/gcc-14.0.0_pre20230806/work/gcc-14-20230806/libgfortran/../libgcc
-I../lib
gcc
-I/var/tmp/portage/sys-devel/gcc-14.0.0_pre20230806/work/gcc-14-20230806/libgfortran/../libbacktrace
-I../libbacktrace -I../libbacktrace -std=gnu11 -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wold-sty
le-definition -Wextra -Wwrite-strings -Werror=implicit-function-declaration
-Werror=vla -fcf-protection -mshstk -fcx-fortran-rules -ffunction-sections
-fdata-sections -ffast-math -ftree-vectorize -funroll-loo
ps --param max-unroll-times=4 -g -pipe -march=native -fdiagnostics-color=always
-Wreturn-type -ggdb3 -O2 -c
/var/tmp/portage/sys-devel/gcc-14.0.0_pre20230806/work/gcc-14-20230806/libgfortran/generated/matmul_
i1.c  -fPIC -DPIC -o .libs/matmul_i1.o
during RTL pass: split1
/var/tmp/portage/sys-devel/gcc-14.0.0_pre20230806/work/gcc-14-20230806/libgfortran/generated/matmul_i1.c:
In function ‘matmul_i1_avx512f’:
/var/tmp/portage/sys-devel/gcc-14.0.0_pre20230806/work/gcc-14-20230806/libgfortran/generated/matmul_i1.c:1781:1:
internal compiler error: RTL check: expected elt 0 type 'i' or 'n', have 'w'
(rtx const_int) in vpternlog_redundant_operand_mask, at
config/i386/i386.cc:19460
 1781 | }
      | ^
0x5559de26dc2d rtl_check_failed_type2(rtx_def const*, int, int, int, char
const*, int, char const*)
       
/var/tmp/portage/sys-devel/gcc-14.0.0_pre20230806/work/gcc-14-20230806/gcc/rtl.cc:761
0x5559de340bfe vpternlog_redundant_operand_mask(rtx_def**)
       
/var/tmp/portage/sys-devel/gcc-14.0.0_pre20230806/work/gcc-14-20230806/gcc/config/i386/i386.cc:19460
0x5559dfec67a6 split_44
       
/var/tmp/portage/sys-devel/gcc-14.0.0_pre20230806/work/gcc-14-20230806/gcc/config/i386/sse.md:12730
0x5559dfec67a6 split_63
       
/var/tmp/portage/sys-devel/gcc-14.0.0_pre20230806/work/gcc-14-20230806/gcc/config/i386/sse.md:28428
0x5559deb8a682 try_split(rtx_def*, rtx_insn*, int)
       
/var/tmp/portage/sys-devel/gcc-14.0.0_pre20230806/work/gcc-14-20230806/gcc/emit-rtl.cc:3800
0x5559deb8adf2 try_split(rtx_def*, rtx_insn*, int)
       
/var/tmp/portage/sys-devel/gcc-14.0.0_pre20230806/work/gcc-14-20230806/gcc/emit-rtl.cc:3972
0x5559def69194 split_insn
       
/var/tmp/portage/sys-devel/gcc-14.0.0_pre20230806/work/gcc-14-20230806/gcc/recog.cc:3385
0x5559def70c57 split_all_insns()
       
/var/tmp/portage/sys-devel/gcc-14.0.0_pre20230806/work/gcc-14-20230806/gcc/recog.cc:3489
0x5559def70d0c execute
       
/var/tmp/portage/sys-devel/gcc-14.0.0_pre20230806/work/gcc-14-20230806/gcc/recog.cc:4413
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://bugs.gentoo.org/> for instructions.

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

* [Bug target/110926] [14 regression] Bootstrap failure (matmul_i1.c:1781:1: internal compiler error: RTL check: expected elt 0 type 'i' or 'n', have 'w' (rtx const_int) in vpternlog_redundant_operand_mask, at config/i386/i386.cc:19460)
  2023-08-07  1:56 [Bug bootstrap/110926] New: [14 regression] Bootstrap failure (matmul_i1.c:1781:1: internal compiler error: RTL check: expected elt 0 type 'i' or 'n', have 'w' (rtx const_int) in vpternlog_redundant_operand_mask, at config/i386/i386.cc:19460) sjames at gcc dot gnu.org
@ 2023-08-07  1:57 ` pinskia at gcc dot gnu.org
  2023-08-07  1:58 ` pinskia at gcc dot gnu.org
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-08-07  1:57 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |x86_64-linux-gnu
   Target Milestone|---                         |14.0
           Keywords|                            |build, ice-checking,
                   |                            |ice-on-valid-code
          Component|bootstrap                   |target

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

* [Bug target/110926] [14 regression] Bootstrap failure (matmul_i1.c:1781:1: internal compiler error: RTL check: expected elt 0 type 'i' or 'n', have 'w' (rtx const_int) in vpternlog_redundant_operand_mask, at config/i386/i386.cc:19460)
  2023-08-07  1:56 [Bug bootstrap/110926] New: [14 regression] Bootstrap failure (matmul_i1.c:1781:1: internal compiler error: RTL check: expected elt 0 type 'i' or 'n', have 'w' (rtx const_int) in vpternlog_redundant_operand_mask, at config/i386/i386.cc:19460) sjames at gcc dot gnu.org
  2023-08-07  1:57 ` [Bug target/110926] " pinskia at gcc dot gnu.org
@ 2023-08-07  1:58 ` pinskia at gcc dot gnu.org
  2023-08-07  1:58 ` sjames at gcc dot gnu.org
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-08-07  1:58 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2023-08-07
             Status|UNCONFIRMED                 |NEW

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Also reported here:
https://gcc.gnu.org/pipermail/gcc/2023-August/242212.html

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

* [Bug target/110926] [14 regression] Bootstrap failure (matmul_i1.c:1781:1: internal compiler error: RTL check: expected elt 0 type 'i' or 'n', have 'w' (rtx const_int) in vpternlog_redundant_operand_mask, at config/i386/i386.cc:19460)
  2023-08-07  1:56 [Bug bootstrap/110926] New: [14 regression] Bootstrap failure (matmul_i1.c:1781:1: internal compiler error: RTL check: expected elt 0 type 'i' or 'n', have 'w' (rtx const_int) in vpternlog_redundant_operand_mask, at config/i386/i386.cc:19460) sjames at gcc dot gnu.org
  2023-08-07  1:57 ` [Bug target/110926] " pinskia at gcc dot gnu.org
  2023-08-07  1:58 ` pinskia at gcc dot gnu.org
@ 2023-08-07  1:58 ` sjames at gcc dot gnu.org
  2023-08-07  2:17 ` sjames at gcc dot gnu.org
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: sjames at gcc dot gnu.org @ 2023-08-07  1:58 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Sam James <sjames at gcc dot gnu.org> ---
Created attachment 55697
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55697&action=edit
matmul_i1.i

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

* [Bug target/110926] [14 regression] Bootstrap failure (matmul_i1.c:1781:1: internal compiler error: RTL check: expected elt 0 type 'i' or 'n', have 'w' (rtx const_int) in vpternlog_redundant_operand_mask, at config/i386/i386.cc:19460)
  2023-08-07  1:56 [Bug bootstrap/110926] New: [14 regression] Bootstrap failure (matmul_i1.c:1781:1: internal compiler error: RTL check: expected elt 0 type 'i' or 'n', have 'w' (rtx const_int) in vpternlog_redundant_operand_mask, at config/i386/i386.cc:19460) sjames at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2023-08-07  1:58 ` sjames at gcc dot gnu.org
@ 2023-08-07  2:17 ` sjames at gcc dot gnu.org
  2023-08-07  2:45 ` sjames at gcc dot gnu.org
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: sjames at gcc dot gnu.org @ 2023-08-07  2:17 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Sam James <sjames at gcc dot gnu.org> ---
Created attachment 55698
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55698&action=edit
reduced.i

Reduced version attached, not cleaned it up yet.

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

* [Bug target/110926] [14 regression] Bootstrap failure (matmul_i1.c:1781:1: internal compiler error: RTL check: expected elt 0 type 'i' or 'n', have 'w' (rtx const_int) in vpternlog_redundant_operand_mask, at config/i386/i386.cc:19460)
  2023-08-07  1:56 [Bug bootstrap/110926] New: [14 regression] Bootstrap failure (matmul_i1.c:1781:1: internal compiler error: RTL check: expected elt 0 type 'i' or 'n', have 'w' (rtx const_int) in vpternlog_redundant_operand_mask, at config/i386/i386.cc:19460) sjames at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2023-08-07  2:17 ` sjames at gcc dot gnu.org
@ 2023-08-07  2:45 ` sjames at gcc dot gnu.org
  2023-08-07  3:03 ` crazylht at gmail dot com
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: sjames at gcc dot gnu.org @ 2023-08-07  2:45 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Sam James <sjames at gcc dot gnu.org> ---
Created attachment 55699
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55699&action=edit
reduced.i

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

* [Bug target/110926] [14 regression] Bootstrap failure (matmul_i1.c:1781:1: internal compiler error: RTL check: expected elt 0 type 'i' or 'n', have 'w' (rtx const_int) in vpternlog_redundant_operand_mask, at config/i386/i386.cc:19460)
  2023-08-07  1:56 [Bug bootstrap/110926] New: [14 regression] Bootstrap failure (matmul_i1.c:1781:1: internal compiler error: RTL check: expected elt 0 type 'i' or 'n', have 'w' (rtx const_int) in vpternlog_redundant_operand_mask, at config/i386/i386.cc:19460) sjames at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2023-08-07  2:45 ` sjames at gcc dot gnu.org
@ 2023-08-07  3:03 ` crazylht at gmail dot com
  2023-08-07  3:17 ` crazylht at gmail dot com
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: crazylht at gmail dot com @ 2023-08-07  3:03 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Hongtao.liu <crazylht at gmail dot com> ---
I'm working on a patch.

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

* [Bug target/110926] [14 regression] Bootstrap failure (matmul_i1.c:1781:1: internal compiler error: RTL check: expected elt 0 type 'i' or 'n', have 'w' (rtx const_int) in vpternlog_redundant_operand_mask, at config/i386/i386.cc:19460)
  2023-08-07  1:56 [Bug bootstrap/110926] New: [14 regression] Bootstrap failure (matmul_i1.c:1781:1: internal compiler error: RTL check: expected elt 0 type 'i' or 'n', have 'w' (rtx const_int) in vpternlog_redundant_operand_mask, at config/i386/i386.cc:19460) sjames at gcc dot gnu.org
                   ` (5 preceding siblings ...)
  2023-08-07  3:03 ` crazylht at gmail dot com
@ 2023-08-07  3:17 ` crazylht at gmail dot com
  2023-08-07  5:30 ` amonakov at gcc dot gnu.org
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: crazylht at gmail dot com @ 2023-08-07  3:17 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from Hongtao.liu <crazylht at gmail dot com> ---
(In reply to Hongtao.liu from comment #5)
> I'm working on a patch.

 int
-vpternlog_redundant_operand_mask (rtx *operands)
+vpternlog_redundant_operand_mask (rtx op_mask)
 {
   int mask = 0;
-  int imm8 = XINT (operands[4], 0);
+  int imm8 = INTVAL (op_mask);


We should use INTVAL instead of XINT.

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

* [Bug target/110926] [14 regression] Bootstrap failure (matmul_i1.c:1781:1: internal compiler error: RTL check: expected elt 0 type 'i' or 'n', have 'w' (rtx const_int) in vpternlog_redundant_operand_mask, at config/i386/i386.cc:19460)
  2023-08-07  1:56 [Bug bootstrap/110926] New: [14 regression] Bootstrap failure (matmul_i1.c:1781:1: internal compiler error: RTL check: expected elt 0 type 'i' or 'n', have 'w' (rtx const_int) in vpternlog_redundant_operand_mask, at config/i386/i386.cc:19460) sjames at gcc dot gnu.org
                   ` (6 preceding siblings ...)
  2023-08-07  3:17 ` crazylht at gmail dot com
@ 2023-08-07  5:30 ` amonakov at gcc dot gnu.org
  2023-08-07  5:51 ` crazylht at gmail dot com
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: amonakov at gcc dot gnu.org @ 2023-08-07  5:30 UTC (permalink / raw)
  To: gcc-bugs

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

Alexander Monakov <amonakov at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |amonakov at gcc dot gnu.org

--- Comment #7 from Alexander Monakov <amonakov at gcc dot gnu.org> ---
Thanks for identifying the problem. Please don't rename the argument to
'op_mask' though: the parameter itself is not a mask, it's an eight-bit control
word of the vpternlog instruction (holding the logic table of a three-operand
Boolean function). The function derives a three-bit mask from it.

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

* [Bug target/110926] [14 regression] Bootstrap failure (matmul_i1.c:1781:1: internal compiler error: RTL check: expected elt 0 type 'i' or 'n', have 'w' (rtx const_int) in vpternlog_redundant_operand_mask, at config/i386/i386.cc:19460)
  2023-08-07  1:56 [Bug bootstrap/110926] New: [14 regression] Bootstrap failure (matmul_i1.c:1781:1: internal compiler error: RTL check: expected elt 0 type 'i' or 'n', have 'w' (rtx const_int) in vpternlog_redundant_operand_mask, at config/i386/i386.cc:19460) sjames at gcc dot gnu.org
                   ` (7 preceding siblings ...)
  2023-08-07  5:30 ` amonakov at gcc dot gnu.org
@ 2023-08-07  5:51 ` crazylht at gmail dot com
  2023-08-07 13:20 ` cvs-commit at gcc dot gnu.org
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: crazylht at gmail dot com @ 2023-08-07  5:51 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #8 from Hongtao.liu <crazylht at gmail dot com> ---
(In reply to Alexander Monakov from comment #7)
> Thanks for identifying the problem. Please don't rename the argument to
> 'op_mask' though: the parameter itself is not a mask, it's an eight-bit
> control word of the vpternlog instruction (holding the logic table of a
> three-operand Boolean function). The function derives a three-bit mask from
> it.

I'll rename it as ternlog_imm8 to avoid confusion.

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

* [Bug target/110926] [14 regression] Bootstrap failure (matmul_i1.c:1781:1: internal compiler error: RTL check: expected elt 0 type 'i' or 'n', have 'w' (rtx const_int) in vpternlog_redundant_operand_mask, at config/i386/i386.cc:19460)
  2023-08-07  1:56 [Bug bootstrap/110926] New: [14 regression] Bootstrap failure (matmul_i1.c:1781:1: internal compiler error: RTL check: expected elt 0 type 'i' or 'n', have 'w' (rtx const_int) in vpternlog_redundant_operand_mask, at config/i386/i386.cc:19460) sjames at gcc dot gnu.org
                   ` (8 preceding siblings ...)
  2023-08-07  5:51 ` crazylht at gmail dot com
@ 2023-08-07 13:20 ` cvs-commit at gcc dot gnu.org
  2023-08-07 13:21 ` crazylht at gmail dot com
  2023-08-07 15:31 ` pinskia at gcc dot gnu.org
  11 siblings, 0 replies; 13+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-08-07 13:20 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #9 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by hongtao Liu <liuhongt@gcc.gnu.org>:

https://gcc.gnu.org/g:af6cfd7b663909688c6ca55b6e9f859cdde4310f

commit r14-3034-gaf6cfd7b663909688c6ca55b6e9f859cdde4310f
Author: liuhongt <hongtao.liu@intel.com>
Date:   Mon Aug 7 11:10:52 2023 +0800

    Fix ICE in rtl check when bootstrap.

   
/var/tmp/portage/sys-devel/gcc-14.0.0_pre20230806/work/gcc-14-20230806/libgfortran/generated/matmul_i1.c:
In function âmatmul_i1_avx512fâ:
   
/var/tmp/portage/sys-devel/gcc-14.0.0_pre20230806/work/gcc-14-20230806/libgfortran/generated/matmul_i1.c:1781:1:
internal compiler error: RTL check: expected elt 0 type 'i' or 'n', have 'w'
(rtx const_int) in vpternlog_redundant_operand_mask, at
config/i386/i386.cc:19460
     1781 | }
          | ^
    0x5559de26dc2d rtl_check_failed_type2(rtx_def const*, int, int, int, char
const*, int, char const*)
           
/var/tmp/portage/sys-devel/gcc-14.0.0_pre20230806/work/gcc-14-20230806/gcc/rtl.cc:761
    0x5559de340bfe vpternlog_redundant_operand_mask(rtx_def**)
           
/var/tmp/portage/sys-devel/gcc-14.0.0_pre20230806/work/gcc-14-20230806/gcc/config/i386/i386.cc:19460
    0x5559dfec67a6 split_44
           
/var/tmp/portage/sys-devel/gcc-14.0.0_pre20230806/work/gcc-14-20230806/gcc/config/i386/sse.md:12730
    0x5559dfec67a6 split_63
           
/var/tmp/portage/sys-devel/gcc-14.0.0_pre20230806/work/gcc-14-20230806/gcc/config/i386/sse.md:28428
    0x5559deb8a682 try_split(rtx_def*, rtx_insn*, int)
           
/var/tmp/portage/sys-devel/gcc-14.0.0_pre20230806/work/gcc-14-20230806/gcc/emit-rtl.cc:3800
    0x5559deb8adf2 try_split(rtx_def*, rtx_insn*, int)
           
/var/tmp/portage/sys-devel/gcc-14.0.0_pre20230806/work/gcc-14-20230806/gcc/emit-rtl.cc:3972
    0x5559def69194 split_insn
           
/var/tmp/portage/sys-devel/gcc-14.0.0_pre20230806/work/gcc-14-20230806/gcc/recog.cc:3385
    0x5559def70c57 split_all_insns()
           
/var/tmp/portage/sys-devel/gcc-14.0.0_pre20230806/work/gcc-14-20230806/gcc/recog.cc:3489
    0x5559def70d0c execute
           
/var/tmp/portage/sys-devel/gcc-14.0.0_pre20230806/work/gcc-14-20230806/gcc/recog.cc:4413

    Use INTVAL (imm_op) instead of XINT (imm_op, 0).

    gcc/ChangeLog:

            PR target/110926
            * config/i386/i386-protos.h
            (vpternlog_redundant_operand_mask): Adjust parameter type.
            * config/i386/i386.cc (vpternlog_redundant_operand_mask): Use
            INTVAL instead of XINT, also adjust parameter type from rtx*
            to rtx since the function only needs operands[4] in vpternlog
            pattern.
            (substitute_vpternlog_operands): Pass operands[4] instead of
            operands to vpternlog_redundant_operand_mask.
            * config/i386/sse.md: Ditto.

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

* [Bug target/110926] [14 regression] Bootstrap failure (matmul_i1.c:1781:1: internal compiler error: RTL check: expected elt 0 type 'i' or 'n', have 'w' (rtx const_int) in vpternlog_redundant_operand_mask, at config/i386/i386.cc:19460)
  2023-08-07  1:56 [Bug bootstrap/110926] New: [14 regression] Bootstrap failure (matmul_i1.c:1781:1: internal compiler error: RTL check: expected elt 0 type 'i' or 'n', have 'w' (rtx const_int) in vpternlog_redundant_operand_mask, at config/i386/i386.cc:19460) sjames at gcc dot gnu.org
                   ` (9 preceding siblings ...)
  2023-08-07 13:20 ` cvs-commit at gcc dot gnu.org
@ 2023-08-07 13:21 ` crazylht at gmail dot com
  2023-08-07 15:31 ` pinskia at gcc dot gnu.org
  11 siblings, 0 replies; 13+ messages in thread
From: crazylht at gmail dot com @ 2023-08-07 13:21 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #10 from Hongtao.liu <crazylht at gmail dot com> ---
Fixed in GCC14.

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

* [Bug target/110926] [14 regression] Bootstrap failure (matmul_i1.c:1781:1: internal compiler error: RTL check: expected elt 0 type 'i' or 'n', have 'w' (rtx const_int) in vpternlog_redundant_operand_mask, at config/i386/i386.cc:19460)
  2023-08-07  1:56 [Bug bootstrap/110926] New: [14 regression] Bootstrap failure (matmul_i1.c:1781:1: internal compiler error: RTL check: expected elt 0 type 'i' or 'n', have 'w' (rtx const_int) in vpternlog_redundant_operand_mask, at config/i386/i386.cc:19460) sjames at gcc dot gnu.org
                   ` (10 preceding siblings ...)
  2023-08-07 13:21 ` crazylht at gmail dot com
@ 2023-08-07 15:31 ` pinskia at gcc dot gnu.org
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-08-07 15:31 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #11 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
.

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

end of thread, other threads:[~2023-08-07 15:31 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-07  1:56 [Bug bootstrap/110926] New: [14 regression] Bootstrap failure (matmul_i1.c:1781:1: internal compiler error: RTL check: expected elt 0 type 'i' or 'n', have 'w' (rtx const_int) in vpternlog_redundant_operand_mask, at config/i386/i386.cc:19460) sjames at gcc dot gnu.org
2023-08-07  1:57 ` [Bug target/110926] " pinskia at gcc dot gnu.org
2023-08-07  1:58 ` pinskia at gcc dot gnu.org
2023-08-07  1:58 ` sjames at gcc dot gnu.org
2023-08-07  2:17 ` sjames at gcc dot gnu.org
2023-08-07  2:45 ` sjames at gcc dot gnu.org
2023-08-07  3:03 ` crazylht at gmail dot com
2023-08-07  3:17 ` crazylht at gmail dot com
2023-08-07  5:30 ` amonakov at gcc dot gnu.org
2023-08-07  5:51 ` crazylht at gmail dot com
2023-08-07 13:20 ` cvs-commit at gcc dot gnu.org
2023-08-07 13:21 ` crazylht at gmail dot com
2023-08-07 15:31 ` 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).