https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115949
--- Comment #6 from Oleg Endo ---
I've tried this on the devel/sh-lra branch with
sh-elf-gcc -c -O3 -m4-single -mfsrra -mfsca -ffast-math
The issue still persists.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115949
--- Comment #5 from Oleg Endo ---
This issue seems to be popping up quite often when the fsca insn is utilized
(via the sincos pattern). That's the only insn which uses a `v2sf` (
vec2 ) and I suspect that something's going wrong there when it
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115949
--- Comment #4 from Oleg Endo ---
The issue seems to be that the 'movsi_ie' pattern allows 'mem(reg+disp) <->
fp-reg' load/stores through the predicates 'general_movdst_operand' and
'general_movsrc_operand' but then disallows it via the constrai
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115949
Oleg Endo changed:
What|Removed |Added
See Also||https://gcc.gnu.org/bugzill
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115949
--- Comment #2 from Oleg Endo ---
Created attachment 58716
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58716&action=edit
another reproducer
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115949
--- Comment #1 from Oleg Endo ---
With -mlra on GCC 12 we get the following error:
internal compiler error: maximum number of generated reload insns per insn
achieved (90)
177 | }
| ^
0xb86282 lra_constraints(bool)
../../gcc/gcc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115949
Oleg Endo changed:
What|Removed |Added
Ever confirmed|0 |1
Target|