[PATCH] D116694: [RISCV] Add strictfp support for compares.

Jim Lin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 30 23:42:05 PDT 2022


Jim added inline comments.
Herald added subscribers: sunshaoce, pcwang-thead, eopXD, shiva0217, arichardson.
Herald added a project: All.


================
Comment at: llvm/test/CodeGen/RISCV/double-fcmp-strict.ll:205
+; RV64I-NEXT:    sd ra, 8(sp) # 8-byte Folded Spill
+; RV64I-NEXT:    call __ledf2 at plt
+; RV64I-NEXT:    slti a0, a0, 1
----------------
I am not sure that does the exception raise in `__ledf2` ? 
In GCC, it use `__unorddf2` to check either operands is NaN before `__ledf2`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D116694



More information about the llvm-commits mailing list