[PATCH] D79322: [FEnv] Small fixes to implementation of flt.rounds

Serge Pavlov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 15 09:45:08 PDT 2020


sepavloff marked an inline comment as done.
sepavloff added inline comments.


================
Comment at: llvm/test/CodeGen/RISCV/flt-rounds.ll:23
+; RV64I-NEXT:    sd ra, 8(sp)
+; RV64I-NEXT:    call __flt_rounds
+; RV64I-NEXT:    ld ra, 8(sp)
----------------
lenary wrote:
> I'm interested to understand how this function is provided. Is it part of `compiler-rt` or `libgcc`, or is it provided another way?
At least musl library provides its implementation: https://git.musl-libc.org/cgit/musl/tree/src/fenv/__flt_rounds.c . Similar implementation exists in glibc.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D79322/new/

https://reviews.llvm.org/D79322





More information about the llvm-commits mailing list