public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/100757] New: arm: ICE (unrecognizable insn) with MVE VPSELQ_S
@ 2021-05-25 16:26 acoplan at gcc dot gnu.org
  2021-05-25 16:36 ` [Bug target/100757] [12 Regression] " clyon at gcc dot gnu.org
                   ` (25 more replies)
  0 siblings, 26 replies; 27+ messages in thread
From: acoplan at gcc dot gnu.org @ 2021-05-25 16:26 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 100757
           Summary: arm: ICE (unrecognizable insn) with MVE VPSELQ_S
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: acoplan at gcc dot gnu.org
  Target Milestone: ---

This appears to be a recent regression on the trunk:

$ gcc/xgcc -v
Using built-in specs.
COLLECT_GCC=gcc/xgcc
Target: arm-eabi
Configured with: /home/alecop01/toolchain/src/gcc/configure
--prefix=/data_sdb/toolchain/cc1s/arm --enable-languages=c,c++
--disable-bootstrap --target=arm-eabi
Thread model: single
Supported LTO compression algorithms: zlib
gcc version 12.0.0 20210525 (experimental) (GCC)
$ cat test.c
extern int a[];
int n;
void foo(int x, _Bool b) {
  for (int i = 0; i < n; i++)
    a[i] = x || b;
}
$ gcc/xgcc -B gcc -c test.c -march=armv8.1-m.main+mve -mfloat-abi=hard -O
-ftree-vectorize -mtune=cortex-a55
test.c: In function ‘foo’:
test.c:6:1: error: unrecognizable insn:
    6 | }
      | ^
(insn 44 43 45 6 (set (reg:V4SI 131 [ vect_patt_4.10 ])
        (unspec:V4SI [
                (reg:V4SI 149)
                (reg:V4SI 150)
                (reg:V4SI 148 [ mask__2.9 ])
            ] VPSELQ_S)) -1
     (nil))
during RTL pass: vregs
test.c:6:1: internal compiler error: in extract_insn, at recog.c:2770
0x5e9fc6 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
        /home/alecop01/toolchain/src/gcc/gcc/rtl-error.c:108
0x5e9fe5 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
        /home/alecop01/toolchain/src/gcc/gcc/rtl-error.c:116
0xc770c7 extract_insn(rtx_insn*)
        /home/alecop01/toolchain/src/gcc/gcc/recog.c:2770
0x9aa78a instantiate_virtual_regs_in_insn
        /home/alecop01/toolchain/src/gcc/gcc/function.c:1609
0x9aa78a instantiate_virtual_regs
        /home/alecop01/toolchain/src/gcc/gcc/function.c:1983
0x9aa78a execute
        /home/alecop01/toolchain/src/gcc/gcc/function.c:2032
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

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

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

Thread overview: 27+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-25 16:26 [Bug target/100757] New: arm: ICE (unrecognizable insn) with MVE VPSELQ_S acoplan at gcc dot gnu.org
2021-05-25 16:36 ` [Bug target/100757] [12 Regression] " clyon at gcc dot gnu.org
2021-05-25 16:37 ` acoplan at gcc dot gnu.org
2021-05-26  7:51 ` rguenth at gcc dot gnu.org
2021-05-26  8:55 ` [Bug target/100757] [12 Regression] arm: ICE (unrecognizable insn) with MVE VPSELQ_S since r12-834-ga6eacbf10 acoplan at gcc dot gnu.org
2021-05-26  9:01 ` clyon at gcc dot gnu.org
2021-05-26  9:06 ` acoplan at gcc dot gnu.org
2021-05-26 16:02 ` clyon at gcc dot gnu.org
2021-05-26 16:09 ` acoplan at gcc dot gnu.org
2021-05-26 21:10 ` clyon at gcc dot gnu.org
2021-06-04 11:51 ` acoplan at gcc dot gnu.org
2021-06-04 14:18 ` clyon at gcc dot gnu.org
2021-07-01 13:40 ` acoplan at gcc dot gnu.org
2021-07-01 13:48 ` clyon at gcc dot gnu.org
2021-08-16 12:33 ` clyon at gcc dot gnu.org
2021-10-20 10:07 ` vvinayag at arm dot com
2021-10-20 11:19 ` clyon at gcc dot gnu.org
2022-01-17 14:40 ` rguenth at gcc dot gnu.org
2022-02-22 15:58 ` cvs-commit at gcc dot gnu.org
2022-02-22 15:58 ` cvs-commit at gcc dot gnu.org
2022-02-22 15:58 ` cvs-commit at gcc dot gnu.org
2022-02-22 15:58 ` cvs-commit at gcc dot gnu.org
2022-02-22 15:58 ` cvs-commit at gcc dot gnu.org
2022-02-22 15:58 ` cvs-commit at gcc dot gnu.org
2022-02-22 15:58 ` cvs-commit at gcc dot gnu.org
2022-02-22 16:07 ` clyon at gcc dot gnu.org
2022-02-23  6:44 ` cvs-commit 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).