public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/112930] New: gcc.target/aarch64/sme/call_sm_switch_7.c ICEs on aarch64_be
@ 2023-12-09 2:11 pinskia at gcc dot gnu.org
2023-12-09 2:12 ` [Bug target/112930] " pinskia at gcc dot gnu.org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-12-09 2:11 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112930
Bug ID: 112930
Summary: gcc.target/aarch64/sme/call_sm_switch_7.c ICEs on
aarch64_be
Product: gcc
Version: 14.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: pinskia at gcc dot gnu.org
CC: rsandifo at gcc dot gnu.org
Target Milestone: ---
Target: aarch64_be-linux-gnu
spawn -ignore SIGHUP
/bajas/pinskia/src/upstream-full-cross/gcc/objdir-stage2/gcc/xgcc
-B/bajas/pinskia/src/upstream-full-cross/gcc/objdir-stage2/gcc/
/home/apinski/src/upstream-full-cross/gcc/gcc/testsuite/gcc.target/aarch64/sme/call_sm_switch_7.c
-fdiagnostics-plain-output -O -fomit-frame-pointer -fno-optimize-sibling-calls
-march=armv9-a+sme -mtune=generic -moverride=tune=none -S -o
call_sm_switch_7.s^M
/home/apinski/src/upstream-full-cross/gcc/gcc/testsuite/gcc.target/aarch64/sme/call_sm_switch_7.c:
In function 'test_mixed':^M
/home/apinski/src/upstream-full-cross/gcc/gcc/testsuite/gcc.target/aarch64/sme/call_sm_switch_7.c:475:1:
error: unrecognizable insn:^M
(insn 64 63 65 (set (mem:VNx4SF (plus:DI (reg/f:DI 31 sp)^M
(const_poly_int:DI [16, 16])) [0 S[16, 16] A8])^M
(reg:VNx4SF 35 v3))
"/home/apinski/src/upstream-full-cross/gcc/gcc/testsuite/gcc.target/aarch64/sme/call_sm_switch_7.c":472:3
-1^M
(nil))^M
during RTL pass: shorten^M
/home/apinski/src/upstream-full-cross/gcc/gcc/testsuite/gcc.target/aarch64/sme/call_sm_switch_7.c:475:1:
internal compiler error: in insn_min_length, at
config/aarch64/aarch64.md:8172^M
0x80401a _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)^M
../../gcc/rtl-error.cc:108^M
0x804036 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)^M
../../gcc/rtl-error.cc:116^M
0x8ed1d4 insn_min_length(rtx_insn*)^M
../../gcc/config/aarch64/aarch64.md:8172^M
0xc3e033 shorten_branches(rtx_insn*)^M
../../gcc/final.cc:1089^M
0xc3e11f rest_of_handle_shorten_branches^M
../../gcc/final.cc:4338^M
0xc3e11f execute^M
../../gcc/final.cc:4367^M
Please submit a full bug report, with preprocessed source (by using
-freport-bug).^M
Please include the complete backtrace with any bug report.^M
See <https://gcc.gnu.org/bugs/> for instructions.^M
compiler exited with status 1
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/112930] gcc.target/aarch64/sme/call_sm_switch_7.c ICEs on aarch64_be
2023-12-09 2:11 [Bug target/112930] New: gcc.target/aarch64/sme/call_sm_switch_7.c ICEs on aarch64_be pinskia at gcc dot gnu.org
@ 2023-12-09 2:12 ` pinskia at gcc dot gnu.org
2023-12-09 17:07 ` rsandifo at gcc dot gnu.org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-12-09 2:12 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112930
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
gcc.target/aarch64/sme/locally_streaming_3.c fails the same way.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/112930] gcc.target/aarch64/sme/call_sm_switch_7.c ICEs on aarch64_be
2023-12-09 2:11 [Bug target/112930] New: gcc.target/aarch64/sme/call_sm_switch_7.c ICEs on aarch64_be pinskia at gcc dot gnu.org
2023-12-09 2:12 ` [Bug target/112930] " pinskia at gcc dot gnu.org
@ 2023-12-09 17:07 ` rsandifo at gcc dot gnu.org
2023-12-10 19:46 ` cvs-commit at gcc dot gnu.org
2023-12-10 19:56 ` rsandifo at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: rsandifo at gcc dot gnu.org @ 2023-12-09 17:07 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112930
Richard Sandiford <rsandifo at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2023-12-09
Status|UNCONFIRMED |ASSIGNED
Ever confirmed|0 |1
Assignee|unassigned at gcc dot gnu.org |rsandifo at gcc dot gnu.org
--- Comment #2 from Richard Sandiford <rsandifo at gcc dot gnu.org> ---
Testing a patch.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/112930] gcc.target/aarch64/sme/call_sm_switch_7.c ICEs on aarch64_be
2023-12-09 2:11 [Bug target/112930] New: gcc.target/aarch64/sme/call_sm_switch_7.c ICEs on aarch64_be pinskia at gcc dot gnu.org
2023-12-09 2:12 ` [Bug target/112930] " pinskia at gcc dot gnu.org
2023-12-09 17:07 ` rsandifo at gcc dot gnu.org
@ 2023-12-10 19:46 ` cvs-commit at gcc dot gnu.org
2023-12-10 19:56 ` rsandifo at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2023-12-10 19:46 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112930
--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The trunk branch has been updated by Richard Sandiford <rsandifo@gcc.gnu.org>:
https://gcc.gnu.org/g:f5c8d6bc050a8a6120aff2be25b6892d91baac99
commit r14-6386-gf5c8d6bc050a8a6120aff2be25b6892d91baac99
Author: Richard Sandiford <richard.sandiford@arm.com>
Date: Sun Dec 10 19:46:06 2023 +0000
aarch64: Fix SMSTART/SMSTOP save/restore for BE
VNx16QI (the SVE register byte mode) is the only SVE mode for which
LD1 and LDR result in the same register layout for big-endian. It is
therefore the only mode for which we allow LDR and STR to be used for
big-endian SVE moves.
The SME support sometimes needs to use LDR and STR to save and restore
Z register contents around an SMSTART/SMSTOP SM. It therefore needs
to use VNx16QI regardless of the type of value that is stored in the
Z registers.
gcc/
PR target/112930
* config/aarch64/aarch64.cc
(aarch64_sme_mode_switch_regs::add_reg):
Force specific SVE modes for single registers as well as
structures.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/112930] gcc.target/aarch64/sme/call_sm_switch_7.c ICEs on aarch64_be
2023-12-09 2:11 [Bug target/112930] New: gcc.target/aarch64/sme/call_sm_switch_7.c ICEs on aarch64_be pinskia at gcc dot gnu.org
` (2 preceding siblings ...)
2023-12-10 19:46 ` cvs-commit at gcc dot gnu.org
@ 2023-12-10 19:56 ` rsandifo at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: rsandifo at gcc dot gnu.org @ 2023-12-10 19:56 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112930
Richard Sandiford <rsandifo at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #4 from Richard Sandiford <rsandifo at gcc dot gnu.org> ---
Fixed.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-12-10 19:56 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-09 2:11 [Bug target/112930] New: gcc.target/aarch64/sme/call_sm_switch_7.c ICEs on aarch64_be pinskia at gcc dot gnu.org
2023-12-09 2:12 ` [Bug target/112930] " pinskia at gcc dot gnu.org
2023-12-09 17:07 ` rsandifo at gcc dot gnu.org
2023-12-10 19:46 ` cvs-commit at gcc dot gnu.org
2023-12-10 19:56 ` rsandifo 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).