LGTM!
Thanks.
在 2022/11/9 下午9:53, Xi Ruoyao 写道:
Use standard name so __builtin_rint{,f} can be expanded to one
instruction.
gcc/ChangeLog:
* config/loongarch/loongarch.md (frint_): Rename to ..
(rint2): .. this.
gcc/testsuite/ChangeLog:
* gcc.target/loongarch/frint.c
Use standard name so __builtin_rint{,f} can be expanded to one
instruction.
gcc/ChangeLog:
* config/loongarch/loongarch.md (frint_): Rename to ..
(rint2): .. this.
gcc/testsuite/ChangeLog:
* gcc.target/loongarch/frint.c: New test.
---
gcc/config/loongarch/loongarch.md