On Wed, 2023-10-18 at 09:34 +0800, chenglulu wrote: > > 在 2023/10/17 下午10:24, WANG Xuerui 写道: > > > > On 10/17/23 22:06, Xi Ruoyao wrote: > > > During the review of a LLVM change [1], on LA464 we found that zeroing > > "an" LLVM change (because the word LLVM is pronounced letter-by-letter) > > > a fcc with fcmp.caf.s is much faster than a movgr2cf from $r0. > > Similarly, "an" fcc > > > > > > [1]: https://github.com/llvm/llvm-project/pull/69300 > > > > > > gcc/ChangeLog: > > > > > > * config/loongarch/loongarch.md (movfcc): Use fcmp.caf.s for > > > zeroing a fcc. > > > --- > > > > > > Bootstrapped and regtested on loongarch64-linux-gnu. Ok for trunk? > > Ok!
Pushed r14-4712 with the commit message modified following Xuerui's suggestion. -- Xi Ruoyao <xry...@xry111.site> School of Aerospace Science and Technology, Xidian University