https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114978
--- Comment #15 from chenglulu <chenglulu at loongson dot cn> --- (In reply to Chen Chen from comment #14) > (In reply to Xi Ruoyao from comment #13) > > (In reply to Chen Chen from comment #12) > > > > > No. I used system default gcc. > > > > AOSC backports *many* changes not in upstream GCC 13.2 to their "13.2": > > https://github.com/AOSC-Dev/aosc-os-abbs/tree/stable/core-devel/gcc/01- > > runtime/patches > > > > So the default GCC is simply not GCC 13.2. > > You are correct. The above 13.2 results should be "AOSC system default gcc > 13.2" results. Under AOSC system I recompiled official gcc 13.2 source with > the same parameters except for "--with-tune=la664" (changed to > "--with-tune=la464" since gcc 13.2 does not support "LA664" architecture). > The test results from official gcc 13.2 are following: > > -g -Ofast -march=native : 6.54 (400s) > -g -Ofast -march=native -flto: 6.57 (399s) > -g -Ofast -march=la464 : 6.46 (405s) > -g -Ofast -march=la464 -flto : 6.57 (399s) The data of r13.2 I tested is similar to this. I am currently testing gcc with the AOSC patch.