https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121534
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- The round "inlining" is because it is a builtin and GCC knows about it and the target has a round optab included so this is a riscv specific issue.