On Thu, 2023-12-14 at 15:44 +0800, Jiahao Xu wrote: > The implementation of this patch has some issues. When I compile 521.wrf with > -Ofast -mlasx -flto -muse-movcf2gr, it results in an ICE:
Indeed, creating CCCmode pseudos without a complete movfcc implementation is buggy. This patch needs a complete rework. > during RTL pass: reload > module_mp_fast_sbm.fppized.f90: In function 'fast_sbm.constprop': > module_mp_fast_sbm.fppized.f90:1369:25: internal compiler error: maximum > number of generated reload insns per insn achieved (90) > 1369 | END SUBROUTINE FAST_SBM > | ^ > 0x1207221bf lra_constraints(bool) > ../../gcc/gcc/lra-constraints.cc:5429 > 0x120705a3f lra(_IO_FILE*, int) > ../../gcc/gcc/lra.cc:2442 > 0x1206ac93f do_reload > ../../gcc/gcc/ira.cc:5973 > 0x1206ac93f execute > ../../gcc/gcc/ira.cc:6161 -- Xi Ruoyao <xry...@xry111.site> School of Aerospace Science and Technology, Xidian University