[Bug target/115949] [SH] unrecognized insn in postreload (movsi_ie gets wrong fp reg operand)

2024-09-24 Thread olegendo at gcc dot gnu.org via Gcc-bugs
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.

[Bug target/115949] [SH] unrecognized insn in postreload (movsi_ie gets wrong fp reg operand)

2024-09-15 Thread olegendo at gcc dot gnu.org via Gcc-bugs
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

[Bug target/115949] [SH] unrecognized insn in postreload

2024-07-21 Thread olegendo at gcc dot gnu.org via Gcc-bugs
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

[Bug target/115949] [SH] unrecognized insn in postreload

2024-07-20 Thread olegendo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115949 Oleg Endo changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug target/115949] [SH] unrecognized insn in postreload

2024-07-20 Thread olegendo at gcc dot gnu.org via Gcc-bugs
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

[Bug target/115949] [SH] unrecognized insn in postreload

2024-07-16 Thread olegendo at gcc dot gnu.org via Gcc-bugs
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

[Bug target/115949] [SH] unrecognized insn in postreload

2024-07-15 Thread olegendo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115949 Oleg Endo changed: What|Removed |Added Ever confirmed|0 |1 Target|