public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/98657] New: SVE: ICE (unrecognizable insn) wtih shift at -O3 -msve-vector-bits=256
@ 2021-01-13 11:46 acoplan at gcc dot gnu.org
  2021-01-13 11:46 ` [Bug target/98657] " acoplan at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: acoplan at gcc dot gnu.org @ 2021-01-13 11:46 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 98657
           Summary: SVE: ICE (unrecognizable insn) wtih shift at -O3
                    -msve-vector-bits=256
           Product: gcc
           Version: 11.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: ---

The following fails:

$ cat test.c
extern char a[];
void b(_Bool c[][18]) {
  for (int d;;)
    for (int e = 0; e < 23; e += 1)
      a[e] = 6 >> c[1][d];
}
$ aarch64-elf-gcc -c test.c -O3 -march=armv8.2-a+sve -msve-vector-bits=256
test.c: In function 'b':
test.c:6:1: error: unrecognizable insn:
    6 | }
      | ^
(insn 34 33 35 5 (set (reg:VNx16QI 132)
        (unspec:VNx16QI [
                (reg:VNx16BI 133)
                (vec_duplicate:VNx16QI (mem:QI (plus:DI (reg/f:DI 128)
                            (reg:DI 129)) [1 MEM[(_Bool[18] *)c_9(D) +
18B][d_10(D)]+0 S1 A8]))
                (const_vector:VNx16QI [
                        (const_int 0 [0]) repeated x32
                    ])
            ] UNSPEC_SEL)) "test.c":5:16 -1
     (nil))
during RTL pass: vregs
test.c:6:1: internal compiler error: in extract_insn, at recog.c:2769
0xd621cd _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
        /home/alecop01/toolchain/src/gcc/gcc/rtl-error.c:108
0xd621ec _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
        /home/alecop01/toolchain/src/gcc/gcc/rtl-error.c:116
0xd3217f extract_insn(rtx_insn*)
        /home/alecop01/toolchain/src/gcc/gcc/recog.c:2769
0xa540b1 instantiate_virtual_regs_in_insn
        /home/alecop01/toolchain/src/gcc/gcc/function.c:1609
0xa540b1 instantiate_virtual_regs
        /home/alecop01/toolchain/src/gcc/gcc/function.c:1983
0xa540b1 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] 6+ messages in thread

end of thread, other threads:[~2021-02-19  9:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-13 11:46 [Bug target/98657] New: SVE: ICE (unrecognizable insn) wtih shift at -O3 -msve-vector-bits=256 acoplan at gcc dot gnu.org
2021-01-13 11:46 ` [Bug target/98657] " acoplan at gcc dot gnu.org
2021-01-13 11:49 ` acoplan at gcc dot gnu.org
2021-01-13 16:07 ` [Bug target/98657] [11 Regression] SVE: ICE (unrecognizable insn) with " ktkachov at gcc dot gnu.org
2021-02-19  9:19 ` cvs-commit at gcc dot gnu.org
2021-02-19  9:22 ` avieira 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).